Mufan Li
· 3 previous affiliations
- University of WaterlooSince 2025
- Assistant Professor · Since 2025
- Princeton University2023–2025
- Postdoc · 2023–2025
- University of Toronto2017–2023
- PhD student · 2017–2023
Research Overview
Mufan Li focuses on the theoretical foundations of deep learning, specifically the scaling limits of large neural networks, the dynamics of training, and the convergence properties of sampling algorithms. His work employs tools from stochastic calculus, partial differential equations, and functional analysis to characterize how neural architectures behave as their depth and width grow and how optimization algorithms like Langevin diffusion navigate non-convex landscapes. Currently, Li investigates the necessity of specific architectural components in sequence modeling and the transferability of hyperparameters across varying network scales.
Research Trajectory
Li’s early research was primarily concerned with the mathematical analysis of sampling and optimization algorithms, with a specific focus on Langevin diffusion. In 2020, he explored non-convex optimization on manifolds, proposing a Riemannian Langevin Algorithm for Solving Semidefinite Programs. This work established convergence guarantees to the Gibbs distribution under logarithmic Sobolev inequalities, demonstrating that Langevin-based methods could effectively handle the non-convex objectives found in Burer-Monteiro approaches to semidefinite programming. He followed this with an investigation into the Higher Order Generalization Error for First Order Discretization of Langevin Diffusion, where he provided smoothness conditions under which first-order methods could achieve improved runtime complexity for expected generalization error. This period also included collaborative work on the Analysis of Langevin Monte Carlo from Poincaré to Log-Sobolev, which refined the understanding of how continuous-time diffusion processes converge to stationary distributions.
Around 2021, Li’s focus shifted toward the "infinite-depth-and-width" limit of neural networks. While traditional Bayesian neural network theory often relies on the infinite-width limit (where networks converge to Gaussian Processes), Li identified that this approximation often fails as depth increases. In The future is log-Gaussian: ResNets and their infinite-depth-and-width limit at initialization, he demonstrated that when depth and width tend to infinity at a constant ratio, ReLU ResNets converge to a log-Gaussian process rather than a standard Gaussian process. This finding provided a more accurate theoretical framework for modern deep architectures.
This trajectory led to a deeper exploration of how to maintain signal propagation in extremely deep networks. Li introduced the concept of "shaping" activations and weights to prevent numerical instability. In The Neural Covariance SDE: Shaped Infinite Depth-and-Width Networks at Initialization, he utilized stochastic differential equations (SDEs) to model the accumulation of microscopic layer-to-layer fluctuations, offering a more granular analysis than previous infinite-width theories. He further generalized these findings in Differential Equation Scaling Limits of Shaped and Unshaped Neural Networks, showing that both shaped architectures and certain unshaped ResNets converge to the same infinite-limit characterizations at initialization.
In 2023 and 2024, Li applied these scaling theories to the Transformer architecture and the practical challenges of hyperparameter tuning. He participated in the development of The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limit, which proposed a theoretical blueprint for Transformers that remain stable without standard normalization layers. He also contributed to research on Depthwise Hyperparameter Transfer in Residual Networks: Dynamics and Scaling Limit, addressing the "hidden tax" of deep learning by enabling the transfer of optimal learning rates across different network depths.
Li’s most recent work as a senior researcher questions the fundamental components of modern sequence models. In the study Is Random Attention Sufficient for Sequence Modeling?, he examined whether the success of Transformers stems from the trainability of attention weights or the inherent structure of the architecture. His findings suggest that attention mechanisms with frozen, random weights can still perform complex tasks, provided the feed-forward components are trained, challenging prevailing assumptions about the necessity of fully learned attention in Large Language Models.
Current Directions
Li’s current research program is centered on three primary pillars: the refinement of scaling limits for complex architectures, the optimization of mean-field dynamics, and the disentanglement of trainable components in sequence models.
A significant portion of his current work involves mean-field Stochastic Differential Equations. He recently participated in research on Sampling from the Mean-Field Stationary Distribution, which established a framework for approximating mean-field limits with finite-particle systems. This work is particularly relevant for optimizing two-layer neural networks and understanding the global convergence of gradient descent in the mean-field regime.
Additionally, Li continues to explore the intersection of continuous-time limits and discrete algorithms. This is evidenced by his work on the Acceleration of Gossip Algorithms through the Euler-Poisson-Darboux Equation, where he proved that accelerated iterations on lattices converge to damped wave equations. This line of inquiry suggests a broader interest in using partial differential equations to design and analyze decentralized optimization methods.
Representative Work
The future is log-Gaussian: ResNets and their infinite-depth-and-width limit at initialization This paper challenges the standard Gaussian Process approximation for deep networks. By analyzing the limit where depth and width grow proportionally, Li shows that ResNets exhibit log-Gaussian behavior, providing a theoretical explanation for why standard infinite-width limits may not fully capture the dynamics of deep architectures.
The Neural Covariance SDE: Shaped Infinite Depth-and-Width Networks at Initialization Li develops an SDE-based framework to study the distribution of the random covariance matrix in feedforward networks. The work demonstrates that "shaping" the activation function is essential for maintaining a non-degenerate covariance matrix as depth increases, accounting for layer-to-layer fluctuations that accumulate in deep models.
Is Random Attention Sufficient for Sequence Modeling? As the senior author, Li investigates the role of the self-attention mechanism in Transformers. The study reveals that Transformers with frozen, random key and query weights can achieve significant performance on various tasks, suggesting that the architectural inductive bias of attention may be as important as the learned weights themselves.
Riemannian Langevin Algorithm for Solving Semidefinite Programs This work proposes a sampling-based approach to non-convex optimization on manifolds. By applying Langevin diffusion to the Burer-Monteiro formulation of semidefinite programs, Li provides theoretical guarantees for reaching the global minimum with high probability, bridging the gap between sampling theory and non-convex optimization.
Differential Equation Scaling Limits of Shaped and Unshaped Neural Networks Li provides a unified asymptotic characterization for different neural architectures. He proves that certain unshaped ResNets (with specific scaling factors on residual branches) converge to the same infinite-depth-and-width limits as shaped networks, offering a more general understanding of how architectural choices influence the scaling limit.
The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limit Li contributed to the design of the "Shaped Transformer," an architecture derived from SDE modeling. This model is designed to avoid rank collapse and maintain numerical stability in the infinite-depth limit, providing a theoretical alternative to empirical techniques like LayerNorm for maintaining signal health in Transformers.
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