Manuscript Offprint

arXiv:2609.35521

Beyond Token Scale: Chunk-Level Sparse Autoencoders for Reliable Semantic Feature Discovery

Xu Wang, Yifan Yang, TingHao YU, Difan Zou

ABSTRACT

Sparse autoencoders (SAEs) expose features that help us understand and steer language models, but faithful reconstruction does not guarantee informative concepts. Token-level objectives reward lexical and formatting details alongside semantic content, all competing for a limited sparse budget. We introduce a family of chunk-level SAEs that encode mean-pooled activations over chunks, each a contiguous span of tokens: Mean-Chunk reconstructs the observed chunk, Cross-Chunk predicts an independently processed neighbor, and Joint-Chunk combines both targets. These designs separate the effect of a larger observation unit from that of predicting information shared across passages. With matched training data, chunk-level SAEs remain powerful interpretability tools while learning reliable semantic features that capture high-level concepts and respond selectively to relevant content. Their strengths are complementary: Mean-Chunk improves high-level feature discovery, reasoning detection beyond surface cues, and steering; Cross-Chunk leads document retrieval and classification transfer while producing selective, persistent features. Changing what an SAE sees and predicts yields reliable semantic features for more meaningful tasks. We demonstrate their practical value through gains across downstream tasks such as retrieval, reasoning detection, and steering.

Representation quality and interpretability

Figure

Downstream utility

Figure

BatchTopK SAE — Temporal SAE — Mean-Chunk SAE — Joint-Chunk SAE ( α=0.25\alpha=0.25) — Cross-Chunk SAE

Figure 1: SAE representation quality and downstream utility. Left: reconstruction fidelity (activation preservation), semantic interpretability (concept clarity and abstraction), feature persistence (consistency across related contexts), and dictionary utilization (breadth of feature use). Right: retrieval (semantic matching), classification transfer (domain generalization and label efficiency), reasoning detection (sensitivity beyond surface cues), and steering (causal output control). Chunk-level SAEs learn more meaningful features with complementary strengths across downstream tasks.

1 INTRODUCTION

Language models are remarkably capable, yet understanding how they arrive at their outputs remains difficult: information is distributed across many neurons, whose individual activities often have no clear meaning. Sparse autoencoders (SAEs) offer a more interpretable view by decomposing activations into sparse combinations of features (Bricken et al., 2023; Huben et al., 2024; Templeton et al., 2024). These features provide concrete handles for editing causal circuits (Marks et al., 2025), selectively unlearning knowledge (Farrell et al., 2024; Wang et al., 2025b), and steering instruction-following behavior (He et al., 2025). The appeal of SAEs is therefore practical: revealing human-readable concepts we can inspect and use to understand or steer model behavior.

In addition to the standard SAE, a number of different architectures have been recently developed, such as Gated (Rajamanoharan et al., 2024a), JumpReLU (Rajamanoharan et al., 2024b), TopK (Gao et al., 2024), BatchTopK (Bussmann et al., 2024), Matryoshka (Bussmann et al., 2025), and Temporal (Bhalla et al., 2026), to further improve reconstruction under a limited sparsity budget through better gating, feature selection, and dictionary organization. These token-level SAEs encode individual token states and retain token reconstruction as their common target. However, better reconstruction may not guarantee better semantic features (Karvonen et al., 2025; Chanin & Garriga-Alonso, 2025): architectural improvements remain centered on reconstruction loss, while semantic feature quality is less directly constrained. A concrete example has been observed for reasoning feature detection via SAE (Ma et al., 2026): “The route is blocked; let’s return and try another” expresses backtracking without “wait,” whereas “Please wait by the entrance” contains the cue without any backtracking. Therefore, a semantically coherent feature should recognize the revision of a plan across different wordings and reject isolated surface cues.

Features that track meaning across different wordings need to capture more than isolated lexical cues, making longer spans a natural unit for sparse coding. Recent work takes steps in this direction: turn-averaged SAEs pool activations to discover high-level features in multi-turn dialogue (Der et al., 2026), while step-level SAEs reconstruct reasoning steps conditioned on prior context (Yang et al., 2026). These approaches motivate moving beyond individual tokens, but a broader input alone does not determine what features will learn. Reconstructing a pooled representation still rewards any words or formatting preserved in the average, whereas predicting a related passage may favor information that carries across different wordings. We therefore study two distinct choices together in ordinary text: how much text should a feature encode, and what should it predict?

These two questions naturally lead to our method: a family of chunk-level SAEs that varies both the scale of observation and the target of prediction. A chunk is a contiguous span of tokens, and we train on pairs of non-overlapping chunks of varying lengths from the same document, processing each independently. Moreover, we consider three different chunk-level SAEs, each designed to preserve different information: Mean-Chunk reconstructs a chunk's own mean activation, Cross-Chunk predicts the mean activation of its same-document neighbor, and Joint-Chunk combines both targets through a nested shared dictionary. Using the same sparse-coding backbone and token stream across multiple chunk lengths lets us separate the benefits of pooling from those of predicting a neighboring passage. Together, these designs show how the input span and prediction target shape what features learn and how selectively they respond to content across passages.

The resulting dictionaries retain strong target-relative fidelity while uncovering reliable semantic features, making SAEs more effective interpretability tools (see Figure 1). These features capture meaningful concepts across different wordings, with activation patterns that follow relevant content while largely rejecting unrelated cues. The difference becomes particularly clear in the inspected passage traces. On a news passage, token-level SAEs can activate several unrelated features, obscuring which aspects of the text they represent. Cross-Chunk instead produces a cleaner pattern, with activity concentrated in features relevant to the passage and unrelated features remaining largely inactive. This makes it easier to connect a feature's explanation to its observed behavior in context. Chunk-level training thus improves both the semantic content of the dictionary and the clarity of its responses. We summarize the contributions of this paper as follows:

