Householder-Diagonalized Linear Attention (HDLA): Utilizing Enhanced Decay Mechanism for Efficient Sequence Modeling

Jiefu Zhang, Zhen Qin, Jiabo Tong, Shijie Mei, JiaKui Hu, Yuqi Pan, Anjie Hu, Man Yao, Bo Xu, Guoqi LiICLR 2026

Standard Transformers rely on Softmax attention, which suffers from quadratic $O(n^2)$ time and space complexity. This makes processing long documents or large codebases prohibitively expensive. Linear attention offers a solution by reducing complexity to $O(n)$ and using a fixed-size hidden state (a "compressed memory").

However, an "expressive gap" between linear and Softmax attention remains. This gap is largely determined by the decay matrix—the mechanism that decides what the model remembers or forgets over time. Until now, most high-performing linear attention models were restricted to "Diagonal-Plus-Rank-1" structures. The authors argue that this structural simplicity limits the model's ability to manage complex information, effectively hitting a performance ceiling.

The HDLA Mechanism

To bridge this gap, the authors introduce the Householder-Diagonalized Linear Attention (HDLA) mechanism. The paper makes two major technical contributions:

  1. Diagonal-Plus-Rank-2 (DPR2) Structure: Inspired by the congruence diagonalization theory of real symmetric matrices, the authors propose using generalized Householder matrices to diagonalize the decay matrix. This allows them to move from a Rank-1 update to a more expressive DPR2 structure. This added rank allows the model to perform more sophisticated updates to its internal memory at each step.
  2. Rank-Generalized Chunk-wise Parallel Algorithm: A major hurdle for complex decay structures is that they often break the ability to train the model in parallel. The authors derived a new algorithmic framework that supports arbitrary diagonal terms and rank-$r_{kv}$ updates. This provides a versatile foundation not just for HDLA, but for any future research into high-rank linear attention.
HDLA Architecture

From a theoretical standpoint, HDLA can be viewed through the lens of Test-Time Training (TTT). In this view, the hidden state update is equivalent to a three-step optimization process: first penalizing redundant information, then decaying eigenvalues, and finally updating with new key-value pairs.

Key Insights

  • Rank Matters: Moving from Rank-1 to Rank-2 decay isn't just a marginal tweak; it significantly narrows the performance gap with Softmax attention, especially in tasks requiring high-fidelity memory (like memorization and retrieval).
  • Preemptive Penalization: One of the key findings in the TTT analysis is that HDLA "preemptively penalizes" high inner-product similarity between new keys and the existing hidden state. This effectively clears out redundant information before the new information is stored, leading to a more efficient use of the fixed-size memory.
  • Algorithmic Versatility: By creating a parallel algorithm that handles generalized ranks, the authors have removed a significant engineering blocker, allowing others to experiment with even higher-rank structures without losing training efficiency.

State-of-the-Art Results

The models were trained and evaluated on a wide array of benchmarks, including FineWeb-Edu (at 10B and 50B token scales), synthetic benchmarks (MAD, MQAR), and downstream reasoning tasks. HDLA sets new state-of-the-art benchmarks for linear attention models:

  • Language Modeling: At the 2.8B parameter scale, HDLA outperforms other linear baselines (like Gated DeltaNet and Mamba2) and even surpasses the Softmax-based Llama architecture in perplexity on Wikitext and Lambada.
  • Retrieval Power: On the MQAR task at a sequence length of 2048, HDLA maintained robust performance, achieving nearly 80% higher accuracy than Gated DeltaProduct, which catastrophically failed at longer contexts.
Accuracy vs Sequence Length on MQAR
  • Long Context: On the RULER benchmark, it delivered up to a 58.2% accuracy gain over Gated DeltaNet.
  • Efficiency: Despite the increased complexity, HDLA maintains linear complexity. Its inference throughput reaches approximately 89.1% of GLA (one of the fastest existing linear models), proving it is practical for real-world deployment.

Limitations and Future Work

While HDLA pushes the boundaries of linear attention, several avenues for improvement remain. The current work uses a "naive" approach to state expansion by simply increasing the number of heads; more sophisticated, functionally differentiated methods could yield better results. Additionally, the hidden state updates are still purely linear. Introducing non-linear operations could further boost expressiveness. Finally, due to compute limits, the 1.45B and 2.8B models were not trained to "Chinchilla optimality," meaning their full potential might be even higher than reported.

Summary updated

BibTeX
@inproceedings{zhang2026householder,
  author = {Jiefu Zhang and Zhen Qin and Jiabo Tong and Shijie Mei and JiaKui Hu and Yuqi Pan and Anjie Hu and Man Yao and Bo XU and Guoqi Li},
  title = {{Householder-Diagonalized Linear Attention (HDLA): Utilizing Enhanced Decay Mechanism for Efficient Sequence Modeling}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=HVFjzaQeig},
}
Figure