Kwangjun Ahn
· 2 previous affiliations
- Microsoft (United States)Since 2024
- Researcher · Since 2024
- PhD student · 2019–2024
Research Overview
Kwangjun Ahn focuses on the theoretical foundations of machine learning, specifically the optimization dynamics of large-scale models, the implicit bias of iterative algorithms, and the mechanistic underpinnings of Transformer architectures. His work bridges high-dimensional statistics and optimization theory to explain how complex models like Transformers learn from data, how they implement in-context learning, and how their training dynamics relate to the geometry of the loss landscape.
Research Trajectory
Ahn’s early research, beginning around 2018, was situated in the domain of high-dimensional statistics and network science. This period was characterized by an investigation into Global Initialization and Local Refinement for Latent Structure Recovery, where he sought to quantify the fundamental limits of recovering hidden structures in noisy data. A primary focus during this time was the integration of side information—such as social graphs—into estimation problems to improve sample complexity.
By 2020, Ahn’s focus shifted toward fundamental questions in optimization theory, particularly the convergence properties of stochastic algorithms used in practice. He contributed to the understanding of Theoretical Foundations of Last-Iterate Stochastic Convergence, moving away from the mathematically convenient but practically rare "averaging" techniques toward analyzing the final point reached by an algorithm. During this phase, he also explored the nuances of data sampling, specifically Single Shuffle Training for Stochastic Optimization, which examines the "without-replacement" sampling methods used in nearly all modern deep learning pipelines.
Concurrently, Ahn investigated the intersection of optimization and probabilistic modeling. This included work on Eliminating Discretization Bias in Diffusion and Langevin Sampling, where he addressed the gap between continuous-time stochastic differential equations and their discrete-time algorithmic implementations. He also worked on Mirror Maps for Constrained Sampling and Generative Modeling, extending these sampling techniques to non-Euclidean spaces and constrained domains.
In 2022, Ahn initiated a formal study into The Sample Complexity of Algorithmic Replicability. This work addressed the growing concern that different runs of the same learning algorithm on similar datasets could produce wildly different models, establishing theoretical limits on how much computation is required to ensure reproducible outcomes.
Since 2023, Ahn’s work has increasingly centered on the Transformer architecture. He has developed theoretical frameworks to explain In-Context Learning (ICL) and the optimization challenges unique to attention-based models. This recent trajectory emphasizes the use of simplified models—such as linearized Transformers—to isolate and analyze the complex training dynamics observed in large-scale language models.
Current Directions
Ahn’s current research explores the internal mechanisms and structural biases of Transformers. One major direction involves characterizing how Transformers represent information and plan over long horizons. This includes investigating "belief states"—compact representations that link past context to future predictions—and how self-supervised objectives can force models to learn consistent world models.
Another significant area of current focus is the geometry of the loss landscape in deep learning. Ahn is investigating the "flatness" of minima and how random perturbations during training allow models to escape sharp regions that generalize poorly. He is also critically re-evaluating common assumptions in the field, such as the idea that Stochastic Gradient Descent (SGD) occurs primarily within a tiny "dominant subspace" of the Hessian. His recent findings suggest that the actual learning may occur in the broader "bulk" subspace, challenging prevailing theories of low-dimensional training dynamics.
Representative Work
Binary Rating Estimation with Graph Side Information In this 2018 work, Ahn provides a theoretical quantification of the value of graph side information in user rating estimation. By considering a correlation model between a rating matrix and a graph (such as a social network), the paper characterizes the sharp threshold for the number of observed entries required for recovery. This work established a mathematical foundation for why social graphs improve recommendation systems, defining the optimal sample complexity as a function of the graph's quality.
Reproducibility in Optimization: Theoretical Framework and Limits Ahn initiated a formal study of reproducibility in 2022, defining a quantitative measure for how optimization procedures behave under stochastic or noisy operations. The paper establishes tight bounds for various convex settings, revealing a fundamental trade-off: higher reproducibility necessitates increased computational expenditure. This work provides a rigorous framework for understanding the limits of consistency in machine learning optimization.
Transformers learn to implement preconditioned gradient descent for in-context learning This 2023 paper offers a theoretical explanation for the emergent phenomenon of In-Context Learning (ICL). Ahn demonstrates that when trained on linear regression tasks, the weights of a Transformer converge to a state that executes iterations of preconditioned gradient descent. This suggests that Transformers do not merely memorize patterns but actually learn to implement optimization algorithms internally, adapting to the distribution and noise levels of the provided context.
Linear attention is (maybe) all you need (to understand Transformer optimization) Addressing the difficulty of training Transformers, Ahn utilizes a linearized shallow Transformer model to study optimization subtleties. This work shows that even a simplified "toy" model can reproduce the complex training dynamics and heuristic requirements (such as specific optimizers like Adam) seen in full-scale models. This provides a tractable abstraction for theoretical research into why Transformers are notoriously difficult to optimize.
How to Escape Sharp Minima with Random Perturbations In this 2024 study, Ahn investigates the theoretical foundations of Sharpness-Aware Minimization (SAM) and other techniques designed to find "flat" minima. While empirical evidence suggests that flatter regions of the loss landscape generalize better, the theoretical understanding of how algorithms find these regions was previously limited. Ahn provides an analysis of how and how fast random perturbations can drive optimization toward these desirable, high-generalization areas.
Does SGD really happen in tiny subspaces? In this 2024/2025 research, Ahn challenges the popular "dominant subspace" hypothesis, which suggests that gradients in deep learning primarily align with a small number of eigenvectors of the Hessian. By surgically separating updates, the work demonstrates that projecting SGD onto this dominant subspace actually fails to reduce training loss. Instead, the "bulk" subspace—previously thought to be noise—is shown to be where the effective learning occurs, suggesting that the observed alignment in the dominant subspace may be a spurious property rather than a driver of optimization.
Beyond these primary contributions, Ahn has participated in research regarding the acceleration of language model decoding through optimal transport theory and the development of architectures like the Belief State Transformer, which aims to bridge next-token prediction with long-term planning. His recent collaborative work also includes the study of Next-Latent Prediction Transformers Learn Compact World Models, which explores how self-supervised latent predictions can encourage Transformers to learn more generalizable representations of their environment.
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