Rodrigo Veiga
· 4 previous affiliations
- University of NottinghamSince 2025
- Assistant Professor · Since 2025
- Postdoctoral Researcher · 2022–2025
- Visiting PHD Student · 2021–2022
- Universidade de São Paulo2010–2022
- PhD student · 2017–2022
- Master of Science - MS, Physics · 2010–2012
- Primos Materiais para Construção2013–2017
- Administrador financeiro · 2013–2017
Research Overview
Rodrigo Veiga focuses on the theoretical foundations of machine learning, utilizing frameworks from statistical mechanics and high-dimensional statistics to analyze the behavior of complex inference systems. His research primarily addresses the dynamics of stochastic optimization, the generalization properties of neural networks in high-dimensional regimes, and the mathematical underpinnings of generative diffusion models. By characterizing the asymptotic limits where the number of data samples, model parameters, and input dimensions scale together, his work identifies phase transitions and precise learning curves that govern model performance.
Research Trajectory
Veiga’s research trajectory is rooted in theoretical physics, specifically the statistical mechanics of disordered systems. His early work at the University of São Paulo involved the application of density functional theory and the study of Ising models, which provided the methodological basis for his subsequent shift toward machine learning theory. This transition became explicit during his doctoral research, where he began applying statistical physics to analyze the optimization landscapes and generalization errors of neural networks.
In 2022, Veiga’s work focused on the high-dimensional dynamics of Stochastic Gradient Descent (SGD). A significant portion of this effort was dedicated to understanding how shallow, two-layer networks navigate non-convex landscapes. By examining the interplay between learning rates, time scales, and the number of hidden units, he contributed to mapping the "phases" of learning, distinguishing between regimes of global convergence and those where models remain trapped in poorly generalizing local minima. This period also saw an extension of classical teacher-student perceptron models. While previous literature extensively covered binary classification, Veiga participated in research that derived exact asymptotic formulas for multi-class classification, revealing that certain weight distributions (such as Rademacher weights) induce sudden, first-order phase transitions in generalization performance.
Following his move to EPFL as a postdoctoral researcher, Veiga’s focus shifted toward the analytical tracking of training dynamics. In 2024, he introduced a path-integral framework to solve the stochastic gradient flow for "weak features" models. This work was notable for providing an exact solution to how the inherent noise in SGD modifies the "double descent" generalization curve, a phenomenon where test risk decreases, increases, and then decreases again as model complexity grows. This research moved beyond static snapshots of model performance to provide a continuous temporal account of how risk evolves throughout the training process.
Most recently, as an Assistant Professor at the University of Nottingham, Veiga has concentrated on the theoretical limits of generative diffusion models. This work addresses the tension between generalization (learning the underlying distribution) and memorization (simply reproducing training data). By parameterizing score functions with random features and analyzing them in the high-dimensional limit, he has identified the specific conditions—such as the number of noise samples used during training—that dictate whether a diffusion model successfully generalizes or falls into a "copy-paste" regime.
Current Directions
Veiga’s current research is centered on two primary pillars: the refinement of diffusion model theory and the analysis of manifold-structured data. In the realm of generative modeling, he is investigating the time-reversed dynamics of diffusion processes to understand how models transition between distinct dynamical regimes. This includes calculating "speciation" and "collapse" transition times, which are critical for understanding how generative models resolve or fail to resolve the underlying structure of the data they are trained on.
Furthermore, he is exploring the behavior of these models when applied to data that does not follow a simple Gaussian distribution but instead lies on lower-dimensional manifolds. This involves computing transitions for manifold models where data is represented as a mixture of Gaussians embedded in a higher-dimensional space. This direction aims to bridge the gap between idealized theoretical models and the structured, high-dimensional data encountered in practical machine learning applications.
Representative Work
Phase diagram of Stochastic Gradient Descent in high-dimensional two-layer neural networks In this first-author paper presented at NeurIPS 2022, Veiga provides a rigorous theoretical map for the behavior of SGD in shallow networks. The study operates in the high-dimensional limit where the number of inputs, hidden units, and the learning rate scale concurrently. The research identifies distinct phases of learning and investigates the cross-over between the mean-field/hydrodynamic regime and the classic approach of Saad and Solla. The work is significant for characterizing how the interplay of architectural parameters and optimization hyperparameters determines whether a network achieves global convergence.
Learning curves for the multi-class teacher–student perceptron As the second author of this 2023 journal publication, Veiga contributed to the first exact theoretical characterization of learning curves for multi-class classification in the high-dimensional teacher-student perceptron model. The paper bridges the gap between binary classification theory and modern multi-class practice. The analysis reveals a first-order phase transition in learning and demonstrates that regularized cross-entropy minimization performs remarkably close to the theoretical Bayes-optimal limit, providing a rigorous justification for the use of standard loss functions in high-dimensional settings.
Stochastic Gradient Flow Dynamics of Test Risk and its Exact Solution for Weak Features In this 2024 ICML paper, Veiga serves as the lead author, introducing a path-integral framework to analytically track the evolution of test risk. The study focuses on the "weak features" model and provides an exact solution for the dynamics of the test risk throughout the training process. This work is particularly relevant for its characterization of how stochasticity in the gradient flow influences the double descent phenomenon, offering a more granular view of generalization than traditional static analyses.
Denoising Score Matching with Random Features: Insights on Diffusion Models from Precise Learning Curves As the first author of this 2025 work, Veiga develops a theoretical framework to analyze the trade-off between generalization and memorization in diffusion models. By deriving precise learning curves for Denoising Score Matching (DSM), the paper demonstrates that the number of noise samples per data sample ($m$) is a critical hyperparameter. The research shows that $m$ can either facilitate the learning of the underlying distribution or inadvertently cause the model to memorize the training set, providing a theoretical basis for tuning generative training protocols.
Analysis of Diffusion Models for Manifold Data In this 2025 paper, Veiga (as second author) extends the analysis of generative diffusion models to manifold-structured data. The study computes the transitions between distinct dynamical regimes—specifically speciation and collapse—for a model where data consists of a mixture of lower-dimensional Gaussians. The work provides analytical tools to understand how the ratio of manifold-to-ambient space dimensions affects the time-reversed dynamics of the diffusion process, contributing to the understanding of how generative models handle structured data.
Denoising Score Matching with Random Features: Insights on Diffusion Models From Precise Learning Curves Published in 2026, this work (where Veiga is the second author) further investigates the mechanisms of memorization in diffusion models. The authors derive asymptotically precise expressions for both test and train errors under a random features parameterization. The study identifies specific regimes of generalization and memorization, shedding light on how model complexity and dataset size interact with the denoising process to determine the final quality of the generative model.
Profile updated
| Paper | Venue | Year |
|---|---|---|
| Learning curves for the multi-class teacher-student perceptronGitHubrodsveiga/ | Mach. Learn. Sci. Technol | 2023 |
| Phase diagram of Stochastic Gradient Descent in high-dimensional two-layer neural networksGitHubrodsveiga/ | NeurIPS | 2022 |
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