Declarative Attention lets LLMs declare their own focus, cutting 52% of KV cache reads
eigenlaplace · reddit · 2026-09-05
A new arXiv paper proposes Declarative Attention (DA): instead of pre-selecting tokens with extrinsic proxy scores, the model itself declares where it needs to attend within its chain-of-thought.
- Motivation: attention concentrates on a small fraction of context, yet global layers scan the full KV cache each step; proxy-based sparse methods still cost O(N) per step.
- Method: generation is partitioned into three modes — <global> (full context), <focus> (a specific region), and <local> (recent output only). The inference engine parses these declarations like tool calls and skips most KV cache reads.
- Results: zero-shot across 15 long-context tasks on off-the-shelf models (Gemma-4-31B, Qwen-3.6-27B), DA cuts total attended tokens during decoding by 52.0% and 31.1% with modest accuracy drops (1.27pp / 2.75pp) that shrink with scale.
The authors frame DA as a new axis of sparse attention with further potential under training-based methods.
Related event: Declarative Attention Lets LLMs Cut KV Reads by 52%(3 posts)→
More from Infra
- Tencent Hunyuan Hy4 preview: 770B total/49B active, 1M context, Apache 2.0, day-0 vLLM — aftahi_ai · 2026-09-05
- Qwen3.8 27B Quant Fits 24GB VRAM at 100k Context, Sparking Local Model Profit-Threat Debate — ChopSticksPlease · 2026-09-05
- Speechify CEO on self-built data centers, ElevenLabs leapfrog, and the $15M AI talent war — 20VC · 2026-09-05
- He Uses Local LLMs Like a 3D Printer: 12 Games, 29 Mods and Countless Tools Built Solo — Quebber · 2026-09-05
- Zhipu monetizes compute at $8-10M/MW, 5x below Anthropic and OpenAI's $40-50M/MW — zephyr_z9 · 2026-09-05
- Developer frustrated by mysterious $0.1/month AWS charges after quitting the platform — kylegawley · 2026-09-05