Manuscript Offprint

arXiv:2611.08465

Towards interpreting any residual stream direction by scaling activation inversion

Celeste De Schamphelaere, Juan J. Vazquez, Ari Spiesberger, Tomáš Gavenčiak, Gavin Leech, Euan Ong, Jiahai Feng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Celeste De Schamphelaere* MATS

Juan J. Vazquez Arb Research

Ari Spiesberger Arb Research

Tomáš Gavenčiak Arb Research & Charles University

Gavin Leech Arb Research

Euan Ong† Anthropic

Jiahai Feng† Anthropic

ABSTRACT

To interpret a direction in a language model's residual stream, we can look for text that strongly activates it. But when such text is found by scanning a corpus, it is limited to what that corpus contains. We develop Maximally-Activating Example Metamodels (MAEMs), language models which map residual stream directions from a subject model to text exemplars that strongly activate those directions. Our objective is to maximise the cosine similarity of a supplied residual stream direction with the activations of the text generated by the MAEM. This label-free RL objective helps to scale MAEMs on diverse sources of residual stream directions. Empirically, we find the resultant metamodel produces informative exemplars: a Qwen3.6-27B MAEM inverts held-out activations better than corpus search or a natural-language autoencoder (NLA), beats corpus search (at 10M tokens) on a majority of held-out languages/domains, and activates 89% of held-out SAE features. It also identifies concepts behind steering vectors about as well as NLAs, recovers the payloads of LoRA backdoors more often than corpus search, and can even verbalise some model workspace inner monologue. Unlike explanations produced by other metamodels (e.g. NLAs), MAEM exemplars can be verified with a forward pass on the subject model, making the MAEM objective a grounded alternative for scaling the training of metamodels.

Figure

Figure 1: MAEMs: maximally-activating examples from a trained policy. Top: the policy πθ\pi_\theta is rewarded with the score s(v,x)s(v, x) of its text under the frozen subject model MM. Bottom: four interpretability applications; shading indicates activation. (MAEMs also handle natural activations.)

*Contact: celestedeschamphelaere@protonmail.com †Equal advising.

1 INTRODUCTION

Many questions in interpretability reduce to understanding some direction in the residual stream of a language model (LM) – such as an SAE feature (Bricken et al., 2023), a linear probe's weights (Alain & Bengio, 2016), a steering vector (Turner et al., 2023; Rimsky et al., 2024), or a direction derived from a fine-tuning weight diff (Zhong & Raghunathan, 2025; De Schamphelaere et al., 2026). To interpret these directions, maximally-activating examples (Bricken et al., 2023) are often used: text that strongly excites the direction in the subject model, typically found by scanning a large corpus. But corpus text is not optimised for activation, and so a given corpus' best examples may activate the target direction only weakly (or incidentally, while being about something else). Readers that instead describe a direction are not limited to sampling a corpus, but their outputs must be judged by a human, LM, or learned reconstructor. This motivates our question: given only a residual stream direction vv, can a model write text xx that the subject model itself maps to vv? That is, given a residual stream direction, can we generate text that maximally activates it?

To this end, we introduce the MAEM (Maximally-Activating Example Metamodel): a fine-tune πθ\pi_\theta of a frozen language model MM that takes a residual stream direction vv as its input and outputs text exemplars x∼πθ(v)x \sim \pi_\theta(v) whose activations M(x)M(x) align with vv. We extend previous work (Huang et al., 2024; Luo et al., 2025; Zhao et al., 2025) by using reinforcement learning (RL) to directly maximise cosine similarity between the target direction and the activations of the produced text, and by additionally training on dictionary directions. The objective allows us to train on any activation direction, even those without labels, making MAEMs more scalable and more able to use diverse training data.

Remarkably, we find that MAEMs trained on this simple objective not only outperform the baselines on the objective, but are also useful across a wide range of interpretability tasks: interpreting steering vectors, reading backdoored content, coherently verbalising concepts in the 'workspace' (Gurnee et al., 2026), and providing inputs to an autointerp explainer of SAE features (Bills et al., 2023; Choi et al., 2024; Paulo et al., 2024).

We see MAEMs as a verifiable addition to the emerging metamodels research programme: that is, training LMs to interpret the internals of other LMs in natural language (Steinhardt, 2025; Pan et al., 2024; Karvonen et al., 2025; Choi et al., 2025; Huang et al., 2025; Li et al., 2025a; Fraser-Taliente et al., 2026). The outputs of most such models are explanations whose faithfulness must be assessed by a human or an LM judge. Instead, MAEM exemplars can be independently checked by comparing a subject model's forward pass on the exemplars with the target activation: each xx is a sufficient condition for driving vv. Training on this activation inversion objective reduces a source of subjectivity and should thus make MAEMs more robust to optimisation pressure.

Our contributions:

  • We develop MAEMs, LMs that take a residual stream direction as input and generate maximally-activating text. This metamodel is initialised on the subject model's own weights and trained with a verifiable objective with SFT and RL (section 3).¹
  • A single MAEM can generate exemplars for many categories of residual stream directions, including natural activations, SAE features, steering vectors, and rank-1 LoRA write and read directions – despite never being trained on the last two. We train a single MAEM from Qwen3.6-27B; all results are based on this checkpoint.²
  • We demonstrate that MAEM outperforms corpus search, GCG, and other baselines in maximally activating a given direction. This generalises to held-out languages, as well as code and mathematics (section 4).
  • We quantify the fluency and coherence of MAEM exemplars. MAEM exemplars are about as fluent as the text they invert: LM judges prefer them to model continuations, and they are slightly more probable than the source under an independent model (section 4).
  • We apply one MAEM to four diverse interpretability tasks: on steering-vector concept identification it matches NLA and beats the .J-lens and corpus search (section 5.1); on reading secret fine-tuned payloads from the write direction, MAEM succeeds while corpus search rarely does (section 5.2); on decoding global workspace content, MAEM trails NLA

¹Code at https://github.com/ceselder/maem ²Model at https://huggingface.co/ceselder/maemm-27b-rl-last16-1r5e-7 on two of three tasks but beats a J-lens, Patchscopes, and corpus search (section 5.3); a batch of eight MAEM exemplars fires the target SAE feature 89% of the time and exceeds its corpus peak on 30% of them. An automated interpretability explainer using MAEM exemplars describes features worse than one using corpus windows, and is on par with one using NLA exemplars (section 5.4).

  • We assess the method's limitations, in particular the 6.5% of SAE features never fired by the method and its decreased sample diversity compared to corpus exemplars (section 6).

References (100)

Couldn't load all references. Reload the page to try again.