LiveLoRA: Exact KV Cache Migration Across LoRA Updates for LLM Agents
Tianyi Huang, Samuel Xu, Ivy Gu, Nathan Huang, Siqi Zhang
Key points
From the paper's conclusion- We introduce LiveLora, a model-runtime co-design for exact final-block KV cache migration.
Abstract
Updating an LLM adapter should not require replaying the full interaction history of every active session. Yet reusing key-value (KV) cache entries computed under an earlier version mixes model versions, while full-history re-prefill becomes increasingly costly as histories and session fleets grow. We introduce LiveLora, a model-runtime co-design for exact final-block KV cache migration. Frozen lower decoder blocks and fixed K/V adapter down-projections preserve each token's base projections and low-rank coordinates across adapter versions. The runtime reconstructs candidate K/V, reevaluates the latest token through the final block, and commits the adapter, cache, and next-token logits together. We prove continuation equivalence to full-history re-prefill in exact arithmetic under the stated model assumptions. On Qwen2.5-3B-Instruct, median paired publication speedups over full-history re-prefill average $68.98\times$ across five runs for 32 active sessions with 8K tokens each. Serving benchmarks show approximately 4.8% decoding overhead relative to native cached decoding. Compared with retained-boundary replay, compact retention gives a $3.42\times$ reduction in additional session storage at 8K, with similar measured publication-plus-decoding cost. LiveLora allows persistent LLM agents to adopt new adapter versions without replaying their full interaction histories.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Shared-Prefix KV Reuse Across Standard LoRA Adapters: Quality and Serving TradeoffsarXiv · 2026
- RISK-KV: Quality-Aware Selective KV Cache Reconstruction for Distributed LLM InferencearXiv · 2026
- LoRazor: Trimming Adapter Execution for Efficient Multi-LoRA ServingarXiv · 2026
- EfficientAgent: What Makes KV Cache Offloading Work for Concurrent Agents?arXiv · 2026
- Can KV Cache Be Reused Across Model Updates? A DeepSeek-V4-Flash Case StudyarXiv · 2026
- Callo: Serving Cache-Miss Requests with Speculative Decoding on Invalidated KV under Prefill-Decode DisaggregationarXiv · 2026