Nicolas Flammarion
· 4 previous affiliations
- École Polytechnique Fédérale de LausanneSince 2019
- Associate Professor · Since 2026
- Assistant Professor · 2019–2026
- Postdoc · 2017–2019
- École Normale Supérieure - PSL2014–2017
- PhD student · 2014–2017
- PhD student · 2014–2017
Research Overview
Nicolas Flammarion focuses on the theoretical foundations of machine learning, optimization algorithms, and the mechanics of large language models. His trajectory spans early work in accelerated stochastic optimization to deep investigations into the implicit bias of gradient descent. Most recently, his research addresses the internal mechanisms of transformers, in-context learning, and the adversarial robustness of aligned generative models.
Research Trajectory
Flammarion’s early research concentrated on the mathematical properties of optimization algorithms, particularly in stochastic settings. He explored the area of Robust Accelerated Optimization with Inexact Stochastic Oracles, demonstrating how accelerated gradient descent and heavy-ball methods can be reformulated as second-order difference equations in From Averaging to Acceleration, There is Only a Step-size. Building on this foundation, he contributed to Harder, Better, Faster, Stronger Convergence Rates for Least-Squares Regression, which presented an algorithm achieving optimal prediction error rates for least-squares regression under stochastic oracle constraints.
Around 2020, his focus expanded to include the security and evaluation of machine learning models. In the research direction of Black-Box Adversarial Optimization via Derivative-Free Search, he participated in the development of Square Attack: A Query-Efficient Black-Box Adversarial Attack via Random Search, a score-based method that bypasses gradient masking through randomized search. To address the broader challenge of evaluating model security, he also collaborated on RobustBench: a standardized adversarial robustness benchmark, providing a systematic framework for tracking progress in the field.
Concurrently, Flammarion investigated the theoretical mysteries of overparameterized neural networks, specifically how training algorithms naturally select generalizing solutions. His work in the area of Sparse Recovery through Overparameterization and Small Initialization includes Implicit Bias of SGD for Diagonal Linear Networks: a Provable Benefit of Stochasticity, which characterized the continuous-time dynamics of stochastic gradient flow to show that slower convergence can improve generalization. He further explored this phenomenon in Label noise (stochastic) gradient descent implicitly solves the Lasso for quadratic parametrisation. Advancing the broader direction of The Implicit Bias of Stochastic Gradient Noise, he oversaw research demonstrating that the noise inherent in large learning rates actively sparsifies network features, as detailed in SGD with Large Step Sizes Learns Sparse Features.
In a distinct application of statistical learning theory, he contributed to the field of Adaptive Measurement Strategies for Quantum State Tomography with Quantum Channel Certification with Incoherent Measurements, establishing optimal sample complexity bounds for verifying quantum gates using practical measurement strategies.
Returning to core machine learning theory, his subsequent work addressed complex dependencies and feedback mechanisms. He established non-asymptotic sample complexity bounds for autoregressive models in Long-Context Linear System Identification. Additionally, he investigated how preference feedback alters learning dynamics, proving in Learning Parametric Distributions from Samples and Preferences that deterministic preferences can accelerate parameter estimation by reframing it as a constraint-satisfaction problem.
The most recent phase of Flammarion’s trajectory heavily emphasizes the mechanics and alignment of large language models and transformer architectures. He has investigated the phased training dynamics of transformers, showing in Learning In-context n-grams with Transformers: Sub-n-grams Are Near-Stationary Points how simpler models act as traps in the loss landscape. He also explored the specific circuits enabling in-context learning; Selective Induction Heads: How Transformers Select Causal Structures in Context introduced a framework for understanding how transformers dynamically identify causal lags, while Induction Heads Interpolate N-Grams provided a mechanistic explanation of how these circuits implement classical statistical smoothing. Further probing the algorithms underlying in-context learning, he co-authored Transformers Learn Latent Mixture Models In-Context via Mirror Descent.
Beyond internal mechanics, Flammarion has evaluated the practical capabilities and vulnerabilities of deployed models. He analyzed the limitations of in-context learning compared to instruction fine-tuning in Is In-Context Learning Sufficient for Instruction Following in LLMs?. His work on model security continued with Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks, which demonstrated the fragility of current alignment techniques against tailored search methods. Finally, he participated in assessing the reasoning capabilities of multimodal architectures, contributing to In- and Out-of-Distribution Generalization of Reasoning in Multimodal LLMs for Simple Visual Planning Tasks, which highlighted the benefits of algorithmic text-based training over raw visual inputs for out-of-distribution generalization.
Current Directions
The most recent papers in the evidence indicate a strong focus on the theoretical and mechanistic understanding of transformer architectures and large language models. Current work investigates the internal circuits that enable in-context learning, such as induction heads, and models their behavior through the lens of classical statistical smoothing and optimization algorithms like mirror descent. Additionally, recent research addresses the practical alignment and robustness of these models, exploring the limits of in-context learning for instruction following, the acceleration of learning through preference feedback, and the persistent vulnerabilities of safety-aligned generative models to adaptive adversarial attacks.
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