Puls Dane publiczne, aktualizowane automatycznie
arXiv – nowe publikacje publikacja

Language Models Can Control Their Own Attention

[Przetwarzanie języka] Autorzy: Namgyu Ho, Huzama Ahmad, Woosung Koh i 3 więcej

Language models spend most of their attention on a small fraction of context, yet they read the entire KV cache to find the few tokens that matter. If the user asks about a previous detail in a 1M-token conversation, global attention layers must scan the full context to generate each token of the reply. A prominent approach mitigates this cost by pre-selecting relevant tokens via lightweight proxy scores, but this extrinsic scoring still incurs O(N) per step. We take an intrinsic approach motivated by the simple question: wouldn't the model already know which parts of the context are relevant? To this end, we introduce Declarative Attention (DA), a protocol that elicits the model to declare where it needs to attend within its chain-of-thought, partitioning generation into three modes: <global> (full context), <focus> (a specific region), and <local> (recent output only). The inference e…

Kategoria arxiv
cs.CL
Kategoria
Przetwarzanie języka
Pdf
https://arxiv.org/pdf/2609.02737v1

Otwórz oryginał w źródle ↗

Więcej z tego źródła

Wszystkie