Skip to main content

Envisioning is an emerging technology research institute and advisory.

LinkedInInstagramGitHub

Since 2010

research
  • Observatory
  • Adaptive capacity
  • Newsletter
  • Methodology
  • Origins
  • Vocab
  • RSS feeds
services
  • Signals Session
  • Bespoke Projects
  • Build Sessions
  • Pricing
  • Use cases
  • Signals
  • Signal Scan↗free
impact
  • ANBIMAFuture of Brazilian Capital Markets
  • IEEECharting the Energy Transition
  • Horizon 2045Future of Human and Planetary Security
  • WKOTechnology Scanning for Austria
solutions
  • Innovation
  • Strategy
  • Consultants
  • Foresight
  • Associations
  • Governments
  • L&D
resources
  • Partners
  • Coding for Non-Coders
  • How we work
  • Data visualization
  • Multi-Model Convergence
  • FAQ
  • Security and privacy
  • Public sector
about
  • Manifesto
  • Community
  • Events
  • Support
  • Contact
ResearchCapabilityServicesSignalsAbout
ResearchCapabilityServicesSignalsAbout
  1. Home
  2. Vocab
  3. Declarative Attention (DA)

Declarative Attention (DA)

An inference protocol where a language model declares which parts of the context it is attending to, allowing the inference engine to skip most of the KV cache read.

Year: 2026Generality: 500Added: Sep 4, 2026
Back to Vocab

Declarative Attention (DA) is an inference protocol introduced by Ho et al. (KAIST AI and Google DeepMind) in 2026. Rather than having the inference engine read the entire KV cache on every generated token, DA lets the model declare which parts of the context it is attending to, using a syntax embedded in the chain-of-thought. The inference engine parses the declarations and skips the rest of the KV cache read.

DA partitions generation into three modes. In global mode, the model reads the full context, used for navigation across the prompt. In focus mode, the model reads only a specific named region (a "magic chunk"), used for reasoning about a particular piece of context. In local mode, the model reads only the recent output, used for responding without re-reading the prompt. The model alternates between these modes freely during a single response.

On long-context tasks, DA reduces attended tokens during decoding by 52% on Gemma-4-31B and 31% on Qwen-3.6-27B, with accuracy drops of 1.27 percentage points and 2.75 percentage points respectively. The accuracy cost shrinks with model scale. The protocol runs on off-the-shelf models without retraining, requiring only a declarative attention syntax in the system prompt and an inference engine that respects the declarations.

The motivation is intrinsic rather than extrinsic. Instead of pre-selecting relevant tokens via a learned proxy scorer, the protocol trusts the model to know which parts of its own context are relevant. DA is related to but distinct from sparse attention, which selects tokens to attend to via learned or heuristic mechanisms rather than the model's own declarations.

Sources

  1. Language Models Can Control Their Own Attention

    arXiv · Sep 2, 2026

  2. elvis (@omarsar0) on Declarative Attention as a Google DeepMind KV cache paper

    X (Twitter) · Sep 2, 2026

  3. Native Sparse Attention (DeepSeek, 2025) for comparison

    arXiv · Jul 17, 2025

Research this in Signals

Scan Declarative Attention (DA) for yourself.

Signals turns a topic into a sourced research record you can inspect and rerun. Your first scan is free, and this one starts with Declarative Attention (DA) already loaded, so edit it or scan as is.