Exploiting Attention Redundancy Across Transformer Layers

This direction is merged into another direction: inter-layer attention redundancy. Its last version stays readable and citable here.

Version 1 of 112 papers16 conceptsfrozen 2026-10-04

The standard recipe for building powerful deep learning models—particularly Transformers—is to stack identical layers. The assumption is that each layer learns a progressively more refined representation of the data. However, recent research suggests that this architectural homogeneity leads to significant computational waste. Specifically, the "attention maps" that dictate how tokens relate to one another often become highly redundant as a network gets deeper.

Instead of recomputing these expensive relationships from scratch at every single layer, a new direction of research focuses on reusing, evolving, or unifying attention patterns across the depth of the network to achieve massive efficiency gains.

The Phenomenon of Attention Saturation

In a typical Vision Transformer (ViT) or Large Language Model (LLM), the self-attention mechanism scales quadratically with the number of tokens. When we stack 12, 24, or 96 of these layers, we are performing this $O(N^2)$ calculation repeatedly.

Researchers have observed that these calculations often yield nearly identical results in successive layers. Shashanka Venkataramanan and colleagues, in their work on Skip-Attention, identified a high correlation between self-attention maps across different layers. Similarly, Shuoxi Zhang and Kun He describe this as "attention saturation" in their LaViT framework. They found that once the model establishes long-range relationships in the initial layers, those relationships remain largely stable. Recalculating them provides diminishing returns, consuming processing power to confirm what the model already knows.

Reusing and Evolving Attention Maps

If the attention maps are redundant, the most intuitive solution is to compute them once and reuse them. However, a simple copy-paste approach can hurt accuracy because the underlying features do change slightly as they pass through feed-forward blocks.

To solve this, researchers have introduced "evolution" or "transformation" blocks:

  1. Linear Evolution: In the LaViT architecture, Shuoxi Zhang proposes calculating full attention only at the start of a stage and then using computationally cheap linear transformations to "evolve" those scores for subsequent layers.
  2. Parametric Functions: Venkataramanan et al. replace entire heavy attention blocks with lightweight parametric functions that approximate the attention output based on previous layers, significantly increasing throughput.
  3. Hardware-Aware Reuse: For in-memory computing, Abhishek Moitra and Priyadarshini Panda developed TReX. TReX reuses attention maps across layers while adding a tiny "Transformation Block" to maintain data variety, cutting energy-delay costs by over 2x.

Softmax Unification in LLMs

This redundancy isn't limited to computer vision; it is arguably even more pronounced in Large Language Models. Yizhe Xiong and Zijia Lin introduced UniAttn, which targets the Softmax activations in LLM attention heads.

They discovered that activations in the top half of many models show extremely high similarity. By unifying these operations into "Superblocks"—essentially forcing multiple layers to share the same attention distribution—and applying a linear compensation trick to fix the resulting numerical shifts, they reduced inference latency (Time-to-First-Token) by up to 36% without needing to retrain the model from scratch.

Redundancy Beyond the Transformer

The insight that "more gates do not always mean more intelligence" extends to recurrent architectures as well. In the context of gesture recognition, Guangming Zhu and Liang Zhang found that standard Convolutional LSTMs (ConvLSTMs) often contain redundant spatial convolutions within their gates.

When the input features have already been processed by a strong feature extractor (like a 3DCNN), the internal spatial gates of the LSTM become redundant. Removing them slashed the parameter count by 90% and, counter-intuitively, improved accuracy by making the model easier to optimize.

Why It Works

The success of these methods reveals a fundamental truth about modern deep architectures: The bottleneck is often the frequency of communication (attention), not the capacity for transformation (feed-forward layers).

By recognizing that the "routing" of information (who attends to whom) stays relatively static after the first few layers, we can stop treating every layer as a blank slate. Instead, we treat the network as a process of refining content through a fixed or slowly evolving structural template. This shift moves us away from "brute force" depth and toward a more surgical, efficient use of parameters.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_exploiting_attention_redundancy_across_t_3614e40a,
  title = {Exploiting Attention Redundancy Across Transformer Layers},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/exploiting-attention-redundancy-across-transformer-layers/rdr_3614e40ac20e4b71bf6fbaa4678fb969},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_exploiting_attention_redundancy_across_t_3614e40a_v1,
  title = {Exploiting Attention Redundancy Across Transformer Layers},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/exploiting-attention-redundancy-across-transformer-layers/rdr_3614e40ac20e4b71bf6fbaa4678fb969/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}