Rui Yuan
· 7 previous affiliations
- Lexsi LabsSince 2025
- AI Research Scientist · Since 2025
- Lexsi.aiSince 2025
- Researcher · Since 2025
- Stellantis (Netherlands)2023–2025
- Researcher · 2023–2025
- Télécom Paris2018–2023
- PhD student · 2019–2023
- Research Intern in Data Science · 2018
- Meta (United States)2019–2022
- PHD Student · 2019–2022
- École Polytechnique2012–2018
- Master of Science - MS, Data Science · 2017–2018
- MS student · 2015–2016
- Undergrad student · 2012–2015
- ENS Paris-Saclay2015–2016
- Master of Science (MSc), Mathematics, Computer Vision and Machine Learning · 2015–2016
Research Overview
Rui Yuan focuses on generative AI, human preference alignment, and the optimization foundations of reinforcement learning (RL). Currently an AI research scientist at Stellantis, Yuan’s work bridges the theoretical analysis of stochastic optimization and the practical deployment of large-scale machine learning models. His research trajectory has evolved from developing sketched second-order methods for large-scale nonlinear equations to establishing convergence guarantees for policy gradient methods, and most recently, investigating the mechanisms of in-context learning and credit assignment in large language models (LLMs).
Research Trajectory
Yuan’s early research was grounded in the Unified Theory of Stochastic Gradient Methods, specifically focusing on the efficiency of second-order optimization in high-dimensional settings. In 2020, he introduced methods to solve large-scale nonlinear equations by applying sketching techniques to the Newton-Raphson framework. This work aimed to reduce the computational burden of second-order methods while maintaining global convergence, providing a scalable alternative for training generalized linear models and other fundamental machine learning structures.
By 2021, Yuan shifted his focus toward the theoretical underpinnings of reinforcement learning, specifically addressing Global Convergence in Non-Convex Reinforcement Learning. While policy gradient methods like REINFORCE had seen widespread empirical success, their theoretical convergence properties remained poorly understood due to the non-convex nature of the RL objective. Yuan contributed to this area by adapting tools from non-convex stochastic gradient descent (SGD) analysis to the RL setting. He introduced the "ABC assumption"—a generalized framework for bounding the variance of gradient estimators—which allowed for a more flexible analysis of vanilla policy gradient methods under various noise conditions.
In 2022 and 2023, Yuan’s work deepened the understanding of the Geometry Aware Policy Optimization. He investigated how the choice of policy parameterization and the geometry of the policy space influence convergence rates. This period of his research was characterized by a move toward achieving linear convergence—the "gold standard" of optimization—in RL. He demonstrated that Natural Policy Gradient (NPG) methods could achieve linear convergence with log-linear policies without requiring explicit entropy regularization. This work contributed significantly to the Global Optimality of Policy Gradient and Actor Critic Algorithms by providing finite-time analysis for algorithms that were previously understood primarily through asymptotic lenses.
Following his PhD, which was a joint program between Meta AI and Télécom Paris, Yuan transitioned into the field of generative AI. His recent work (2024–2026) examines the internal mechanics of LLMs, particularly how they perform in-context learning (ICL). He has explored the hypothesis that self-attention layers in Transformers act as implicit gradient descent optimizers, while also developing new methods for credit assignment in reasoning tasks. This shift represents an evolution from pure optimization theory to the application of those principles in aligning and refining the behavior of complex generative systems.
Representative Work
Sketched Newton-Raphson In this 2020 paper, Yuan and his collaborators proposed a new family of stochastic second-order methods designed for large-scale nonlinear equations. The core contribution is the Sketched Newton-Raphson (SNR) method, which utilizes sketching—a dimensionality reduction technique—to approximate the Jacobian matrix. By re-framing optimization problems as systems of nonlinear equations, the authors showed that SNR could be applied to generalized linear models (GLMs) to create scalable, competitive optimization algorithms. This work established Yuan’s early interest in bridging the gap between classical numerical analysis and modern large-scale machine learning.
A general sample complexity analysis of vanilla policy gradient Published in 2022, this work addresses the lack of unified convergence guarantees for vanilla policy gradient (PG) methods. Yuan introduced the "ABC assumption," which bounds the second moment of the estimated gradient using three components: a term proportional to the suboptimality gap (A), a term proportional to the norm of the full batch gradient (B), and an additive constant (C). This framework is more general than previous assumptions in the literature, such as the constant variance or strong growth conditions. By applying this assumption, the paper provides sample complexity guarantees for REINFORCE and GPOMDP, showing how these "workhorse" algorithms behave in non-convex landscapes.
Linear Convergence of Natural Policy Gradient Methods with Log-Linear Policies In this 2022 study, Yuan investigated the convergence rates of Natural Policy Gradient (NPG) and Q-NPG methods within the context of infinite-horizon discounted Markov Decision Processes (MDPs). By utilizing the compatible function approximation framework, he demonstrated that these methods could be viewed as versions of policy mirror descent. The paper’s primary contribution is the proof that NPG with log-linear policies achieves linear convergence using a simple, non-adaptive geometrically increasing step size. This result was notable for achieving fast convergence without the common requirement of adding entropy or other strongly convex regularization terms to the objective.
A Novel Framework for Policy Mirror Descent with General Parameterization and Linear Convergence This 2023 paper introduced Approximate Mirror Policy Optimization (AMPO), a framework designed to justify the use of complex function approximators, such as neural networks, in RL. While previous theoretical work often focused on the tabular setting, Yuan and his co-authors developed a framework that accommodates general parameterizations. By choosing different mirror maps, the framework can recover existing policy classes (like softmax) or generate new ones. The authors provided the first theoretical guarantee of linear convergence for policy-gradient-style methods using general parameterizations, bridging a significant gap between RL theory and the practical use of deep neural networks.
The Initialization Determines Whether In-Context Learning Is Gradient Descent Accepted by TMLR in 2025, this work investigates the striking ability of LLMs to learn from examples provided in a prompt. Previous research had suggested that linear self-attention (LSA) is equivalent to a single step of gradient descent. Yuan and his collaborators refined this understanding by showing that this connection is highly dependent on the initialization of the model and the nature of the attention heads. They demonstrated that under more realistic conditions—such as multi-head attention and non-zero initialization—self-attention performs an optimization-like inference that is related to, but distinct from, standard gradient descent. This work provides a more nuanced view of the "mechanistic interpretability" of Transformers.
Counterfactual Credit Assignment for Policy Optimization In this 2026 paper, Yuan participated in the development of a new approach to credit assignment for language model reasoning. Standard policy gradient methods often assign uniform credit to all tokens in a sequence, which is inefficient for complex reasoning where only specific "spans" (like a critical calculation) determine the correctness of the output. The proposed method, counterfactual importance weighting, masks specific reasoning spans and measures the resulting shift in the model's probability distribution. This allows the algorithm to upweight critical tokens during updates without requiring external annotations or auxiliary models. Experiments on the Qwen and Llama model families showed consistent improvements in mathematical reasoning tasks.
Current Directions
Yuan’s current research at Stellantis continues to focus on the intersection of optimization and generative AI. A primary area of interest is human preference alignment, where he applies his background in reinforcement learning to refine how models are tuned to follow complex human instructions. This involves scaling RL from human feedback (RLHF) and exploring more efficient alternatives to standard PPO-based alignment.
Additionally, he remains active in the study of large-scale stochastic optimization, particularly in how optimization dynamics change when models are scaled to billions of parameters. His work on in-context learning suggests a continued interest in the "optimization-as-inference" paradigm, where the forward pass of a model is analyzed as the solution to an underlying optimization problem. This perspective is central to his efforts in making generative models more interpretable and controllable in production environments.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake