Manuscript Offprint

arXiv:2609.35367

From Input to Output: A Flexible Agent for Dual-End Interpretation of Sparse Autoencoder Features

Dewen Liu, Zixuan Li, Jonathan Pan, Zhao Wu, Zijun Yao, Juanzi Li, Xiaozhi Wang

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

ABSTRACT

Sparse autoencoders (SAEs) are an important tool for mechanistic interpretability, but interpreting their many features remains challenging. Existing methods characterize input-side activation patterns and output-side intervention effects, yet often leave their functional connection implicit, while input-side evidence collection typically relies on costly large-corpus scans. We introduce functional interpretation, which characterizes an SAE feature as a mapping from its activating input semantics to its output effects under intervention, and present Dual-End Agentic Feature Interpretation (DAFI), an agent that actively gathers evidence and refines input-side, output-side, and functional interpretations through component-specific feedback. Its short-context token probing enables on-demand activation evidence collection without a full corpus scan. On GemmaScope, DAFI improves Input score by 13.1 percentage points over SAGE and Output score by 38.9 points over Token Change, while being substantially more token-efficient than a general-purpose coding agent. Skills distilled from successful refinements raise the held-out joint pass rate from 58.0% to 92.0% and improve both interpretation quality and efficiency when transferred to a new model–SAE setting. Across features with reliable endpoint interpretations, 70.7% exhibit non-equivalent input and output semantics. On AxBench, DAFI also improves steering-feature selection over output-score filtering. Code is available at https://github.com/THUAIS-Lab/DAFI.

1 INTRODUCTION

Sparse autoencoders (SAEs) map dense model activations into a higher-dimensional sparse feature space, yielding tens of thousands of fine-grained features per dictionary for mechanistic analysis (Elhage et al., 2022; Huben et al., 2024; Bricken et al., 2023; Gao et al., 2025; Lieberum et al., 2024; Deng et al., 2026). How to reliably interpret these features remains an open problem. Existing automated methods interpret those features from two endpoints: input-side methods characterize activation contexts (Bills et al., 2023; Paulo et al., 2025; Maher et al., 2026; Han et al., 2026); output-side methods characterize causal effects on model outputs (Paulo et al., 2025; Gur-Arieh et al., 2025). Neither endpoint fully characterizes a feature. For example, a feature may activate on cat-related tokens but promote affectionate descriptors such as cute and lovely when intervened on. Labeling it as either a “cat-related feature” or a “cute-related

Figure

Figure 1: Overview of DAFI's three-component interpretation target.

et al., 2026; Han et al., 2026); output-side methods characterize causal effects on model outputs (Paulo et al., 2025; Gur-Arieh et al., 2025). Neither endpoint fully characterizes a feature. For example, a feature may activate on cat-related tokens but promote affectionate descriptors such as cute and lovely when intervened on. Labeling it as either a “cat-related feature” or a “cute-related

∗^{*}Equal contribution; order determined by random coin flip.

§^{§}Work done during internship at Tsinghua University.

feature" captures only one endpoint. Viewed from input to output, the feature maps cat-related activation contexts to affectionate output effects. This explanation describes the feature's function during model inference. We refer to such an input–output explanation as a functional interpretation (Figure 1). Existing input-side methods also scan a fixed large corpus for activation evidence. These scans amortize across many features but are inefficient for small feature sets.

Reliable feature interpretation involves heterogeneous evidence and requires different refinement operations across the three components (Ma et al., 2025; Maher et al., 2026; Han et al., 2026). The next operation depends on the evidence and diagnostic feedback, so the refinement trajectory cannot be fixed in advance. An agent selects the next operation accordingly.

To address these problems, we make the following contributions:

• We formulate SAE feature interpretation as a three-component target comprising input-side, output-side, and functional interpretations, with component-specific diagnostics and an overall criterion requiring all three components to pass. Using an Equivalent–Shift–Break taxonomy, we find that most features with reliable endpoint interpretations fall into the Shift or Break categories, underscoring the need for functional interpretation to determine whether and how the two endpoints are connected.

• We introduce Dual-End Agentic Feature Interpretation (DAFI), an agent that actively acquires evidence and selectively refines failed components, and validate it across two LLM–SAE settings. On matched GemmaScope features, DAFI outperforms component-matched input- and output-side baselines while additionally producing functional interpretations.

• We equip DAFI with tools and a self-evolving mechanism to support on-demand evidence collection and improvement across features. For targeted features, its short-context token probing collects input-side evidence on demand without requiring a full corpus scan, while achieving input-side scores comparable to those obtained from corpus-derived activation examples. DAFI self-evolves by distilling refinements into reusable skills that improve interpretation quality and efficiency on unseen features and transfer across LLM–SAE settings.

References (33)