Research map / Architectures and efficiency / Attention and transformers
DHA: Learning Decoupled-Head Attention from Transformer Checkpoints via Adaptive Heads Fusion
Yilong Chen, Linhao Zhang, Junyuan Shang, Zhenyu Zhang, Tingwen Liu, Shuohuan Wang, Yu Sun
Chinese Academy of Sciences · Baidu
Read the paperPlace an idea next to itCheck your own paper ↗
Proposes DHA, which converts multi-head attention checkpoints into decoupled-head attention by adaptively fusing (merging) heads of pretrained transformers to cut inference cost with little continued pretraining.
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Problem
Multi-Head Attention in LLMs incurs large compute and memory costs at inference; existing head pruning or parameter sharing often degrades performance or needs substantial continued pretraining.
Approach
Learns decoupled key/value heads from existing transformer checkpoints by adaptively fusing heads (segment-based head merging with learned fusion), rather than pruning or sharing heads from scratch, so that the converted model retains performance with limited additional training.
Open problems in sparse attention for long-context LLMs
Which attention can a long-context model drop without losing the answer?
- The overhead does not vanish. · 14 papers state it
- Very long contexts hit memory limits or go untested. · 8 papers state it
- Sparsity speeds up prefill or decoding, not both. · 6 papers state it
Experimental setup
Baselines: multi-head attention grouped-query attention multi-query attention head pruning
Builds on: multi-query attention grouped-query attention uptraining
Closest papers by meaning
- Virtual Head Attention (NeurIPS 2026 · similarity 0.89)
- MoH: Multi-Head Attention as Mixture-of-Head Attention (ICML 2025 · similarity 0.89)
- CHAI: Clustered Head Attention for Efficient LLM Inference (ICML 2024 · similarity 0.88)
- Beyond Linear Approximations: A Novel Pruning Approach for Attention Matrix (ICLR 2025 · similarity 0.88)
- CateKV: On Sequential Consistency for Long-Context LLM Inference Acceleration (ICML 2025 · similarity 0.87)
- Tuning LayerNorm in Attention: Towards Efficient Multi-Modal LLM Finetuning (ICLR 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.