Shared-Prefix KV Reuse Across Standard LoRA Adapters: Quality and Serving Tradeoffs
Abstract
A common small-model deployment runs one shared backbone with several LoRA specialists that answer over the same context. Serving them naively re-prefills that shared context once per specialist. We study a narrow, practical question: for already-trained standard LoRA adapters -- not adapters retrained for cache compatibility -- how much task quality is preserved if the backbone's prefill KV cache is computed once and reused across specialists, and what does that buy in serving cost? On a Qwen3-1.7B backbone with two adapters (extractive QA on HotpotQA, arithmetic reasoning on GSM8K), we sweep the boundary at which the specialist takes over from the reused base cache and measure paired quality differences and serving cost. Full-prefix reuse had the lowest prefill cost and a small quality difference on held-out GSM8K (Delta = -4.6 EM at a 160-token budget; -3.0 at 320 tokens; -0.8 under a second training seed -- all favoring native, only the first excluding zero, and the magnitude not consistent). Partial recomputation provided no demonstrated advantage. Neither quality equivalence nor a general boundary-selection rule is established. We also report a closed-form ridge KV translator that did not beat direct reuse, and specialist-dependence contrasts whose intervals all include zero. The measured serving benefit is warm-cache time-to-first-token, which grows with context (~16x at 8K); two-branch peak memory was only 12% lower and, on inspection, the prefix was never physically shared across branches -- this implementation reuses KV values but copies their storage, so shared-cache memory savings are not achieved.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
Related papers
LiveLoRA: Exact KV Cache Migration Across LoRA Updates for LLM Agents
Shared title terminologycs.AITianyi Huang, Samuel Xu, Ivy Gu et al.
DART: Distillation-Aware Reparameterization for Training-Free LoRA Reuse in Few-Step Video Diffusion Models
Shared title terminologycs.AIShihong Li, Juntao Xu, JinCao et al.
TACT-Bench: Testing Adaptive Conversational Threats against Tool-Use Agents
Shared title terminologycs.AIIlia Hashemi Rad, Feijie Wu, Haoyu Wang et al.
Tradeoffs between objective outcomes and human enjoyment of work in human-AI task allocation
Shared title terminologycs.AIKatherine M. Collins, Elizabeth Mieczkowski, Raja Marjieh et al.
Boltz-Flow: Generating High-Quality Robot Action from Boltzmann Machine
Shared title terminologycs.AIHengzhi Jiang, Haixu Liu, Jindou Jia et al.
WASP: Continual Weight Adaptation for Streaming LLM Personalization
Shared title terminologycs.AILinxi Xie, Chonghua Liao, Mengxuan Wu et al.