paper-with-me

Papers

Residual Connections and the Causal Shift: Uncovering a Structural Misalignment in Transformers

2026-02-16 · Jonathan Lys, Vincent Gripon, Bastien Pasdeloup, Axel Marmoret, Lukas Mauch, Fabien Cardinaux, Ghouthi Boukli Hacene arxiv

Large Language Models (LLMs) are trained with next-token prediction, implemented in autoregressive Transformers via causal masking for parallelism. This creates a subtle misalignment: residual connections tie activations to the current token, while supervision targets the next token, potentially propagating mismatched information if the current token is not the most informative for prediction. In this work, we empirically localize this input-output alignment shift in pretrained LLMs, using decoding trajectories over tied embedding spaces and similarity-based metrics. Our experiments reveal that the hidden token representations switch from input alignment to output alignment deep within the network. Motivated by this observation, we propose a lightweight residual-path mitigation based on residual attenuation, implemented either as a fixed-layer intervention or as a learnable gating mechanism. Experiments on multiple benchmarks show that these strategies alleviate the representation misalignment and yield improvements, providing an efficient and general architectural enhancement for autoregressive Transformers.

📄 PDF Abstract BibTeX arXiv:2602.14760

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

A Structural Theory of Position Bias in Transformers

2026-02-18 · Hanna Herasimchyk, Robin Labryga, Tomislav Prusina, Sören Laue arxiv

Transformer models systematically favor certain token positions, yet the architectural origins of this position bias remain poorly understood. This bias is closely connected to the Lost-in-the-Middle phenomenon, where mo…

Residual Dominance as a Structural Account of Last-Item Reliance in Causal Self-Attention Recommenders

2026-08-14 · Keito Kozaki, Keigo Sakurai, Ren Togo, Takahiro Ogawa 외 arxiv

Transformer-based sequential recommenders with causal self-attention often rely heavily on the most recent interaction at inference time, but how this behavior is structurally expressed in the representation used for pre…

Ablate and Rescue: A Causal Analysis of Residual Stream Hyper-Connections

2026-03-16 · William Peng, Josheev Rai, Kevin Tseng, Siwei Wang 외 arxiv

Multi-stream transformer architectures have recently been proposed as a promising direction for managing representation collapse and the vanishing gradient problem for residual connections, yet their internal mechanisms …

Designing Ambiguity Sets for Distributionally Robust Optimization Using Structural Causal Optimal Transport

2025-10-01 · Ahmad-Reza Ehyaei, Golnoosh Farnadi, Samira Samadi arxiv

Distributionally robust optimization tackles out-of-sample issues like overfitting and distribution shifts by adopting an adversarial approach over a range of possible data distributions, known as the ambiguity set. To b…

Detecting Causality in the Frequency Domain with Cross-Mapping Coherence

2024-07-30 · Zsigmond Benkő, Bálint Varga, Marcell Stippinger, Zoltán Somogyvári

Understanding causal relationships within a system is crucial for uncovering its underlying mechanisms. Causal discovery methods, which facilitate the construction of such models from time-series data, hold the potential…

Causal DiscoveryTime Series