LiveLoRA: Exact KV Cache Migration Across LoRA Updates for LLM Agents
[Sztuczna inteligencja] Autorzy: Tianyi Huang, Samuel Xu, Ivy Gu i 2 więcej
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 …
- Kategoria arxiv
- cs.AI
- Kategoria
- Sztuczna inteligencja