KAIST and DeepMind propose Declarative Attention: models declare which context they need, cutting KV reads by 46%
coallaoh · x · 2026-10-18
Researchers from KAIST AI and Google DeepMind (first author Namgyu Ho, with Tal Schuster and Cicero dos Santos) introduce Declarative Attention (DA), a sparse attention protocol where the model itself declares which context it needs.
Core idea: instead of extrinsic proxy scoring that still costs O(N) per step, the model annotates its chain-of-thought in plain text with three modes — <global> (full context), <focus> (a specific region), <local> (recent output only) — and the inference engine parses these like tool calls to skip most KV cache reads.
Results (zero-shot across 15 long-context tasks on off-the-shelf Gemma-4 31B and Qwen-3.6 27B):
- 46% reduction in global-attention KV reads with only 1.4pp accuracy drop on Gemma; 20% with 2.1pp on Qwen
- Attended tokens per response drop to 45.8%/19.6%, and the accuracy gap shrinks with model scale
The authors see further potential in agentic settings with dedicated post-training, and model-controlled KV cache offloading as reversible context compaction. Code is open-sourced.
More from Infra
- Hugging Face founder: $1B of training compute shared free on the Hub, up 25x since 2023 — Thom_Wolf · 2026-10-18
- BofA: AI GPUs run near 100% utilization, rental rates up 12%-37% YTD — not dotcom glut — McDonaghMatthew · 2026-10-18
- Reddit take: data centers are becoming the new oil drills — Unique_Ad_330 · 2026-10-18
- Robotics to demand 363 TWh of electricity globally by 2035, per Wood Mackenzie — ingliguori · 2026-10-18
- Leap second during backup silently skips it: Antithesis clock bug detailed — moarbugs · 2026-10-18
- Musk's Terafab vision: AI chip race shifts to full vertical integration for speed — tekbog · 2026-10-18