atlas

Research map / Architectures and efficiency / Mixture of experts

MoH: Multi-Head Attention as Mixture-of-Head Attention

ICML 2025 · Architectures and efficiency › Mixture of experts · approach: Sparse MoE as regularization and attention · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

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.

Proposes Mixture-of-Head attention (MoH), which treats attention heads as MoE experts with per-token top-K routing and weighted summation, reducing activated heads to 50-90% while matching or beating multi-head attention on ViT, DiT, LLMs, and LLaMA3-8B continue-tuning.

Problem

Standard multi-head attention activates all heads for every token even though many heads are redundant, raising computational cost without a corresponding accuracy benefit.

Approach

Rewrite multi-head attention in summation form and treat heads as MoE experts: a router selects top-K heads per token, combines them with weighted (rather than plain) summation, and designates always-on shared heads, with a two-stage routing that balances shared and routed heads. Pretrained MHA models like LLaMA3-8B can be continue-tuned into MoH with a parameter-free norm-based router and straigh

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace TransNeXt-B attention with MoH and activate 75% of headsTransNeXt-B · ImageNet-1Kaccuracy: 84.8 -> 84.9Helped
Replace DiT-S/2 attention with MoH and activate 90% of headsDiT-S/2 · ImageNet-1K 256×256, 400K stepsFID: 68.40 -> 67.25Helped
Replace DiT-B/2 attention with MoH and activate 90% of headsDiT-B/2 · ImageNet-1K 256×256, 400K stepsFID: 43.47 -> 43.40Helped
Replace DiT-L/2 attention with MoH and activate 90% of headsDiT-L/2 · ImageNet-1K 256×256, 400K stepsFID: 23.33 -> 23.17Helped
Replace DiT-XL/2 attention with MoH and activate 90% of headsDiT-XL/2 · ImageNet-1K 256×256, 7,000K steps, cfg=1.25FID: 3.22 -> 2.94Helped
Train LLM-S with MoH and activate 50% of headsLLM-S · LLM benchmarks, 100B tokensaverage accuracy: 43.9 -> 45.4Helped
Continue-tune LLaMA3-8B into MoH and activate 75% of headsLLaMA3-8B · 14 benchmarksaverage accuracy: 61.6 -> 64.0Helped
Activate 50% of attention heads with MoHMulti-Head Attention · Attention inference, sequence length 256time: 0.360 -> 0.225Helped
Activate 50% of attention heads with MoHMulti-Head Attention · Attention inference, sequence length 512time: 1.376 -> 0.863Helped
Add shared heads (ablation)MoH-ViT-S · ImageNet-1K, 100 epochs, 75% headsaccuracy: 75.6 -> 78.3Helped
Add two-stage routing (ablation)MoH-ViT-S · ImageNet-1K, 100 epochs, 75% headsaccuracy: 78.3 -> 78.6Helped
Vary shared-head ratio from 13.9% to 74.0% (ablation)MoH-ViT-S · ImageNet-1K, 100 epochs, 75% headsaccuracy: 78.6; 78.4No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K RedPajama Dolma Pile

Benchmarks: ImageNet-1K SciQ PIQA WinoGrande OpenbookQA LogiQA TruthfulQA MMLU CEVAL CMMLU GSM8K HellaSwag

Metrics: top-1 accuracy FID sFID IS precision recall exact match average accuracy

Baselines: TransNeXt DiT LLaMA3-8B DeiT Swin Transformer MoA LLM baseline (vanilla MHA, same architecture)

Builds on: multi-head attention mixture-of-experts TransNeXt DiT Megatron

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