Faster and Better Query (FBQ): Learning Future-Position Probes from the First Generated 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.
Create a lesson
Metadata
- Comments
- 5 pages, 2 figures, 1 table
Related papers
EgoUseBench: Benchmarking Computer-Use Agents under Evolving First-Person Contexts
Shared title terminologycs.AIYurun Chen, Biao Yi, Qihang Yu et al.
Spectral Optimal Transport for Dynamics-Aware Sign Language Generation
Shared title terminologycs.AINabeela Khan, Bowen Wu, Runwu Shi et al.
InterGenEHR^+: An Interactive Framework for Natural Language-Conditioned Generation of Longitudinal Patient Trajectories
Shared title terminologycs.AIYu Yang, Jiafeng Song, Baraa F Abed et al.
KeyDeck: Multi-Paper-to-Slide Generation via Cross-Paper Synthesis and Reference-Guided Personalization
Shared title terminologycs.AITarik Can Ozden, Sachidanand VS, Ram Prakash Reddy Motati et al.
Interactive Proofs as a Unified Framework for Evaluating and Leveraging Verifiable Proof Generation by LLM Agents
Shared title terminologycs.AIYankai Shu, Xingyu Zhao, Chuan Mao et al.
Controllable CAD Generation and Interactive Editing of Fluid Rotors
Shared title terminologycs.AIShen Chen, Lei Li, Jiajun Sun et al.