On the Limitation and Redundancy of Transformers: A Rank Perspective

Zeping Min, Zhong Li · Submission to ICLR 2026 · Rejected

TL;DR

This paper reveals a fundamental "low-rank barrier" in Transformer attention: the rank of attention matrices is theoretically capped at approximately 63% of the sequence length, regardless of how large you make the head dimensions. Furthermore, the authors identify a "model-reduction effect" where increasing head size beyond a logarithmic threshold ($\Omega(\log n)$) yields diminishing returns in both mathematical expressive power and actual model performance.

What Problem Does This Paper Address?

As Large Language Models (LLMs) scale to web-level datasets, their computational and memory demands have skyrocketed. Researchers are constantly looking for ways to make Transformers more efficient without sacrificing performance.

A key component of the Transformer is the attention mechanism, which uses matrices to determine how much "focus" to put on different parts of an input sequence. Previous research hinted at a "low-rank bottleneck"—the idea that these matrices don't use their full mathematical capacity. However, we lacked a precise quantitative understanding of how limited they are and when adding more parameters becomes redundant. This paper seeks to provide those missing mathematical bounds and empirical proofs.

Methods

The authors approach the problem from two angles:

  1. Empirical Simulations: They conducted extensive experiments across various architectures (one-layer encoders to 8-layer models) and data types. They specifically tracked the numerical rank of attention score matrices while varying the head dimension ($d_h$), sequence length ($n$), and model depth.
  2. Theoretical Analysis: Using random matrix theory and a "hardmax" approximation (which simplifies the softmax function used in attention), they derived formal upper bounds for the expected rank of attention matrices. They focused on a setting where input sequences are "almost orthonormal"—a condition they later proved often holds true in real-world trained models.

Datasets

The study validates its findings across a diverse set of benchmarks:

  • Synthetic Data: Tensors sampled from Gaussian, Uniform, and mixed distributions to test the robustness of the theory.
  • NLP: The IMDB dataset for text classification.
  • Computer Vision: CIFAR-10, CIFAR-100, and SVHN datasets used with Vision Transformers (ViTs).

Key Insights and Ideas

  • The 0.63n Barrier: The most striking finding is that the rank of an attention matrix is capped at roughly $(1 - e^{-1})n \approx 0.63n$. Even if you give a Transformer head infinite dimensions to work with, it can never reach "full rank" (1.0n). This is an inherent architectural limitation.
  • Logarithmic Saturation: The "sweet spot" for head dimensions isn't linear; it's logarithmic. The rank saturates when $d_h$ reaches $\Omega(\log n)$. Beyond this point, adding more dimensions to a head is essentially "wasted" parameter space.
  • Rank as a Proxy for Performance: The authors found a near-perfect correlation between rank saturation and accuracy saturation. When the attention matrix stops gaining rank, the model stops gaining accuracy. This suggests that rank is a principled metric for evaluating model capacity.
  • Validation of Modern Architectures: These findings provide a theoretical backbone for why techniques like Multi-head Latent Attention (MLA)—used in the high-performance DeepSeek-V3 model—work so well. MLA intentionally uses low-rank latent vectors to save memory without hurting performance.

Key Results

  • Consistent Ceiling: Across all datasets (CIFAR, SVHN, IMDB), the "Rank / Seq Len" ratio consistently flattened out between 0.60 and 0.63 as $d_h$ increased.
  • Diminishing Returns: In NLP tasks (IMDB), accuracy jumped significantly as $d_h$ moved from 2 to 8, but then plateaued. Increasing $d_h$ from 8 to 16 provided almost zero accuracy gain, coinciding exactly with the point where the attention rank saturated.
  • Depth Matters: Experiments on 8-layer Transformers showed that the low-rank behavior becomes even more pronounced in deeper layers, suggesting that redundancy compounds as information flows through the network.

Limitations and Future Work

While the paper provides a robust framework, there are a few areas for further exploration:

  • Idealized Assumptions: The theoretical proofs rely on "almost orthonormal" inputs and random weights. While the authors provide evidence that these conditions often occur in practice, the dynamics of a model during the middle of training might be more complex.
  • Hardmax vs. Softmax: The math uses "hardmax" for simplicity. While the empirical results show that standard softmax follows the same patterns, a more "fine-grained" theory for the softmax regime specifically could be beneficial.
  • Architectural Design: The authors suggest that these insights can be used to design more efficient "model-reduced" Transformers. Future work could involve creating automated ways to find the optimal $d_h$ for a given sequence length before training begins, potentially saving massive amounts of compute.

Summary updated

BibTeX
@misc{min2026limitation,
  author = {Zeping Min and Zhong Li},
  title = {{On the Limitation and Redundancy of Transformers: A Rank Perspective}},
  year = {2026},
  url = {https://openreview.net/forum?id=GoK1PfVgXU},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure