← All entries
Paper2024#968

Transformers need glasses! Information over-squashing in language tasks

Summary

We study how information propagates in decoder-only Transformers, which are the architectural backbone of most existing frontier large language models (LLMs). We rely on a theoretical signal propagation analysis -- specifically, we analyse the representations of the last token in the final layer of the Transformer, as …

Venue
arXiv 2406.04267
Publisher
arXiv 2406.04267
Source
arxiv
Access
open arXiv PDF/abs
Purpose
Transformers need glasses! Information over-squashing in language tasks
Domain
LLM research
Used for
LLM research reference
Time period
arXiv 2024/06/06; Discord LinkedIn mid harvested 2026-09-15
Author type
academic/industry (see abs)
Added
Sep 15, 2026
Verified
Sep 15, 2026
Research status
done
Found via
#random-papers

From the source

Published
Jun 6, 2024
Last revised
Oct 24, 2024
arXiv categories
cs.CL, cs.LG
Citations
103 (15 influential)
References
37
Published in
Neural Information Processing Systems

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

We study how information propagates in decoder-only Transformers, which are the architectural backbone of most existing frontier large language models (LLMs). We rely on a theoretical signal propagation analysis -- specifically, we analyse the representations of the last token in the final layer of the Transformer, as this is the representation used for next-token prediction. Our analysis reveals a representational collapse phenomenon: we prove that certain distinct sequences of inputs to the Transformer can yield arbitrarily close representations in the final token. This effect is exacerbated by the low-precision floating-point formats frequently used in modern LLMs. As a result, the model is provably unable to respond to these sequences in different ways -- leading to errors in, e.g., tasks involving counting or copying. Further, we show that decoder-only Transformer language models can lose sensitivity to specific tokens in the input, which relates to the well-known phenomenon of over-squashing in graph neural networks. We provide empirical evidence supporting our claims on contemporary LLMs. Our theory also points to simple solutions towards ameliorating these issues.

Tags

arxiv2406-04267linkedin-thread

Topics

LLM research

Research notes

  • From LinkedIn thread (Discord mid 1362796014683160646). Primary: https://www.linkedin.com/posts/pierre-carl-langlais-b0105b10_what-if-your-llm-is-a-graph-a-few-days-activity-7318210982483263488-CtH9?utm_source=share&utm_medium=member_desktop.

Cites, within this collection 1

Cited by, within this collection 1

Similar entries