Jean-Stanislas Denain

University of California, Berkeley
2 previous affiliations
7Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Jean-Stanislas Denain focuses on the evaluation, interpretability, and scaling of machine learning models, with a particular emphasis on the internal mechanisms of large language models (LLMs) and the statistical measurement of AI progress. His work addresses the reliability of interpretability tools, the ways in which models process contextual information versus internal knowledge, and the development of unified frameworks for benchmarking AI capabilities across disparate testing environments. Currently, he investigates the longitudinal trajectory of AI performance and the relative efficiency of post-training enhancements compared to raw computational scaling.

Research Trajectory

Denain’s research trajectory reflects a transition from foundational probabilistic modeling toward the critical evaluation of neural network internals and, more recently, the macro-level analysis of artificial intelligence as a field. In 2020, his work contributed to the intersection of Bayesian inference and deep learning, specifically addressing the computational bottlenecks in combining Variational Inference (VI) with Markov Chain Monte Carlo (MCMC) methods. This early phase established a focus on the efficiency and expressivity of generative models through the use of normalizing flows.

By 2021, Denain shifted his focus toward the interpretability and structural analysis of neural representations. A significant portion of this work involved questioning the validity of existing metrics used to compare the internal states of different models. He identified inconsistencies in popular measures like Centered Kernel Alignment (CKA) and Canonical Correlation Analysis (CCA), proposing instead a framework grounded in functional behavior. This period was characterized by a skeptical, rigorous approach to "transparency" methods, extending into 2022 with investigations into whether visualization techniques could actually detect anomalous model behaviors, such as backdoors or overregularization.

Starting in 2023, Denain’s research moved into the domain of large language models, specifically examining the tension between a model’s pre-trained knowledge and the influence of few-shot prompts. This work utilized mechanistic interpretability to locate where and when a model decides to follow a potentially false or harmful context over its internal "truth." Simultaneously, he began exploring the economics of AI development, introducing metrics to quantify the value of algorithmic and post-training improvements in terms of compute-equivalent gains.

His most recent work (2024–2025) addresses the "benchmark saturation" problem. As AI models rapidly exceed the difficulty of existing tests, Denain has led efforts to create statistical frameworks that can "stitch" together results from different eras and benchmarks. This shift toward meta-evaluation suggests a current focus on the long-term measurement of progress and the creation of robust, high-difficulty benchmarks for frontier models.

Current Directions

Denain’s current research is centered on two primary pillars: the mechanistic understanding of LLM reasoning and the meta-analysis of AI scaling.

In the realm of mechanistic interpretability, he continues to investigate the internal processing stages of transformers. This involves identifying specific components, such as "induction heads," that govern a model's tendency to prioritize prompt-based patterns over factual accuracy. By isolating these mechanisms, his work aims to provide methods for mitigating "overthinking" or the faithful reproduction of errors found in user-provided demonstrations.

The second pillar involves the development of a "common currency" for AI progress. This includes the creation of unified scales that allow researchers to compare models across different benchmarks and time periods, even when direct head-to-head evaluations are missing. This line of inquiry also explores the "Compute-Equivalent Gain" (CEG), a framework for understanding how much "compute" is saved by advancements in data cleaning, tool-use, and prompting strategies. This work is critical for understanding whether AI progress is driven primarily by hardware scaling or by algorithmic efficiency.

Representative Work

MetFlow: A New Efficient Method for Bridging the Gap between Markov Chain Monte Carlo and Variational Inference In this 2020 contribution, Denain participated in the development of a computationally efficient method to integrate Variational Inference with MCMC. The research introduced MetFlow, a family of MCMC algorithms that utilize normalizing flows for proposals. This approach addressed the limitations of previous hybrid methods by ensuring the marginal distribution remained amenable to the reparameterization trick without requiring expensive reverse-flow computations. This work demonstrated an early interest in increasing the expressivity of variational families while maintaining computational tractability.

Grounding Representation Similarity Through Statistical Testing As a lead author on this 2021 study, Denain introduced a rigorous framework for evaluating the similarity metrics used to compare neural network representations. The paper addressed a core problem in interpretability: different metrics (such as CKA and CCA) often yield conflicting conclusions about whether two networks have learned similar internal structures. By grounding these metrics in functional behavior—specifically how distance correlates with changes in model accuracy—the study revealed significant blind spots in popular measures and identified the classical Orthogonal Procrustes distance as a more robust alternative for representation analysis.

Auditing Visualizations: Transparency Methods Struggle to Detect Anomalous Behavior In this 2022 paper, Denain evaluated the reliability of model visualization techniques as diagnostic tools. The research tested whether popular transparency methods could distinguish between "normal" models and those with planted anomalies, such as backdoors. The findings indicated that while these methods could identify stark behavioral differences, they frequently failed to detect subtle anomalies or the specific inputs that triggered them. This work served as a critical caution against over-reliance on visualizations for model auditing and safety.

Overthinking the Truth: Understanding how Language Models Process False Demonstrations This 2023 research investigated the phenomenon where LLMs faithfully mimic errors in few-shot prompts even when they possess the correct information. Denain and his co-author demonstrated that this "harmful context-following" typically occurs in the later layers of a model's computation. By analyzing the model's internal processing, they found that zeroing out specific late-layer components could actually improve performance on inaccurate prompts. The study identified "false induction heads" as primary drivers of this behavior, offering a mechanistic explanation for why models sometimes prioritize mimicry over accuracy.

AI capabilities can be significantly improved without expensive retraining In this 2023 paper, Denain introduced the concept of Compute-Equivalent Gain (CEG) to quantify the impact of post-training enhancements. The research argued that improvements in prompting, tool-use, and data quality can provide performance boosts equivalent to a 5x to 20x increase in raw training compute. By establishing this "common currency," the work highlighted that significant AI progress occurs through algorithmic and systemic refinements that are often far less expensive than the initial training runs, providing a new lens through which to view the trajectory of the field.

A Rosetta Stone for AI Benchmarks In this 2025 collaboration between Epoch AI and Google DeepMind, Denain led the development of a statistical framework designed to address benchmark saturation. As models begin to "max out" existing tests, it becomes difficult to track continued progress. The "Rosetta Stone" approach uses a "stitching" methodology to combine scores from dozens of different benchmarks into a single, unified scale. This framework allows for the longitudinal measurement of AI capabilities over several years, providing a clearer picture of the rate of progress even as the specific tests used to measure that progress evolve.

Profile updated

See something wrong? Report a mistake