Portrait of Ricardo Ribeiro

Ricardo Ribeiro

MSc Computer Science and Engineering · Instituto Superior Técnico

I am a Master's student in Computer Science and Engineering at Instituto Superior Técnico, specializing in Artificial Intelligence and Distributed Systems. I hold a Bachelor's degree in Engineering Physics, and my research interests include machine learning, reinforcement learning, AI agents and AI for science.

Previously, I worked on Physical Neural Networks with Noisr, inverse modelling of oxygen plasmas with the ML4Plasmas research group, quantum simulations at GoLP and particle physics analyses through LIP in the CMS Collaboration.

I'm happy to discuss research and potential collaborations.

Research Experience

Noisr · Research Engineer

Developed learning algorithms for electronics-based physical neural networks, contributed to optics-based approaches and prototyped analogue computing architectures. Also implemented statistical tests for physical random-number generators in C++. Our work received the LEFT/MEFT Student Innovation Prize at the IST-Physics Frontier Symposium.

ML4Plasmas · Undergraduate Research Project

Studied inverse estimation of oxygen-plasma reaction-rate coefficients using PyTorch neural networks, investigating input-species selection, model ensembles and noise robustness. Achieved strong predictive performance on noise-free simulation data while identifying sensitivity to noisy inputs as a key limitation. Supervised by Prof. Vasco Guerra and Prof. Rodrigo Ventura.

Code | Report

GoLP · Research Intern

Developed a quantum simulation framework for coupled harmonic oscillators using Hamiltonian encoding and Suzuki-Trotter time evolution. Benchmarked simulations against classical solutions and tested implementations on IBM Quantum and IonQ hardware.

LIP / CMS Collaboration · Research Intern

Built C++/ROOT analysis tools for CMS Run 3 collision data, including likelihood fitting, efficiency corrections and BDT evaluation. Presented research findings within the CMS Collaboration. Additionally contributed to X(3872) studies.

Open-Source Contributions

PyTorch TorchRL · Bug Fix

Contributed a bug fix to PyTorch's TorchRL library, improving a planner that searches for effective actions by testing and refining candidate choices. I found that when the planner kept only one candidate, a statistical calculation produced an undefined value, which led to invalid actions. I corrected the calculation for this case and added regression tests, while preserving the existing behavior when multiple candidates are selected.

Merged PR

Agent-Safety Evaluation: AgentDojo Weighting Analysis

Contributed a merged post-publication research extension to Shortcut Sensitivity in Agent-Safety Evaluations. Investigated the effects of evaluation-unit weighting on AgentDojo lookup metrics using grouped cross-validation, domain holdouts and bootstrap uncertainty analysis. Found that changing the evaluation weighting increased the reported leave-one-domain-out F1 score from 0.495 to 0.537 without changing the underlying predictions.

Merged PR | Code & Results

Projects

Traffic Lights Reinforcement Learning Agent

A tabular reinforcement learning agent for the Traffic Lights strategy game, with opponent curricula, self-play, evaluation baselines and a playable desktop interface.

Code

TrackStudy

A local-first study and research tracker built with Flutter for Windows and Android, with research journaling, weekly planning and optional cross-device synchronization.

Code