跳到正文
arXiv cs.AI· Irmaan Mirzanejad·· 2 小时前AI 评分47

LLM 注意力 Top-K 选择局限性研究:当精确 token 重要性仍不足够

When Exact Token Importance Is Not Enough: Limits of Top-K Selection in LLM Attention

AI 导读

一项 arXiv 研究表明,长上下文大语言模型中基于逐个位置打分的 Top-K 注意力选择并不可靠:即使重要性分数精确衡量删除该位置的下游影响,独立排序仍可能选错组合。

正文 · 原文

View PDF HTML (experimental)

Abstract:Long-context language models often retain only a limited set of past token positions for an attention query. A common strategy scores positions individually and keeps the highest-ranked K. Yet attention weights are renormalized over the chosen set: two individually important positions need not form the best pair. We ask whether independent ranking suffices even when each importance score measures the exact downstream change in next-token predictions caused by deleting that position alone. It does not. A four-position construction makes the ranked pair incur 133.2 times the Kullback-Leibler (KL) divergence of the optimal pair, and a parametric family proves that this multiplicative gap is unbounded. An exact exchange identity and preference reversals for every K >= 2 explain the interaction. In exhaustive frozen-model audits of SmolLM2, Gemma, and Qwen, exact-singleton Top-4 leaves at least 10% relative improvement within a fully enumerated 24-position candidate pool in 55/60, 49/60, and 60/60 cases, respectively. SwapCert, a same-budget one-swap audit, detects 157/164 such cases and returns directly checkable improving supports. A KL-margin certificate relates support fidelity to next-token stability; larger-budget, multi-layer cached-decoding experiments measure predictive fidelity at K = 128 and 256. These results establish joint support quality as an essential object of analysis for sparse attention and motivate downstream-aware support selection under inference constraints.
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI)
Cite as: arXiv:2611.32324 [cs.LG]
  (or arXiv:2611.32324v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2611.32324

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Irmaan Mirzanejad [view email]
[v1] Tue, 24 Nov 2026 10:15:39 UTC (244 KB)

来源:arXiv cs.AI · arxiv.org