TLDR: A new paper reveals that current hybrid attention models, designed to combine efficient linear attention (LA) with traditional softmax attention (SWA), often ignore LA and rely almost entirely on SWA, leading to misleading performance claims. The researchers propose three solutions—inference-time hybridisation, HedgeCATs (attention-weight transfer with LoRA fine-tuning), and Scheduled Sliding-window Dropout (SSD)—to ensure both components genuinely contribute, restoring computational efficiency and accurate performance attribution.
Transformers have revolutionized many fields, from language processing to computer vision, but their core mechanism, attention, comes with a significant drawback: its computational cost grows quadratically with the length of the input sequence. This “quadratic bottleneck” makes it challenging and expensive to handle very long texts or complex data.
To address this, researchers have developed “linear attention” (LA) models, which promise to reduce this complexity to a linear scale. However, training these linear models from scratch is often prohibitively expensive and their performance can sometimes lag behind traditional Transformers. This led to the rise of “post-training linearisation methods,” where a pre-trained Transformer is converted into a linear or “hybrid” linear-softmax model. Hybrid models are particularly appealing because they combine the efficiency of linear attention with the strong representational power of sliding-window softmax attention (SWA).
Uncovering a Critical Flaw in Hybrid Attention
A recent research paper, “Paying Attention to Hybrid Attention: Untangling the Issues with Conversion Methods”, identifies a crucial, previously undetected flaw in these hybrid attention conversion methods. The authors discovered that existing hybrid models inadvertently bypass their linear attention component, relying almost entirely on the more powerful sliding-window softmax attention (SWA). This means that while these models are credited for using linear attention, their performance is largely driven by SWA, leading to misleading conclusions about the effectiveness of the linear component.
The researchers pinpointed that this imbalance stems from overlooked evaluation practices on common benchmarks and a lack of standard diagnostics to measure each component’s contribution. When they performed component-level diagnostics, they found that the linear attention path contributed very little to the overall accuracy, often performing no better than having no attention mechanism at all.
Three Solutions for Balanced Hybrid Attention
To ensure that both linear attention and sliding-window softmax attention genuinely contribute to the model’s performance, the paper proposes three practical solutions:
1. Inference-Time Hybridisation: This “zero-shot” approach involves taking models that have been fine-tuned with linear attention only (or not fine-tuned at all) and introducing sliding-window softmax attention during the inference phase. This method avoids further training and ensures that the linear component has already learned to stand on its own before SWA is added.
2. HedgeCATs (HedgeHog Transfer with LoRA Fine-tuning): This method combines the strengths of two existing conversion techniques. First, it uses a “HedgeHog-style” attention-weight transfer to teach the linear attention feature map to mimic full softmax attention, focusing solely on the linear path. Then, it applies “LoLCATs-style” LoRA fine-tuning, reintroducing SWA. The key here is careful early stopping during fine-tuning to prevent the model from collapsing back to relying only on SWA.
3. Scheduled Sliding-window Dropout (SSD): This innovative training intervention directly tackles SWA dominance during fine-tuning. SSD stochastically suppresses the softmax branch (SWA) during training according to a schedule. By dropping out the SWA component, especially in early training epochs, the model is forced to learn and utilize the linear attention path, promoting a more balanced contribution from both components.
Also Read:
- Unraveling Low-Precision Transformer Training Failures in Flash Attention
- Boosting Transformer Efficiency with Compressed Convolutional Attention
Restoring Validity and Efficiency
The proposed methods successfully recover most of the base model’s performance while ensuring genuine adoption of the linear attention pathway. This restores the validity of performance attributions in hybrid conversions, meaning that when a model is said to use linear attention, it actually does. Furthermore, these solutions maintain the computational efficiency that linear attention promises, offering different trade-offs in terms of simplicity, individual component performance, and training cost.
The findings highlight that simply combining linear and softmax attention isn’t enough; careful design and training interventions are crucial to prevent the model from ignoring the efficient linear component. By addressing this critical failure mode, this research paves the way for more effective and genuinely efficient Transformer architectures.


