Michael Hanna

Michael Hanna

University of Amsterdam
6 previous affiliations
17Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Michael Hanna focuses on the mechanistic interpretability and cognitive evaluation of large language models. His research bridges cognitive science and machine learning to understand how neural architectures process linguistic phenomena and execute complex reasoning. Recently, his work investigates the internal circuitry of transformers, exploring how latent planning and mathematical abilities emerge at scale.

Research Trajectory

As a researcher affiliated with the University of Amsterdam, Hanna’s early investigations evaluated the linguistic and cognitive capabilities of transformer models. He began by examining how models encode semantic hierarchies, demonstrating in Analyzing BERT's Knowledge of Hypernymy via Prompting that performance on "is-a" relationships is highly dependent on specific prompt structures and degrades significantly on less common vocabulary. Recognizing the limitations of purely observational probing, he shifted toward causal interventions to determine which internal representations actively drive model behavior. In The Functional Relevance of Probed Information: A Case Study, he analyzed subject-verb agreement, showing that while number information is distributed across many tokens, only a specific subset is functionally relevant for the model's actual predictions.

Continuing at the intersection of cognitive science and natural language processing, he explored how models handle implicit semantic constraints. In When Language Models Fall in Love: Animacy Processing in Transformer Language Models, he investigated whether text-only models develop human-like sensitivities to animacy—a fundamental cognitive property often expressed indirectly through selectional constraints on verbs. This study contributed to the research direction of Why Better Language Models Predict Human Reading Worse, examining how artificial neural networks align with human cognitive processing.

In 2023, Hanna's focus deepened into mechanistic interpretability, aiming to reverse-engineer the specific subgraphs, or "circuits," responsible for model behaviors. He detailed the internal mechanisms of mathematical reasoning in How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model. This work advanced the area of Projecting Intermediate Transformer States to the Vocabulary Space and provided structural insights into the broader field of How Attention Heads Specialize into Algorithmic Circuits.

As the field of mechanistic interpretability matured, Hanna addressed critical methodological challenges in circuit discovery. He introduced the EAP-IG method in Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanisms, arguing that circuit-finding techniques must be evaluated on their causal faithfulness to model behavior rather than mere structural overlap with previously known circuits. This methodological contribution supports the broader area of Evaluating the Faithfulness of Machine Learning Explanations. With collaborators, he then investigated how these internal mechanisms evolve during the training process. The study LLM Circuit Analyses Are Consistent Across Training and Scale demonstrated that circuits identified in smaller or partially trained models often remain valid in larger, fully trained counterparts. This finding is central to the research direction of Mechanistic Circuits and the Challenge of Model Scale and intersects with work in the area of Automated Circuit Discovery via Edge Attribution Patching.

To make these interpretability techniques more accessible to the research community, he developed open-source tooling. In Circuit-Tracer: A New Library for Finding Feature Circuits, he presented an integrated Python pipeline designed for identifying, visualizing, and intervening on feature circuits, further supporting research into the causal mechanisms of language models.

Moving into 2025 and 2026, Hanna's research has increasingly focused on the complex reasoning capabilities of language models, particularly the phenomenon of latent planning. In (How) Do LLMs Plan in One Forward Pass?, he proposed a stringent definition for planning during generation, using circuit analysis to demonstrate that models possess internal features that causally influence both a planned-for concept and the preceding context that licenses it. He expanded on this foundation in Latent Planning Emerges with Scale, investigating how these structured generation abilities develop as models grow larger and more capable. Additionally, Hanna participated in research demonstrating how mechanistic insights into internal representations can directly guide model training: in Neural Geometry as a Learning Signal, the authors showed that supervising the low-dimensional geometric structure of internal activations—without supervising output tokens—can achieve performance comparable to standard fine-tuning on algorithmic tasks.

Current Directions

The most recent work in the evidence investigates the advanced reasoning and latent planning capabilities of large language models. Rather than treating text generation as a purely reactive, token-by-token process, this research explores how models form internal representations of future concepts and adjust their immediate outputs to accommodate those upcoming tokens. A major open problem in this domain is understanding how these planning mechanisms emerge and evolve as model scale increases. To address these questions, current efforts leverage mechanistic interpretability tools—such as sparse autoencoders and circuit analysis—to identify the causal features steering structured, long-form generation and to map the precise internal pathways that enable complex reasoning in single forward passes.

Profile updated

See something wrong? Report a mistake