arXiv(opens in a new tab)cs.CLSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.07876

LLM Layers Immediately Correct Each Other

Arjun Patrawala, Jiahai Feng, Erik Jones, Jacob Steinhardt

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

Abstract

Recent methods in language model interpretability employ techniques such as sparse autoencoders to decompose residual stream contributions into linear, semantically meaningful features. Such methods are commonly interpreted as identifying features that persist in the residual stream and that subsequent layers build upon. We challenge this view by identifying the Transformer Layer Correction Mechanism (TLCM), wherein adjacent transformer layers systematically counteract portions of each other's contributions. TLCM appears in 5 out of 7 major open-source model families and activates across nearly all tokens in diverse texts. We show that TLCM emerges during pretraining, operates most strongly on contextually dependent tokens, and adaptively calibrates its correction strength based on the preceding layer's output. Using the layer Jacobian, we further show that TLCM selectively corrects specific subspaces while reinforcing others, which we interpret through a "propose-and-reject" framework in which layers propose candidate features and subsequent layers selectively remove inappropriate ones. This dynamic suggests that the residual stream at any layer contains transient proposals alongside persistent features, helping explain why SAE feature descriptions often have low specificity, why effective model steering requires extreme feature amplification, and why transcoders hold a theoretical advantage over SAEs.¹

1 Introduction

Mechanistic interpretability aims to understand large language models (LLMs) by dissecting the functions of their components. This research direction has led to new techniques for building, monitoring, and controlling language models [Mallen and Belrose, 2023, Roger et al., 2023, Li et al., 2023, Feng et al., 2024, Pan et al., 2024, Xiao et al., 2023, Wu et al., 2024].

A common view in recent interpretability research is that transformer layers additively build upon each other's contributions to enrich representations in the residual stream. For example, analyses of factual recall often characterize successive layers as gradually augmenting entity representations with additional recalled information [Geva et al., 2023, Meng et al., 2022, Nanda et al., 2023, Hernandez et al., 2024b]. In addition, the view that transformer layers progressively build enriched features motivates recent techniques to extract and interpret such features, including linear probes [Alain, 2016], the logit lens [nostalgebraist, 2020], sparse autoencoders (SAEs) [Bricken et al., 2023], and cross-layer transcoders (CLTs) [Ameisen et al., 2025, Dunefsky et al., 2024, Paulo et al., 2025].

In this work, we demonstrate the Transformer Layer Correction Mechanism (TLCM), in which adjacent transformer layers systematically reverse portions of each other's contributions. Specifically, we find that in 5 of 7 open-weight LLM families (Llama 3, OLMo, Mistral, Gemma, and Qwen2), layer i+1i+1 consistently produces a contribution that partially opposes that of the prior layer, layer ii.

¹Correspondence to arjunpatrawala@berkeley.edu. Code is available at https://github.com/arjunpat/transformer-correction

39th Conference on Neural Information Processing Systems (NeurIPS 2025).

TLCM complicates the additive view of the residual stream: adjacent layer contribution vectors can have cosine similarity as low as -0.4, indicating that a nontrivial portion of a layer's output is devoted to reversing content written by the preceding layer rather than adding new content. This suggests that features extracted from a single layer's output may not persist in the residual stream—they may be corrected by the subsequent layer, or may themselves serve as corrections of prior content.

To begin, we characterize TLCM through a series of observational experiments in Section 4. First, we show that TLCM is not present at initialization but emerges gradually during pretraining, suggesting that it is learned rather than architectural. Second, we find that TLCM fires most frequently on tokens with high contextual dependency, including numbers, dates, and punctuation, suggesting a role in handling such tokens. Finally, we show that TLCM is the combined effort of both attention and MLP layers.

In Section 5, we focus our experiments on TLCM's underlying mechanisms. First, we use causal interventions to show that TLCM is adaptive and directly dependent on the prior layer; in particular layer i+1i+1 directly adjusts its correction strength based on the prior layer's contribution strength. Then, we use the transformer layer Jacobian to identify which subspaces are corrected, reinforced, or untouched. Applied to TLCM, we find a subspace corrected 1-for-1 and a smaller subspace reinforced, while non-TLCM interactions show neither pattern.

These findings support a “propose-and-reject” interpretation of the forward pass: layers propose candidate features and subsequent layers selectively correct inappropriate ones. Because adjacent layers partially reverse each other's contributions, the residual stream at any given layer contains content that the next layer may partially undo. In Section 6, we discuss how this dynamic connects to three open questions in feature-based interpretability: the low specificity of SAE feature descriptions, the extreme amplification required for model steering, and the advantage of transcoders over SAEs, particularly cross-layer architectures that span adjacent layers.

References (87)