Automated Interpretability and Feature Discovery in Language Models with Agents

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Marin-Llobet, Arnau, Ferrando, Javier
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910185502539776
author Marin-Llobet, Arnau
Ferrando, Javier
author_facet Marin-Llobet, Arnau
Ferrando, Javier
contents We introduce an autonomous multiagent framework for mechanistic interpretability that automates both explaining and finding internal features in large language models. The system runs two coupled loops: (1) explanation refinement, where an agent proposes competing hypotheses and iteratively tests them with targeted prompt controls and a multi-metric evaluation; and (2) feature discovery, where an agent generates prompt sets, constructs a k-nearest-neighbor graph in activation space, and retrieves candidate features using statistical separability and semantic coherence criteria. On Gemma-2 family models and MLP neurons in weight-sparse transformers, our agent improves over one-shot auto-interpretations, discovers language-specific and safety-relevant features, and produces auditable explanation traces, showing that agent-driven empirical loops yield sharper and more falsifiable explanations than one-shot labels.
format Preprint
id arxiv_https___arxiv_org_abs_2605_01555
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Automated Interpretability and Feature Discovery in Language Models with Agents
Marin-Llobet, Arnau
Ferrando, Javier
Computation and Language
Artificial Intelligence
Human-Computer Interaction
We introduce an autonomous multiagent framework for mechanistic interpretability that automates both explaining and finding internal features in large language models. The system runs two coupled loops: (1) explanation refinement, where an agent proposes competing hypotheses and iteratively tests them with targeted prompt controls and a multi-metric evaluation; and (2) feature discovery, where an agent generates prompt sets, constructs a k-nearest-neighbor graph in activation space, and retrieves candidate features using statistical separability and semantic coherence criteria. On Gemma-2 family models and MLP neurons in weight-sparse transformers, our agent improves over one-shot auto-interpretations, discovers language-specific and safety-relevant features, and produces auditable explanation traces, showing that agent-driven empirical loops yield sharper and more falsifiable explanations than one-shot labels.
title Automated Interpretability and Feature Discovery in Language Models with Agents
topic Computation and Language
Artificial Intelligence
Human-Computer Interaction
url https://arxiv.org/abs/2605.01555