mlsanityData to 14 Oct 2026

Provably Overwhelming Transformer Models with Designed Inputs

arXiv 2502.06038 ↗First posted 9 Feb 2025cs.LG cs.AI cs.CCcited by 1

Not on the map. Why?

Abstract (arXiv)

We develop an algorithm which, given a trained transformer model M as input, as well as a string of tokens s of length nfix and an integer nfree, can generate a mathematical proof that M is ``overwhelmed'' by s, in time and space widetildeO(nfix2 + nfree3). We say that M is ``overwhelmed'' by s when the output of the model evaluated on this string plus any additional string t, M(s + t), is completely insensitive to the value of the string t whenever length(t) ≤ nfree. Along the way, we prove a particularly strong worst-case form of ``over-squashing'', which we use to bound the model's behavior. Our technique uses computer-aided proofs to establish this type of operationally relevant guarantee about transformer models. We empirically test our algorithm on a single layer transformer complete with an attention head, layer-norm, MLP/ReLU layers, and RoPE positional encoding. We believe that this work is a stepping stone towards the difficult task of obtaining useful guarantees for trained transformer models.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 11 of its 16 references that are in the map. First posted on arXiv 9 Feb 2025.

Builds on

11 of 16 references.

References · 11

  1. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  2. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  3. 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 631
  4. 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
  5. 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 193
  6. 2020The Lipschitz Constant of Self-Attentioncited by 174
  7. 2023Representational Strengths and Limitations of Transformerscited by 133
  8. 2024Transformers need glasses! Information over-squashing in language taskscited by 91
  9. 2024Why are Sensitive Functions Hard for Transformers?cited by 74
  10. 2024On Limitations of the Transformer Architecturecited by 63
  11. 2024Compact Proofs of Model Performance via Mechanistic Interpretabilitycited by 18

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.