Mahan Fathi
· 7 previous affiliations
- Nvidia (United States)Since 2025
- Researcher · Since 2025
- Research Assistant at Mila · 2024
- Graduate Student Researcher at Mila · 2021–2024
- Google DeepMind (United Kingdom)2023–2024
- Student Researcher at Google DeepMind · 2023–2024
- Université de Montréal2021–2024
- MS student · 2021–2024
- Master of Science - MS, Computer Science · 2021–2023
- Google (United States)2022–2024
- Researcher · 2023–2024
- Student Researcher at Google Brain · 2022–2023
- Aalto University2019
- Researcher · 2019
- Sharif University of Technology2013–2018
- Master of Business Administration - MBA, Business Administration and Management, General · 2017–2018
- Undergrad student · 2013–2017
Research Overview
Mahan Fathi focuses on the intersection of neural architecture design, the modeling of complex dynamical systems, and the theoretical frameworks governing machine learning generalization. Fathi’s work addresses the challenges of scaling sequence models to long contexts, improving the stability of latent representations in nonlinear systems, and formalizing the relationship between data compression and in-context learning. By combining engineering-focused architectural innovations with information-theoretic analysis, Fathi’s research seeks to understand both the practical mechanisms of efficient computation and the fundamental principles of Algorithmic Simplicity Bias in Universal Induction.
Research Trajectory
Fathi’s research trajectory reflects a progression from the optimization of model architectures for computational efficiency toward a deeper investigation into the mathematical foundations of how these models learn and generalize. This evolution began with a focus on the structural limitations of existing sequence models, particularly the trade-offs between the parallelizable but memory-intensive Transformer architecture and the efficient but sometimes less expressive State Space Models (SSMs).
In 2023, Fathi contributed to the development of hybrid architectures designed to reconcile these trade-offs. This work emphasized the need for models that could maintain long-range memory without the quadratic computational costs associated with standard attention mechanisms. By integrating SSMs with block-based Transformer structures, this phase of research prioritized scalability and the ability to process sequences significantly longer than those handled by contemporary models.
Following this focus on architecture, Fathi’s work shifted toward the representation of dynamical systems. In 2024, as a primary investigator, Fathi addressed the problem of "drift" in latent space representations. This research moved into the domain of Koopman theory, which seeks to represent nonlinear dynamics through linear operators in a higher-dimensional space. Fathi’s contributions here were centered on inference-time corrections to ensure that these representations remain grounded over long temporal horizons, preventing the accumulation of errors that typically degrade the performance of autonomous dynamical models.
Most recently, in 2025, Fathi’s work has moved into the theoretical domain, exploring the mechanisms of Addressing Overfitting in Few-Shot Learning. This research participates in the ongoing effort to explain why large language models (LLMs) exhibit the ability to learn new tasks from a few examples without explicit parameter updates. By linking the objective of next-token prediction to principles of algorithmic information theory, this work suggests that the success of in-context learning is tied to a mathematical preference for simplicity, effectively formalizing Occam’s Razor within the context of modern neural networks.
Current Directions
Fathi’s current research is increasingly concerned with the formalization of learning as a form of data compression. This direction explores the hypothesis that the generalization capabilities of deep learning models are not merely a byproduct of large-scale training but are rooted in the mathematical equivalence between minimizing prediction error and minimizing model complexity.
A central theme in this current work is the application of prequential coding to understand in-context learning. By viewing the sequence of tokens in a prompt as a data stream to be compressed, Fathi’s research investigates how models identify the most parsimonious explanations for the patterns they encounter. This approach aims to provide a more rigorous foundation for few-shot learning, moving beyond empirical observations of "emergent" abilities toward a predictive theory of model behavior based on algorithmic information theory.
Furthermore, Fathi continues to explore the practical implications of these theories for dynamical systems. The goal is to create models that are not only computationally efficient but also theoretically grounded in their ability to maintain stable, simple representations of complex, real-world phenomena.
Representative Work
The following papers represent the core of Fathi’s contributions to the field, illustrating the transition from architectural engineering to theoretical analysis.
In Block-State Transformers (2023), Fathi participated in the design of a hybrid model (BST) that integrates the long-range dependency modeling of State Space Models with the local processing power of Block Transformers. The research addressed the "memory bottleneck" in Transformers by replacing standard sequential recurrences with parallelizable SSM layers. This architectural shift allowed the model to achieve a significant increase in processing speed while maintaining the ability to generalize to sequences of up to 65,000 tokens, demonstrating a viable path for scaling language models to much larger contexts than previously possible.
As the lead author of Course Correcting Koopman Representations (2024), Fathi introduced a method called "Periodic Reencoding" to solve a persistent issue in the modeling of nonlinear dynamical systems. While Koopman autoencoders attempt to map complex dynamics into a linear latent space, they often suffer from "trajectory crossing" and long-term drift, where the model’s predictions diverge from reality over time. Fathi’s work demonstrated that by periodically decoding the latent state back into the original data space and then re-encoding it, the model could "reset" its trajectory and maintain accuracy over extended periods. This research provided a simple yet effective mechanism for stabilizing linear representations of complex systems.
In In-Context Learning and Occam's Razor (2025), Fathi contributed to a theoretical study that links the next-token prediction objective used in training LLMs to the principle of prequential coding. The paper provides a mathematical proof that when a model minimizes its prediction error on a sequence, it is also implicitly minimizing a combination of its training error and its own complexity. This finding suggests that in-context learning is a manifestation of a fundamental simplicity bias, explaining why models can generalize effectively from very few examples. This work helps bridge the gap between empirical deep learning and the classical theory of universal induction.
Profile updated
| Title | Venue | Year |
|---|---|---|
| Sparse Koopman Autoencoders Identify Local Dynamical Regimes in Multibasin Systems | arXiv | 2026 |
| In-Context Learning and Occam's Razor | ICML | 2025 |
| Course Correcting Koopman Representations | ICLR | 2024 |
| Block-State Transformers | NeurIPS | 2023 |
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