• We introduce a family of chunk-level SAEs for semantic feature discovery. Mean-Chunk reconstructs a span’s mean activation, Cross-Chunk predicts an independently processed neighbor, and Joint-Chunk combines the two through a nested dictionary. A shared sparse-coding backbone, token stream, and range of chunk lengths make the roles of pooling and partner prediction explicit.

Figure

Figure 2: Rethinking token-level sparse autoencoders. Top left: An arithmetic example illustrates we often get 'boring' features. Top right: The same feature activates on "wait" in both backtracking and non-reasoning contexts. Bottom: We investigate whether modifying input granularity and training objectives yields more meaningful SAE features and validate across diverse downstream applications.

• Chunk-level training improves semantic feature quality and cross-passage consistency. In a random sample of dictionary coordinates, Mean-Chunk more than doubles the high-level feature fraction to 34.8% from BatchTopK's 17.2%, while retaining strong target-relative fidelity. Across related passages, Cross-Chunk achieves the strongest feature persistence and over five times BatchTopK's dictionary utilization, alongside more human-readable explanations than the token-level baselines.

• We further demonstrate that the improvements of Chunk-level SAEs can be extended to downstream tasks that restrict reliance on surface cues. In retrieval with little lexical overlap, Cross-Chunk reaches 77.0% Recall@5 versus 64.1% for Temporal, the strongest token-level baseline. Even after reasoning cues are removed, Mean-Chunk detects backtracking with 66% recall versus under 5% for both token baselines, a gain of over 60 percentage points. Cross-Chunk also leads classification transfer, while Mean-Chunk achieves the highest steering.

2 TOKEN-LEVEL SAEs FAVOR SURFACE-LEVEL FEATURES

SAEs use dictionary learning to expose interpretable directions in model activations (Olshausen & Field, 1996; Elhage et al., 2022). We use BatchTopK and Temporal SAEs as representative token-level baselines: both reconstruct individual token states under a limited sparse budget, while Temporal additionally encourages consistency between neighboring codes.

A shared sparse-coding backbone. For an input x∈Rdx \in \mathbb{R}^d, the encoder computes a(x)=ReLU(Wenc(sx−bin)+benc)\mathbf{a}(\mathbf{x}) = \text{ReLU}(W_{\text{enc}}(s\mathbf{x} - \mathbf{b}_{\text{in}}) + \mathbf{b}_{\text{enc}}). The sparse code and decoded prediction are

z(x)=BatchTopKK(a(x)),y^(x)=Wdecz(x)+bout.(1)\mathbf{z}(\mathbf{x})=\mathrm{BatchTopK}_{K}(\mathbf{a}(\mathbf{x})),\qquad\widehat{\mathbf{y}}(\mathbf{x})=W_{\mathrm{dec}}\mathbf{z}(\mathbf{x})+\mathbf{b}_{\mathrm{out}}. \tag{1}

Here, Wenc∈Rm×dW_{\text{enc}} \in \mathbb{R}^{m \times d}, Wdec∈Rd×mW_{\text{dec}} \in \mathbb{R}^{d \times m}, and ss fixes the activation scale. BatchTopK retains the largest positive activations under a batch-wide budget of nKnK for nn inputs (Bussmann et al., 2024). All methods normalize decoder columns and use squared reconstruction error Lrec(x,y)=∥y^(x)−sy∥22\mathcal{L}_{\text{rec}}(\mathbf{x}, \mathbf{y}) = \|\widehat{\mathbf{y}}(\mathbf{x}) - s\mathbf{y}\|_2^2. The shared AuxK penalty revives inactive features with weight λaux=0.0625\lambda_{\text{aux}} = 0.0625 (Gao et al., 2024).

Token-level training objectives. BatchTopK reconstructs each contextualized token state hth_{t}. Temporal adds prefix reconstruction and symmetric contrastive alignment between adjacent-token prefix codes (Bhalla et al., 2026; van den Oord et al., 2018):

LBatchTopK=Et[Lrec(ht,ht)]+λauxLAuxK,(2)\mathcal{L}_{\mathrm{B a t c h T o p K}}=\mathbb{E}_{t}[\mathcal{L}_{\mathrm{r e c}}(\mathbf{h}_{t},\mathbf{h}_{t})]+\lambda_{\mathrm{a u x}}\mathcal{L}_{\mathrm{A u x K}}, \tag{2} LTemporal=0.8Lfull+0.2LH2+LInfoNCEsym+λauxLAuxK.(3)\mathcal{L}_{\mathrm{T e m p o r a l}}=\frac{0.8\mathcal{L}_{\mathrm{f u l l}}+0.2\mathcal{L}_{H}}{2}+\mathcal{L}_{\mathrm{I n f o N C E}}^{\mathrm{s y m}}+\lambda_{\mathrm{a u x}}\mathcal{L}_{\mathrm{A u x K}}. \tag{3}

Here, EtE_t is computed by averaging the reconstruction loss over all non-padding token positions in each training minibatch, with equal weight for each position. The full-code loss LfullL_{full} uses the same averaging rule. The prefix loss LH\mathcal{L}_{H} instead averages over tokens with a preceding token in the same input sequence, measuring how well a designated subset of features reconstructs the current token. The contrastive term encourages this subset to carry similar information across neighboring tokens. Temporal therefore changes how features relate across tokens, but both baselines still learn to reproduce individual token states. This objective rewards surface details alongside semantic content, motivating our shift toward observing and predicting longer spans. See Appendix A.3 for details.

References (100)

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