Matthew Rahtz

5 previous affiliations
11Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Matthew Rahtz focuses on the safety, interpretability, and human-centric design of machine learning systems. His work spans deep reinforcement learning (RL), where he has developed methods for interactive agent training and safe exploration, and mechanistic interpretability, where he investigates the internal computational structures of large language models (LLMs). Currently, his research emphasizes understanding how complex neural architectures represent and process information, particularly through the lens of circuit analysis and emergent self-repair mechanisms.

Research Trajectory

Rahtz’s early work was characterized by an interest in the practical and foundational aspects of machine learning engineering. Between 2015 and 2017, his focus included anomaly detection using clustering techniques, the implementation of distributed systems for machine learning, and the application of specific probabilistic tools such as the Gumbel distribution. During this period, he also engaged with the broader implications of artificial intelligence, contributing to discussions on the ethical and policy dimensions of autonomous systems in Truth in the 'killer robots' angle?.

By 2018, Rahtz’s research shifted toward deep reinforcement learning, specifically addressing the challenges of task specification and safety. He investigated how human feedback could be more effectively integrated into the training loop to overcome the limitations of traditional reward functions. This period of work resulted in the development of interactive frameworks that allow non-technical users to guide agent behavior through demonstrations and hierarchical task decomposition.

In 2022 and 2023, Rahtz’s focus transitioned toward the internal mechanics of transformer-based models. This work moved beyond behavioral observation to mechanistic interpretability—the study of how specific components within a neural network contribute to overall model capabilities. His recent research explores how language models maintain robustness through internal self-repair and whether interpretability techniques developed for small-scale models can effectively scale to state-of-the-art large language models.

Human-in-the-Loop and Safe Reinforcement Learning

A significant portion of Rahtz’s research addresses the difficulty of specifying complex tasks in RL environments. In An Extensible Interactive Interface for Agent Design, Rahtz introduced a framework that enables users to define tasks by building a hierarchy of behavioral primitives. By allowing users to switch between simple policies at fixed intervals, the system generates demonstrations for increasingly complex tasks. This approach demonstrated that human-guided selection of short-term outcomes could significantly outperform standard preference-based RL, achieving high success rates in environments like Lunar Lander with minimal human interaction time.

Rahtz further extended his work on RL safety by addressing the problem of unsafe behavior during both the training and deployment phases. In Safe Deep RL in 3D Environments using Human Feedback, he investigated the feasibility of the ReQueST technique in complex 3D settings. This method involves learning a neural simulator of the environment from safe human trajectories and subsequently using that simulator to learn a reward model. This research is particularly relevant for real-world applications where procedural specifications of constraints are difficult to define and where agents must avoid harmful actions in high-dimensional observation spaces.

Mechanistic Interpretability

Rahtz’s recent work at the intersection of interpretability and LLMs seeks to reverse-engineer the "circuits" that drive model behavior. In The Hydra Effect: Emergent Self-repair in Language Model Computations, he examined the resilience of language model architectures. The research identifies the "Hydra Effect," a phenomenon where the model compensates for the ablation or failure of specific layers by redistributing the computation to other components. This finding suggests that LLMs are not simple rigid pipelines but possess emergent self-repairing properties that maintain functional stability.

To address the lack of ground truth in interpretability research, Rahtz participated in the development of Tracr: Compiled Transformers as a Laboratory for Interpretability. Tracr serves as a compiler that translates human-readable programs (such as sorting or parenthesis checking) into transformer weights. By creating models with a known, pre-defined structure, this work provides a rigorous baseline for evaluating how well interpretability methods can recover the underlying logic of a network.

Rahtz has also led efforts to determine if these interpretability techniques are viable for massive models. In Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchilla, he applied circuit analysis to the 70B-parameter Chinchilla model. The study focused on the model's ability to map internal knowledge to specific multiple-choice labels. The findings indicate that techniques such as activation patching and logit attribution do scale to models of this magnitude, providing a pathway for understanding the internal mechanisms of state-of-the-art AI.

Representative Work

An Extensible Interactive Interface for Agent Design This paper presents a method for task specification in deep reinforcement learning using an interactive interface. By allowing users to generate demonstrations through the selection of behavioral primitives, the approach enables the training of agents for complex tasks without the need for high-dimensional reward functions.

Safe Deep RL in 3D Environments using Human Feedback Rahtz explores the application of the ReQueST framework to 3D environments, focusing on learning reward models from human feedback within a learned neural simulator. The work addresses the challenge of ensuring agent safety in environments where procedural constraints are difficult to specify.

The Hydra Effect: Emergent Self-repair in Language Model Computations This research investigates the internal resilience of large language models. Rahtz demonstrates that LLMs exhibit emergent self-repair, where the functions of damaged or ablated layers are assumed by subsequent layers, revealing a complex, non-linear computational structure.

Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchilla As lead author, Rahtz evaluates the scalability of mechanistic interpretability tools. By analyzing the 70B Chinchilla model, the study demonstrates that circuit analysis techniques can successfully identify the internal pathways used by large-scale models to process multiple-choice questions.

Tracr: Compiled Transformers as a Laboratory for Interpretability Rahtz participated in the creation of Tracr, a tool that compiles discrete algorithms into transformer models. This work provides the interpretability community with "ground truth" models, allowing for the objective evaluation of methods designed to decode neural network representations.

Profile updated

See something wrong? Report a mistake