Pancake:多代理LLM服务的分层内存系统
Pancake: Hierarchical Memory System for Multi-Agent LLM Serving
AI总结:
Pancake是一种多级代理内存系统,通过多级索引缓存、协调索引管理和GPU-CPU协作,提升了LLM服务的内存管理效率和吞吐量。
摘要:
在本工作中,我们识别并解决了LLM服务中代理内存管理的核心挑战,其中大规模存储、频繁更新和多个共存的代理共同引入了复杂的、高成本的近似最近邻(ANN)搜索问题。我们提出了Pancake,一种多级代理内存系统,统一了三种关键技术:(i)多级索引缓存用于单个代理,(ii)跨多个代理的协调索引管理,(iii)协作GPU-CPU加速。Pancake暴露了易于使用的接口,可以集成到基于内存的代理中,如Mem-GPT,并且与代理框架如LangChain和LlamaIndex兼容。在现实的代理工作负载上的实验表明,Pancake显著优于现有框架,实现了超过4.29倍的端到端吞吐量提升。
英文摘要:
In this work, we identify and address the core challenges of agentic memory management in LLM serving, where large-scale storage, frequent updates, and multiple coexisting agents jointly introduce complex and high-cost approximate nearest neighbor (ANN) searching problems. We present Pancake, a multi-tier agentic memory system that unifies three key techniques: (i) multi-level index caching for single agents, (ii) coordinated index management across multiple agents, and (iii) collaborative GPU-CPU acceleration. Pancake exposes easy-to-use interface that can be integrated into memory-based agents like Mem-GPT, and is compatible with agentic frameworks such as LangChain and LlamaIndex. Experiments on realistic agent workloads show that Pancake substantially outperforms existing frameworks, achieving more than 4.29x end-to-end throughput improvement.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。