paper-with-me

홈 › Papers

A Systematic Analysis of Hybrid Linear Attention

2025-07-08 · Dustin Wang, Rui-Jie Zhu, Steven Abreu, Yong Shan, Taylor Kergan, Yuqi Pan, Yuhong Chou, Zheng Li, Ge Zhang, Wenhao Huang, Jason Eshraghian

Transformers face quadratic complexity and memory issues with long sequences, prompting the adoption of linear attention mechanisms using fixed-size hidden states. However, linear models often suffer from limited recall performance, leading to hybrid architectures that combine linear and full attention layers. Despite extensive hybrid architecture research, the choice of linear attention component has not been deeply explored. We systematically evaluate various linear attention models across generations - vector recurrences to advanced gating mechanisms - both standalone and hybridized. To enable this comprehensive analysis, we trained and open-sourced 72 models: 36 at 340M parameters (20B tokens) and 36 at 1.3B parameters (100B tokens), covering six linear attention variants across five hybridization ratios. Benchmarking on standard language modeling and recall tasks reveals that superior standalone linear models do not necessarily excel in hybrids. While language modeling remains stable across linear-to-full attention ratios, recall significantly improves with increased full attention layers, particularly below a 3:1 ratio. Our study highlights selective gating, hierarchical recurrence, and controlled forgetting as critical for effective hybrid models. We recommend architectures such as HGRN-2 or GatedDeltaNet with a linear-to-full ratio between 3:1 and 6:1 to achieve Transformer-level recall efficiently. Our models are open-sourced at https://huggingface.co/collections/m-a-p/hybrid-linear-attention-research-686c488a63d609d2f20e2b1e.

📄 PDF Abstract BibTeX arXiv:2507.06457

Code (0)

등록된 구현이 없습니다.

Tasks

BenchmarkingLanguage ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

Massive Activations in Hybrid Linear Attention Large Language Models: Pre-Attention Spikes and Inter-Spike Plateaus

2026-08-12 · Zunhai Su, Bohan Sun, Xialie Zhuang, Shuibai Zhang 외 hf

We present the first systematic study of Massive activations (MAs) in layer-interleaved HLA LLMs and uncover two architecture-aligned morphologies: MAs consistently spike immediately before full attention layers, forming…

SoLA-Vision: Fine-grained Layer-wise Linear Softmax Hybrid Attention

2026-01-16 · Ruibang Li, Guan Luo, Yiwei Zhang, Jin Gao 외 arxiv

Standard softmax self-attention excels in vision tasks but incurs quadratic complexity O(N^2), limiting high-resolution deployment. Linear attention reduces the cost to O(N), yet its compressed state representations can …

Representation Learning

Financial Time-Series Forecasting: Towards Synergizing Performance And Interpretability Within a Hybrid Machine Learning Approach

2023-12-31 · Shun Liu, Kexin Wu, Chufeng Jiang, Bin Huang 외

In the realm of cryptocurrency, the prediction of Bitcoin prices has garnered substantial attention due to its potential impact on financial markets and investment strategies. This paper propose a comparative study on hy…

Hybrid Machine LearningTime SeriesTime Series AnalysisTime Series Forecasting

Every Attention Matters: An Efficient Hybrid Architecture for Long-Context Reasoning

2025-10-22 · Ling Team, Bin Han, Caizhi Tang, Chen Liang 외 arxiv

In this technical report, we present the Ring-linear model series, specifically including Ring-mini-linear-2.0 and Ring-flash-linear-2.0. Ring-mini-linear-2.0 comprises 16B parameters and 957M activations, while Ring-fla…

Reinforcement Learning

Rethinking the Role of Efficient Attention in Hybrid Architectures

2026-06-13 · Ziqing Qiao, Yinuo Xu, Chaojun Xiao, Zhou Su 외 arxiv

Modern language models increasingly adopt hybrid architectures that combine full attention with efficient attention modules, such as sliding-window attention (SWA) and recurrent sequence mixers. However, how these effici…