Research map / Architectures and efficiency / Attention and transformers
Attention Entropy is a Key Factor: An Analysis of Parallel Context Encoding with Full-attention-based Pre-trained Language Models
Zhisong Zhang, Yan Wang, Xinting Huang, Tianqing Fang, Hongming Zhang, Chenlong Deng, Shuaiyi Li, Dong Yu
Tencent
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 |
|---|---|---|---|
| increase parallel degree from full attention to P=64 (naive parallel encoding) | Llama-3.1-8B · LM 8K | PPL: 5.35 -> 10.46 | Hurt |
| naive parallel encoding with P=64 | Llama-3.1-8B · Synthetic recall 8K | SubEM: 99.50 -> 0.00 | Hurt |
| naive parallel encoding with P=64 | Llama-3.1-8B · ICL 8K | accuracy: 66.00 -> 10.80 | Hurt |
| naive parallel encoding with P=64 | Llama-3.1-8B · RAG 8K | SubEM: 60.25 -> 33.00 | Hurt |
| add shared attention-sink prefix to parallel sub-pieces (ablation) | naive parallel encoding · LM, ICL, RAG, synthetic (8K) | PPL / accuracy / SubEM | Improved |
| add selective attention (top-K sub-piece selection) (ablation) | naive parallel encoding · RAG and synthetic recall (8K) | SubEM | Improved |
| add attention sinks rather than selective attention (ablation) | naive parallel encoding · ICL (8K) | accuracy | Improved |
| combine sinks and selective attention (ablation) | naive parallel encoding · all tasks (8K) | performance | Improved |
| vary top-K from 1 to 5 (ablation) | selective attention, P=64 · ICL 8K | accuracy: 26.00 -> 36.00 | Improved |
| increase top-K from 2 to 5 (ablation) | selective attention, P=64 · Synthetic recall 8K | SubEM: 24.88 -> 14.69 | Hurt |
| aggregate over layers in addition to head and token (ablation) | selective attention, P=64 · ICL 8K | accuracy: 36.00 -> 22.40 | Hurt |
| aggregate over layers in addition to head and token (ablation) | selective attention, P=64 · RAG 8K | SubEM: 48.75 -> 49.50 | Improved |
Open problems this paper states
- “Focuses on performance analyses, leaving efficient kernel-level implementation and speed analyses undone.” → Speedups are limited because the code is not fused or kernel-optimized. (an open problem in long-context KV and memory attention)
- “No universal method found to fully close the performance gaps between full attention and parallel context encoding.” → Compressed or sparse attention still trails full attention. (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
- Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibration (ICML 2024 · similarity 0.89)
- Curse of High Dimensionality Issue in Transformer for Long Context Modeling (ICML 2025 · similarity 0.88)
- When Attention Sink Emerges in Language Models: An Empirical View (ICLR 2025 · similarity 0.88)
- Core Context Aware Transformers for Long Context Language Modeling (ICML 2025 · similarity 0.88)
- Compressed Context Memory for Online Language Model Interaction (ICLR 2024 · similarity 0.88)
- Rope to Nope and Back Again: A New Hybrid Attention Strategy (NeurIPS 2025 · 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.