论文78°

Google DeepMind发布声明注意力机制论文

Banger paper from Google DeepMind and colleagues. (bookmark it) A model reads its entire KV cache ...

精选理由

DeepMind新论文让模型自己决定看哪里,大幅减少长文本处理时的计算量。

AI 摘要

Google DeepMind团队提出声明注意力机制(Declarative Attention),模型通过思维链声明需要关注的信息区域。在15个长上下文任务中,Gemma-4-31B解码时关注token减少52.0%,Qwen-3-6-27B减少31.1%。该机制将生成分为全局读取、焦点读取和局部读取三种模式。

原文 · elvis

Banger paper from Google DeepMind and colleagues. (bookmark it) A model reads its entire KV cache ...

Banger paper from Google DeepMind and colleagues. (bookmark it) A model reads its entire KV cache on every generated token, even though it ends up attending to a tiny slice of it. In other words, if you ask about one detail from a 1M-token conversation the global attention layers re-read all of it, per token. The usual fix is to guess the relevant tokens first with cheap proxy scores, which still costs O(N) every step. Declarative Attention asks the model instead. The model declares where it needs to look, inside its own chain-of-thought. In this way, generation splits into three modes: global reads the full context, focus reads one specific region, and local reads only recent output. The inference engine parses those declarations the same way it parses tool calls and skips most of the cache read. On zero-shot on off-the-shelf weights across 15 long-context tasks, attended tokens during decoding drop 52.0% on Gemma-4-31B and 31.1% on Qwen-3.6-27B. Paper: arxiv.org/abs/2609.02737 Chat with Paper: academy.dair.ai/papers/languag… 💬 2 🔄 1 ❤️ 7 👀 1615 📊 5 ⚡