paper-with-me

홈 › Papers

HydraHead: From Head-Level Functional Heterogeneity to Specialized Attention Hybridization

2026-06-18 · Zhentao Tan, Wei Chen, Jingyi Shen, Yao Liu, Xu Shen, Yue Wu, Jieping Ye arxiv

The quadratic complexity of attention poses a critical bottleneck for long-context processing, spurring interest in hybrid attention designs. Most open-source hybrid models adopt a layer-wise strategy. Yet, prior work has noted the inherent difficulty of integrating Linear Attention (LA) with Full Attention (FA), suggesting that the design space of attention hybridization remains underexplored. To probe this space, we conduct interpretability analysis and observe that layers exhibit block-wise functional similarity, while individual heads within the same layer display distinct functional specialization despite sharing input features. This head-level heterogeneity suggests that the head dimension provides a natural and principled granularity for fusing heterogeneous attention signals. Building on this insight, we introduce HydraHead, a novel architecture that hybridizes FA and LA along the head axis. HydraHead features two key innovations: (1) an interpretability-driven selection strategy that identifies retrieval-critical heads and preserves FA only for them, and (2) a scale-normalized fusion module that reconciles the distributional gap between FA and LA head outputs. By leveraging a three-stage transfer pipeline with parameter reuse and distillation, we achieve high-performance hybrid models with minimal training overhead. Under a unified training setup, HydraHead outperforms other hybrid designs in long-context tasks while maintaining strong general reasoning. With interpretability-driven head selection, it matches a 3:1 layer-wise hybrid's long-context performance at a 7:1 LA-to-FA ratio. Crucially, trained on only 15B tokens, HydraHead achieves over 69% improvement over the baseline at 512K context length, approaching Qwen3.5, a leading model of comparable size with a native context length of 256K. This highlights the significant scaling potential of head-level hybridization.

📄 PDF Abstract BibTeX arXiv:2606.20097

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Mechanistic Insights into Functional Sparsity in Multimodal LLMs via CoRe Heads

2026-06-04 · Ruoxi Sun, Quantong Qiu, Juntao Li, Zecheng Tang 외 arxiv

While Multimodal Large Language Models (MLLMs) demonstrate remarkable proficiency on complex vision-language tasks, the mechanisms by which they extract query-relevant visual features from complex, noisy contexts remain …

Cross-Modal RetrievalMultimodal Reasoning

Attention in Space: Functional Roles of VLM Heads for Spatial Reasoning

2026-03-21 · Xueqi Ma, Shuo Yang, Yanbei Jiang, Shu Liu 외 arxiv

Despite remarkable advances in large Vision-Language Models (VLMs), spatial reasoning remains a persistent challenge. In this work, we investigate how attention heads within VLMs contribute to spatial reasoning by analyz…

Relational ReasoningSpatial Reasoning

Safety-Utility Conflicts Are Not Global: Surgical Alignment via Head-Level Diagnosis

2026-01-07 · Wang Cai, Yilin Wen, Jinchang Hou, Du Su 외 arxiv

Safety alignment in Large Language Models (LLMs) inherently presents a multi-objective optimization conflict, often accompanied by an unintended degradation of general capabilities. Existing mitigation strategies typical…

Head Forcing: Long Autoregressive Video Generation via Head Heterogeneity

2026-05-14 · Jiahao Tian, Yiwei Wang, Gang Yu, Chi Zhang arxiv

Autoregressive video diffusion models support real-time synthesis but suffer from error accumulation and context loss over long horizons. We discover that attention heads in AR video diffusion transformers serve function…

Video Generation

Firm Heterogeneity and Macroeconomic Fluctuations: a Functional VAR model

2024-11-08 · Massimiliano Marcellino, Andrea Renzetti, Tommaso Tornese

We develop a Functional Augmented Vector Autoregression (FunVAR) model to explicitly incorporate firm-level heterogeneity observed in more than one dimension and study its interaction with aggregate macroeconomic fluctua…

Dimensionality Reduction