Michael Hahn
· 4 previous affiliations
- Saarland UniversitySince 2022
- Assistant Professor · 2022–2028
- Current
- Stanford University2016–2022
- PhD student · 2016–2022
- University of Edinburgh2015–2016
- Researcher · 2015–2016
- University of Tübingen2010–2015
- MS student · 2014–2015
- Undergrad student · 2010–2015
Research Overview
Michael Hahn focuses on the theoretical foundations of large language models, mechanistic interpretability, and computational cognition. His work investigates the fundamental capabilities and learning biases of transformer architectures by bridging formal language theory with empirical analysis. Recently, he has concentrated on reverse-engineering the internal algorithms of neural networks and establishing rigorous bounds on their reasoning capacities.
Research Trajectory
Hahn’s research frequently addresses the theoretical limits of neural architectures, establishing formal proofs for what modern models can and cannot compute. In Softmax Transformers are Turing-Complete, he demonstrated that standard transformer models equipped with softmax attention possess universal computational power. This theoretical grounding extends into the research direction of The Computational Depth Bottleneck in Transformers and the area of Transformers as Majority Logic Circuits. Building on these formal foundations, he investigated the temporal requirements of language model reasoning in Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers. This work provides a rigorous framework explaining why intermediate computational steps are necessary for complex tasks, contributing to the broader area of Hard Attention for Discrete Algorithmic Reasoning and exploring the research area of The Gap Between Neural Expressivity and Practical Learnability.
To isolate how architectures learn specific structures, Hahn and his collaborators analyze models trained on well-understood formal languages. In Emergent Stack Representations in Modeling Counter Languages Using Transformers, the research demonstrates how transformers develop internal stack-like mechanisms to track counter variables. He has also examined how massive scale interacts with inherent structural limits. The study Born a Transformer -- Always a Transformer? On the Effect of Pretraining on Architectural Abilities reveals that while pretraining imparts strong directional biases for induction, it cannot overcome fundamental architectural bottlenecks in complex retrieval tasks, a finding relevant to the research direction of The Uniqueness Bias in Transformer Architectures.
A major theme in Hahn’s trajectory is mechanistic interpretability—reverse-engineering how models execute tasks at the circuit level. In Contextualize-then-Aggregate: Circuits for In-Context Learning in Gemma-2 2B, he utilized causal interventions to uncover a two-step mechanism where models first build rich representations of individual examples before aggregating them to resolve ambiguity. This focus on in-context learning continued with How Few-Shot Examples Add Up: A Causal Decomposition of Function Vectors in In-Context Learning, which provides a mechanistic explanation for how models synthesize task representations from a handful of demonstrations without parameter updates.
Hahn has also advanced methods for translating neural computations into human-readable formats. Across related publications, including the ICML paper Discovering Interpretable Algorithms by Decompiling Transformers to RASP and the ICLR paper Discovering Interpretable Algorithms by Decompiling Transformers to RASP, his lab developed a pipeline to convert trained transformers into discrete, symbolic programs. This approach demonstrates that models capable of length generalization often implement simple internal algorithms, which can be extracted by pruning redundant computations and matching neural components to symbolic primitives.
His recent work further explores generalization and feature learning. In A Spectral Perspective On Generalization in Transformers, Hahn applied PAC-Bayes theory to the Fourier spectra of target functions, showing how sparse spectra enable flat minima and strong generalization on boolean domains. Concurrently, Understanding the Emergence of Seemingly Useless Features in Next-Token Predictors traces how complex reasoning features develop through long-range signals like pre-caching and circuit sharing, rather than immediate prediction needs.
Expanding the scope of transformer capabilities, Hahn has investigated planning and multi-agent dynamics. On the Ability of Transformers to Verify Plans introduces a formal language to prove the conditions under which transformers can verify AI plans, highlighting persistent challenges in length generalization for general planning. Finally, Benefits and Limitations of Communication in Multi-Agent Reasoning provides a theoretical and empirical foundation for multi-agent systems, proving that structured communication protocols can fundamentally outperform simple majority voting across tasks like state tracking and multi-hop reasoning.
Continuing to delineate the boundaries of transformer generalization, Hahn established an algebraic framework in Algebraic Decomposition Theory for Transformer Length Generalization, extending decomposition theory to the infinite additive group of integers to decide regular language length generalization in polynomial time. In Barriers to Universal Reasoning with Transformers (and How to Overcome them), they addressed The Gap Between Neural Expressivity and Practical Learnability by proving that standard chain-of-thought models cannot length-generalize beyond TC⁰ without dynamic vocabulary strategies such as signpost tokens. In Quantitative Generalization Bounds for Multi-Layer Transformers: A Few Long Strings can Beat Many Short Ones, Hahn formulated joint statistical and length-generalization bounds for fixed-precision transformers, demonstrating that increasing sequence length can provide exponential sample efficiency gains over merely collecting more short sequences. Turning to chain-of-thought monitoring, Hidden Reasoning Must Leak, but Need Not Be Readable: Fundamental Opportunities and Limits for Chain-of-Thought Monitoring proves that covert computations must leak information into reasoning traces once tasks surpass a complexity threshold, though such traces can be cryptographically unreadable. Hahn has also collaborated on computational linguistics research, contributing to Systematicity between Forms and Meanings across Languages Supports Efficient Communication to explore how cross-linguistic form-meaning systematicity underpins communicative efficiency.
Current Directions
Recent work investigates the precise mechanisms by which large language models develop, generalize, and interact. A primary focus is on developmental interpretability and algorithmic extraction, developing methods to decompile neural weights into discrete, human-readable programs to understand how models generalize to longer sequences. Additionally, current research addresses the theoretical limits of transformer generalization, utilizing spectral analysis and formal languages to determine when models can reliably verify complex plans. Finally, this work is expanding into the dynamics of multi-agent reasoning, establishing formal proofs for how structured communication bandwidth and computation time trade off to improve complex problem-solving beyond single-agent capabilities.
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