Research map / Architectures and efficiency / Attention and transformers
Depth-Attention: Cross-Layer Value Mixing for Language Models
Boyi Zeng, Yiqin Hao, Zitong Wang, Shixiang Song, He Li, Feichen Song, Yifan Liu, Ziwei He, Xinbing Wang, Zhouhan Lin
Shanghai Jiao Tong University · Sun Yat-sen University · Shanghai Innovation Institute · Shanghai AI Laboratory
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add Depth-Attention | Vanilla Qwen3-style 1.5B · Pile validation | perplexity: 8.17 -> 7.77 | Improved |
| add Depth-Attention | Vanilla Qwen3-style 3B · Pile validation | perplexity: 7.55 -> 7.25 | Improved |
| add Depth-Attention | Vanilla 1.5B · Downstream average (zero-shot) | accuracy: 51.26 -> 53.60 | Improved |
| add Depth-Attention | Vanilla 3B · Downstream average (five-shot) | accuracy: 54.16 -> 56.17 | Improved |
| use Depth-Attention instead of Attention Residuals | 1.5B Qwen3-style · Downstream average (five-shot) | accuracy: 53.66 -> 53.72 | Improved |
| use Depth-Attention instead of cross-layer baselines | Qwen3-style models · per-task downstream accuracy | accuracy | Mixed |
| use Depth-Attention instead of DenseFormer | 3B Qwen3-style · 128K prefill extra memory | GiB: 24.0 -> 0 | Improved |
| add Depth-Attention | Vanilla 3B · Training wall-clock | sec/step: 4.63 -> 5.15 (+11.2%) | Hurt |
| add Depth-Attention | Vanilla 3B · Inference time | seconds: 526.6 -> 532.8 (+1.18%) | Hurt |
| add Depth-Attention | Looped Transformer 500M · validation loss | validation loss: 2.208 -> 2.194 | Improved |
| use per-head softmax mixing instead of uniform mixing (ablation) | Depth-Attention 500M · validation loss | validation loss: 2.2153 -> 2.2115 | Improved |
| mix values only instead of keys (ablation) | Depth-Attention 500M · validation loss | validation loss: 2.2354 (key-only) / 2.2198 (key-value) -> 2.2115 | Improved |
Open problems this paper states
- “Validated only up to 3B parameters and 32B training tokens on the Pile.” → Validated only on models up to about 13B parameters. (an open problem in long-context KV and memory attention)
- “Current implementation is not fused into the attention kernel, so measured overhead exceeds the asymptotic analysis.” → Speedups are limited because the code is not fused or kernel-optimized. (an open problem in long-context KV and memory attention)
Open problems in long-context KV and memory attention
How can long-context attention be made fast and small in memory without losing quality against full attention?
- Validated only on models up to about 13B parameters. · 8 papers state it
- Speedups are limited because the code is not fused or kernel-optimized. · 5 papers state it
- Compressed or sparse attention still trails full attention. · 4 papers state it
Closest papers by meaning
- Reducing Transformer Key-Value Cache Size with Cross-Layer Attention (NeurIPS 2024 · similarity 0.90)
- Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibration (ICML 2024 · similarity 0.90)
- Q Cache: Visual Attention Is Valuable in Less than Half of Decode Layers for Multimodal Large Language Model (AAAI 2026 · similarity 0.89)
- More Value per Key: Asymmetric Sparse Attention for Faster LLM Decoding (NeurIPS 2026 · similarity 0.89)
- Virtual Head Attention (NeurIPS 2026 · similarity 0.89)
- DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads (ICLR 2025 · similarity 0.89)
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.