PReCache: Efficient KV Cache Sharing for Multi-LoRA Agents via Low-Rank Precomputation and Neutral Reconstruction

Hyesung Jeon, Hyeongju Ha, Jae-Joon KimarXiv 2026

TL;DR

PReCache is a training-free framework that significantly accelerates multi-agent LLM systems using LoRA adapters. By precomputing compact, agent-specific "low-rank" caches and reconstructing a "neutral" base cache from adapter-free hidden states, it achieves up to a 3.1× speedup in time-to-first-token (TTFT) and a 2.3× throughput boost while maintaining near-perfect accuracy.

What Problem Does This Paper Address?

In multi-agent systems, different LLM "agents" (e.g., a Planner, an Actor, and a Reflector) often share a single backbone model but use specialized LoRA (Low-Rank Adaptation) adapters for their specific roles. As these agents collaborate, they build a shared "trajectory" or conversation history.

The bottleneck arises because each agent has a unique adapter. Even though the backbone is shared, the Key-Value (KV) cache generated by one agent is "polluted" by its specific adapter weights. Consequently, when it’s the next agent's turn, it usually has to re-process the entire shared history from scratch to build its own KV cache. This leads to repeated prefill computation and massive memory redundancy, especially in long-horizon tasks where the history can span tens of thousands of tokens.

Methods

The authors introduce PReCache, which decomposes the KV cache into two parts: a Base Cache (representing the shared backbone's contribution) and a Low-Rank (LR) Cache (representing the agent-specific adapter's contribution).

PReCache consists of two primary designs:

  1. PreLRShared (Speed Focus): When new context is first processed by any agent, the system immediately applies the down-projection weights ($A_k$) for all agents in the system to precompute their respective LR caches. This allows future agents to simply "plug in" their precomputed LR cache and the shared base cache without re-running the backbone over the old history.
  2. ReBaseShared (Accuracy Focus): The authors discovered that a base cache generated from "neutral" (adapter-free) hidden states is a much better approximation for a new agent than a base cache generated by a previous agent's adapted states. ReBaseShared reconstructs this neutral base cache to minimize accuracy degradation.

To handle the overhead of this reconstruction, the paper proposes two scheduling schemes:

  • Lazy Prefill (LP): Performs the neutral reconstruction as a separate step after an agent finishes its turn, ideal for single-stream edge inference.
  • Double Batching (DB): Processes the adapted path and the neutral path simultaneously in a single batch, optimized for concurrent server-side serving.
Overview of KV cache construction in PReCache across consecutive agent turns.

Datasets

The researchers evaluated PReCache using the AutoAct multi-hop agent framework across two major benchmarks:

  • HotpotQA: A dataset for diverse, explainable multi-hop question answering.
  • ScienceQA: A benchmark for multi-modal scientific reasoning.

They tested these on two state-of-the-art open-weights models: LLaMA-3.1-8B-Instruct and Ministral-8B-Instruct.

Key Insights and Ideas

  • The "Neutrality" Advantage: One of the most striking findings is that "neutral" hidden states (computed with adapters disabled) serve as a more accurate foundation for sharing than states biased by a different agent's adapter. As shown in Figure 2, ReBaseShared significantly reduces relative error compared to simply reusing the previous agent's cache.
  • Low-Rank Precomputation is Cheap: Because LoRA adapters are low-rank, computing the LR cache for all agents simultaneously is computationally inexpensive compared to the cost of a full backbone pass.
  • Decoupling Prefill from Turns: By precomputing the LR caches, the "prefill" stage for subsequent agents becomes almost instantaneous for the shared portion of the trajectory, solving the "repeated prefill" problem.
Figure 2: Effect of reconstructing the shared base cache from adapter-free hidden states in Ministral- 8B on a HotpotQA trajectory. (a) compares the previous agent’s and neutral base caches against the current agent’s base cache. (b) reports the layer-wise relative errors in the hidden states and base caches of PreLRShared and ReBaseShared. (c) reports the last-layer relative error across agent transitions and includes FullShared as a reference for entire KV cache reuse.

Key Results

  • Efficiency: PreLRShared achieves up to a 3.1× TTFT speedup and improves per-request throughput by up to 2.3× compared to standard inference (NonShared).
  • Accuracy: ReBaseShared is the top performer for accuracy preservation among cache-sharing methods, with an average drop of only 1.1 percentage points relative to the gold-standard NonShared baseline.
  • Memory: Both PReCache designs maintain peak memory usage within 2% of the theoretical minimum (FullShared), even as trajectories grow to 66k tokens.
  • Scalability: Unlike previous methods, PReCache's efficiency gains actually increase as the number of agents or the length of the trajectory grows.

Limitations and Future Work

  • Known Agent Set: The current precomputation strategy assumes the set of potential agents (adapters) is known when the context is first processed. Dynamic systems where new adapters are added mid-trajectory might require adjustments.
  • Reconstruction Overhead: While Double Batching and Lazy Prefill mitigate the cost, neutral reconstruction still requires an additional (albeit optimized) pass over the new tokens.
  • Adapter Architecture: The primary evaluation focused on LoRA applied to Query and Value projections. While the authors show it can extend to other configurations (like QKVO), the implementation becomes more complex.

Future work could explore extending these techniques to cross-model KV cache sharing or integrating them with more complex agentic workflows involving dynamic adapter loading.

Summary updated

BibTeX
@misc{jeon2026precache,
  author = {Hyesung Jeon and Hyeongju Ha and Jae-Joon Kim},
  title = {{PReCache: Efficient KV Cache Sharing for Multi-LoRA Agents via Low-Rank Precomputation and Neutral Reconstruction}},
  year = {2026},
  eprint = {2609.34054},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.34054},
}
Figure