A research team introduces Maximally-Activating Example Metamodels (MAEMs): language models that generate text examples for a direction in another model’s residual stream. The examples are intended to show which inputs strongly activate that direction, potentially helping researchers investigate internal model representations.
One existing way to find strongly activating text is to search a corpus, but the results are limited to what that corpus contains. MAEMs are trained instead with a label-free reinforcement-learning objective: they generate text whose activations in the model under study align as closely as possible with a supplied direction. The alignment is measured using cosine similarity.
In the reported tests, a Qwen3.6-27B MAEM inverted held-out activations better than corpus search and a natural-language autoencoder. It also outperformed a corpus search over ten million tokens on most held-out languages and domains, and activated 89% of held-out SAE features. The model identified concepts behind steering vectors about as well as natural-language autoencoders and recovered LoRA backdoor payloads more often than corpus search.
The researchers say the generated examples can be checked with a forward pass through the model under study. This provides a concrete way to test the explanations, but does not establish that they reliably capture every internal direction. The original paper gives further details on the method and evaluation: arXiv: Towards interpreting any residual stream direction by scaling activation inversion.