RebaseKV: Hiding Prefill Latency in Multi-Agent LLMs via Optimistic Cache Alignment
Jiayu Qin, Ankith M S, Harpreet Kaur, Kevin Zhai, Sumit Negi, Changyou Chen
Abstract
In multi-agent LLM systems, agent-specific role instructions shift a largely shared context and invalidate exact prefix caching, so every handoff places a full prefill on the time-to-first-token (TTFT) critical path. We introduce RebaseKV, a training-free serving method based on Optimistic Cache Alignment. At an agent transition, RebaseKV decodes from a position-adjusted cache inherited from the preceding agent while the exact cache for the new prompt is built concurrently on the same GPU; after a short optimistic window, it replays the drafted tokens on the fresh cache and continues standard decoding, so the inherited state only hides latency. With the exact prefill running concurrently, RebaseKV delivers the first token of each handoff 2.95x faster than full recomputation in a five-agent GSM8K pipeline (46 vs. 135 ms) and 2.54x faster with Qwen3-8B, with no stall and negligible end-to-end overhead. Routing format-fixing agents, such as an answer-first decision maker, to the exact path makes accuracy statistically indistinguishable from recomputation while the other handoffs keep the low TTFT. We further prove that stale-state divergence is confined to the optimistic window, bound the prefix divergence in logit space, and give a certificate for greedy-token agreement.
Create a lesson
Metadata
- Comments
- 13 pages, 3 figures
Related papers
MARO: Multi-Agent Retrieval-Augmented Question Answering over Korean Policy Reports and Its Protocol-Sensitive Evaluation
Shared title terminologycs.LGSaksonita Khoeurn, In Hwan Oh, Sovandara Chhoun et al.
Physics-residual reinforcement learning for accurate multi-step temperature prediction of alkaline electrolyzers under renewable power
Shared title terminologycs.LGYong-Woon Kim, Chulung Kang, Yung-Cheol Byun
Temporal Expert Caching for Accelerating Inference in MoE Diffusion Language Models
Shared title terminologycs.LGVikhyath Kothamasu, Sandeep Kumar, Deepika Palagani
Unilateral Adoption of LLM-Written Policy Weights in a Multi-UAV Aerial Base Station Game
Shared title terminologycs.LGYu-Chen Hsu, Li-Hsing Yen
Stiefel-Projected 4D Tucker Fast-Weight Memory: Zero-SVD Cubic-Kernel Linear Attention, Exact Subspace Unlearning and O(1) Multi-Hop Retrieval
Shared title terminologycs.LGShubham Barmase
Aligned, yet distinct: Shared--Private Factorization of Multimodal Representations with Formal Guarantees
Shared title terminologycs.LGHuyen Vo, María Martínez-García, Jonas Fischer et al.