FBQ:从首个生成 token 学习未来位置探针,加速 LLM 缓存查询预测
Faster and Better Query (FBQ): Learning Future-Position Probes from the First Generated Token
AI 导读
一篇 arXiv 论文提出 Faster and Better Query(FBQ),利用大语言模型在 prefill 结束时已可获得的第一个输出 token 嵌入,学习七个未来位置的加性偏移,构建低成本伪查询以近似后续解码查询。
正文 · 原文
Abstract:When a large language model (LLM) evicts prompt keys and values at the end of prefill, it must decide what to keep before it sees the queries from subsequent decoding steps. Generating a draft continuation can approximate those queries at the cost of extra autoregressive steps. Can we use the embedding of the first output token, already available from the final prefill logits, to construct low-cost pseudo queries that approximate future decoding queries? We start with FTQ-8, which places eight copies of the first token ID at consecutive future positions and reads their attention to the prompt in one causal forward pass. Each copy sees a different prefix, but a generic opening such as the offers a poor literal guess for seven successive tokens. Faster and Better Query (FBQ) preserves the first embedding and learns an additive offset at each of the seven remaining positions. We train these offsets to predict the average prompt attention of a full-cache continuation. On LongBench, FBQ performs comparably to eight-step Lookahead Q-Cache at the same cache budget, using a single forward pass to compute all probe queries.
| Comments: | 5 pages, 2 figures, 1 table |
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.33679 [cs.AI] |
| (or arXiv:2611.33679v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.33679 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Jiankun Zou [view email]
[v1]
Wed, 25 Nov 2026 02:45:29 UTC (203 KB)
来源:arXiv cs.AI · arxiv.org