scimeatlas

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

NeurIPS 2024Architectures and efficiency › Attention and transformersapproach: Sparse attention for long-context LLMsopen problems in this approach2 citations (OpenAlex)

Chinese Academy of Sciences · Baidu

Read the paperPlace an idea next to itCheck your own paper ↗

In one sentence

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?

All 4 open problems and what was already tried →

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

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy