Riccardo Grazzi
· 5 previous affiliations
- Microsoft (United States)Since 2025
- Researcher · Since 2025
- Italian Institute of Technology2018–2025
- Postdoc · 2023–2025
- PhD student · 2018–2023
- University College London2018–2023
- PhD student · 2018–2023
- Amazon (Germany)2020
- Intern · 2020
- University of Florence2015–2017
- MS student · 2015–2017
Research Overview
Riccardo Grazzi focuses on bilevel optimization, meta-learning, and the architectural capabilities of sequence models. His early work established foundational convergence properties and efficient algorithms for hypergradient computation in hyperparameter optimization. More recently, his research investigates the state-tracking mechanisms and in-context learning abilities of linear recurrent neural networks, alongside methods for efficient model quantization.
Research Trajectory
Grazzi’s early research primarily addressed the theoretical and algorithmic foundations of bilevel optimization, particularly its applications in meta-learning and hyperparameter tuning. In 2018, he contributed to Bilevel Programming for Hyperparameter Optimization and Meta-Learning, which introduced a unifying framework for gradient-based hyperparameter optimization. This work engaged with the broader research direction of Implicit Regularization via Early Stopping and differentiable hyperparameter optimization. Building on this theme, he explored algorithms for inferring task-generalizable learning rules in Learning-to-Learn Stochastic Gradient Descent with Biased Regularization (2019).
A central challenge in bilevel optimization is the efficient and accurate computation of hypergradients. Grazzi conducted several studies analyzing these dynamics, beginning with On the Iteration Complexity of Hypergradient Computation (2020), which investigated parametric fixed-point equations and touched upon the area of temporal warm starting for iterative optimization. He subsequently proposed stochastic approximation schemes for hypergradients in Convergence Properties of Stochastic Hypergradients (2021), providing mean square error bounds for methods applied to large-scale empirical risk minimization.
In 2022, his work expanded into sequential decision-making and time-series analysis. He investigated fairness constraints in Group Meritocratic Fairness in Linear Contextual Bandits, proposing a strict relative-rank fairness notion to address discriminatory bias. This research contributed to several broader areas, including online learning with sublinear fairness regret, the linear memory bottleneck of per-sample state tracking, the exploration fairness tradeoff in sequential learning, and Subgroup Performance Masking in Machine Learning Evaluation. That same year, he developed a hybrid architecture for out-of-sample time series prediction in Meta-Forecasting by combining Global Deep Representations with Local Adaptation, which meta-learned shared recurrent neural network representations designed for exact, closed-form linear adaptation.
Returning to the core mechanics of bilevel optimization, Grazzi challenged prevailing assumptions about algorithmic efficiency in Bilevel Optimization with a Lower-level Contraction: Optimal Sample Complexity without Warm-Start (2023). This paper demonstrated that a double-loop stochastic gradient scheme could achieve optimal sample complexity without the memory-intensive practice of warm-starting the lower-level solver. He continued to refine implicit differentiation techniques in Nonsmooth Implicit Differentiation: Deterministic and Stochastic Convergence Rates (2024).
Starting in 2024, Grazzi’s focus shifted significantly toward the architectural capabilities of emerging sequence models, particularly state-space models and linear recurrent neural networks (RNNs). He systematically evaluated the Mamba architecture's capacity for meta-learning in a pair of related papers, Is Mamba Capable of In-Context Learning? (AutoML 2024) and its expanded preprint Is Mamba Capable of In-Context Learning? (arXiv 2024). These studies provided empirical evidence that Mamba could match Transformer performance on function approximation and natural language tasks. This evaluation intersected with numerous research directions, including standardized multi-task benchmarks for language models, the algorithmic mechanics of in-context learning, implicit gradient descent in Transformer forward passes, linear time sequence modeling with selective state space models, task activation via in context demonstrations, sub-quadratic sequence modeling for long contexts, how model capacity scaling unlocks linguistic nuance, and Generalizing Machine Learning Frameworks Across Network Architectures.
A major theme in his recent work is "state-tracking"—the ability of linear RNNs to maintain and update a sophisticated internal model of sequence history. In 2025, he guided research into the limitations of models like Mamba and GLA in DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products. This research engaged with the areas of norm preserving transitions in recurrent neural networks, the memory bottleneck of fixed-size recurrent states, and non-commutative dynamics for expressive state space models. He further addressed these limitations in Unlocking State-Tracking in Linear RNNs Through Negative Eigenvalues (2025), proving that expanding the eigenvalue range of internal transition matrices to include negative values allows linear RNNs to solve complex tasks like parity and modulo counting. This work contributed to the broader directions of the stability memory tradeoff in recurrent networks and discretizing neural activation spaces into finite state automata. Extending this paradigm, he collaborated on Learning State-Tracking from Code: REPL Traces and Probabilistic Automata (2026), which converted permutation composition tasks into code via REPL traces to better evaluate sequence models in a next-token prediction setting.
Alongside his work on sequence models, Grazzi has also contributed to the efficiency of large language models through post-training quantization. In OptRot: Mitigating Weight Outliers via Data-Free Rotations for Post-Training Quantization (2025), he helped introduce a data-free method that learns rotations to minimize weight incoherence. This publication advanced several research areas, including matrix-free curvature estimation for deep learning, orthogonal rotations for outlier smoothing in quantized models, Zero-Overhead Weight Merging for Efficient Inference, and Outlier Suppression for Low Bit Transformer Quantization.
Current Directions
Grazzi’s most recent work investigates the fundamental capabilities and limitations of linear recurrent neural networks (RNNs) and state-space models. A primary focus is on state-tracking—understanding how architectures like Mamba maintain and update internal representations over long sequences. His recent papers explore structural modifications to these models, such as incorporating Householder products and expanding transition matrices to include negative eigenvalues, to enable complex reasoning tasks like parity calculation and permutation composition. Additionally, he is actively researching methods for evaluating these models using code-based REPL traces in next-token prediction settings. Parallel to his architectural research, he is also exploring data-free post-training quantization techniques to mitigate weight outliers and improve the inference efficiency of large language models.
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