Skip to main content
QUICK REVIEW

[Paper Review] LRAgent: Efficient KV Cache Sharing for Multi-LoRA LLM Agents

Hyesung Jeon, Hyeongju Ha|arXiv (Cornell University)|Feb 1, 2026
Multimodal Machine Learning ApplicationsComputer Science0 citations
TL;DR

LRAgent decomposes KV caches into a shared base component and an adapter-specific low-rank component to enable memory- and compute-efficient KV cache sharing across multi-LoRA LLM agents, with a Flash-LoRA-Attention kernel to accelerate runtime reconstruction.

ABSTRACT

Role specialization in multi-LLM agent systems is often realized via multi-LoRA, where agents share a pretrained backbone and differ only through lightweight adapters. Despite sharing base model weights, each agent independently builds and stores its own KV cache for the same long, tool-augmented trajectories, incurring substantial memory and compute overhead. Existing KV cache sharing methods largely overlook this multi-LoRA setting. We observe that, across agents, cache differences are dominated by adapter outputs, while activations from the shared pretrained backbone remain highly similar. Based on this observation, we propose LRAgent, a KV cache sharing framework for multi-LoRA agents that decomposes the cache into a shared base component from the pretrained weights and an adapter-dependent component from LoRA weights. LRAgent reduces memory overhead by sharing the base component and storing the adapter component in its inherent low-rank form, and further reduces compute overhead, enabled by shared-$A$ multi-LoRA architectures, by also sharing the low-rank cache and avoiding redundant computations for contexts already processed by other agents. To efficiently reconstruct adapter contributions at runtime, we introduce Flash-LoRA-Attention, a kernel that reorders attention computation to avoid materializing the low-rank cache to full dimension. LRAgent achieves throughput and time-to-first-token latency close to fully shared caching, while preserving accuracy near the non-shared caching baseline across agentic question-answering benchmarks.

Motivation & Objective

  • Motivate memory and compute bottlenecks of per-agent KV caches in multi-LoRA agent systems.
  • Propose a cache-sharing framework that decouples base and adapter contributions to KV caches.
  • Show how shared-down projections enable memory reductions and faster inference in multi-agent settings.

Proposed method

  • Decompose the full KV cache into a shared base cache from pretrained weights and an adapter-dependent LR cache from LoRA weights.
  • Store adapter outputs in their low-rank form and reconstruct at runtime via up-projection matrices.
  • Introduce BaseShared and BaseLRShared cache-sharing schemes to maximize memory and computation gains.
  • Develop Flash-LoRA-Attention to reorder attention computations and avoid materializing low-rank caches to full dimension.
  • Leverage shared-A multi-LoRA architectures to further share LR caches and reduce recomputation.
Figure 1 : (Left) Relationship between the full cache, base cache, and adapter output. (Right) Layer-wise pairwise cosine similarity of the base and full caches, measured on the same context across three agent pairs using 128 samples of 2k tokens from the HotpotQA dataset.
Figure 1 : (Left) Relationship between the full cache, base cache, and adapter output. (Right) Layer-wise pairwise cosine similarity of the base and full caches, measured on the same context across three agent pairs using 128 samples of 2k tokens from the HotpotQA dataset.

Experimental results

Research questions

  • RQ1Can KV caches be effectively shared across multiple LoRA-tuned agents without sacrificing accuracy?
  • RQ2How much memory and compute can be saved by decoupling base and adapter contributions in multi-LoRA KV caches?
  • RQ3Does a shared-down projection (shared-A) enable further reductions in memory and runtime?
  • RQ4Can a runtime-reconstruction kernel (Flash-LoRA-Attention) mitigate LR-cache expansion overhead?
  • RQ5How close do BaseShared and BaseLRShared come to fully shared caching in terms of throughput and latency?

Key findings

  • BaseShared reduces KV cache memory to about 1/N of the non-shared scheme while preserving accuracy close to the non-shared baseline.
  • BaseLRShared further reduces memory and eliminates LR-cache prefill overhead, achieving compute similar to fully shared caching.
  • Flash-LoRA-Attention substantially speeds up runtime by reducing LR-cache expansion overhead, boosting throughput by up to 1.24–2.46x depending on configuration.
  • Across HotpotQA and ScienceQA, BaseShared and BaseLRShared maintain accuracy with average drops of at most 0.7% and 1.5% respectively compared to Non-Shared, outperforming FullShared and DroidSpeak on average.
  • BaseLRShared achieves TTFT reductions up to 4.44x and throughput gains approaching FullShared, while BaseShared achieves up to 1.63x TTFT reduction and notable throughput gains.
  • Across evaluated models, LR caches exhibit high cosine similarity across agents, justifying shared- LR-cache strategies.
Figure 2 : Agent iteration and cache accumulation for Non-Shared, BaseShared , and BaseLRShared . $\mathrm{T0}$ denotes the system prompt shared across agents, and $\mathrm{T}i$ denotes trajectory context blocks, formed by concatenating model-generated tokens and retrieved context from external sour
Figure 2 : Agent iteration and cache accumulation for Non-Shared, BaseShared , and BaseLRShared . $\mathrm{T0}$ denotes the system prompt shared across agents, and $\mathrm{T}i$ denotes trajectory context blocks, formed by concatenating model-generated tokens and retrieved context from external sour

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.