paper-with-me

Papers

ForkKV: Scaling Multi-LoRA Agent Serving via Copy-on-Write Disaggregated KV Cache

2026-04-07 · Shao Wang, Rui Ren, Lin Gui arxiv

The serving paradigm of large language models (LLMs) is rapidly shifting towards complex multi-agent workflows where specialized agents collaborate over massive shared contexts. While Low-Rank Adaptation (LoRA) enables the efficient co-hosting of these specialized agents on a single base model, it introduces a critical memory footprint bottleneck during serving. Specifically, unique LoRA activations cause Key-Value (KV) cache divergence across agents, rendering traditional prefix caching ineffective for shared contexts. This forces redundant KV cache maintenance, rapidly saturating GPU capacity and degrading throughput. To address this challenge, we introduce ForkKV, a serving system for multi-LoRA agent workflows centered around a novel memory management paradigm in OS: fork with copy-on-write (CoW). By exploiting the structural properties of LoRA, ForkKV physically decouples the KV cache into a massive shared component (analogous to the parent process's memory pages) and lightweight agent-specific components (the child process's pages). To support this mechanism, we propose a DualRadixTree architecture that allows newly forked agents to inherit the massive shared cache and apply CoW semantics for their lightweight unique cache. Furthermore, to guarantee efficient execution, we design ResidualAttention, a specialized kernel that reconstructs the disaggregated KV cache directly within on-chip SRAM. Comprehensive evaluations across diverse language models and practical datasets of different tasks demonstrate that ForkKV achieves up to 3.0x the throughput of state-of-the-art multi-LoRA serving systems with a negligible impact on generation quality.

📄 PDF Abstract BibTeX arXiv:2604.06370

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

ReM-MoA: Reasoning Memory Sustains Mixture-of-Agents Scaling

2026-06-23 · Heng Ping, Arijit Bhattacharjee, Peiyu Zhang, Shixuan Li 외 arxiv

Mixture-of-Agents (MoA) architectures improve inference-time scaling by organizing multiple LLM agents into layered reasoning pipelines. However, existing MoA variants fail to sustain gains as depth increases, exhibiting…

Formal Logic

ParallelWorld: Test-Time Scaling for Embodied Reasoning

2026-08-24 · Min Chen, Shengjun Zhang, Yuxin Li, Zhang Zhang 외 arxiv

Embodied Reasoning constitutes a fundamental capability of embodied intelligence, serving as the basis for autonomous perception, reasoning, and interaction within physical environments. Recent studies have shifted the p…

LaMDAgent: An Autonomous Framework for Post-Training Pipeline Optimization via LLM Agents

2025-05-28 · Taro Yano, Yoichi Ishibashi, Masafumi Oyamada

Large Language Models (LLMs) have demonstrated exceptional performance across a wide range of tasks. To further tailor LLMs to specific domains or applications, post-training techniques such as Supervised Fine-Tuning (SF…

Instruction Following

LatentSkill: From In-Context Textual Skills to In-Weight Latent Skills for LLM Agents

2026-06-04 · Aofan Yu, Chenyu Zhou, Tianyi Xu, Zihan Guo 외 arxiv

Agent systems increasingly use textual skills to encode reusable task procedures, but injecting these skills into the prompt at every step incurs substantial context overhead and exposes skill content as plaintext. We pr…

Distributed Non-Uniform Scaling Control of Multi-Agent Formation with Dynamic Agent Joining

2026-05-28 · Tao He, Gangshan Jing arxiv

Non-uniform scaling control of formation enables multi-agent systems to adjust their shape by scaling with different ratios along different coordinate axes, offering enhanced flexibility in complex environments. However,…