arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.21473cs.AIcs.DC
收藏

ScaleSim: 通过调用距离基于的内存管理实现大规模多智能体仿真服务

ScaleSim: Serving Large-Scale Multi-Agent Simulation with Invocation Distance-Based Memory Management

University of California, San Diego(加州大学圣地亚哥分校);Amazon Web Services(亚马逊网络服务)

Zaifeng Pan, Yipeng Shen, Zhengding Hu, Zhuang Wang, Aninda Manocha, Zheng Wang, Zhongkai Yu, Yue Guan, Yufei Ding

AI总结:

ScaleSim通过调用距离基于的内存管理,提升大规模多智能体仿真的效率,实现1.74倍速度提升。

摘要:

基于大语言模型的多智能体仿真正在越来越多的应用领域中被采用,但因GPU内存压力而难以扩展。每个智能体维护私有GPU驻留状态,包括模型、前缀缓存和适配器,随着智能体数量的增长,这些状态会迅速耗尽设备内存。我们识别出这些工作负载的两个关键特性:稀疏的智能体激活和可估算的智能体调用顺序。基于对代表性工作负载类别的分析,我们引入了调用距离,这是一种统一的抽象,用于估算智能体将来发出大语言模型请求的相对顺序。利用这一抽象,我们提出了ScaleSim,一种用于大规模多智能体仿真的内存高效的LLM服务系统。ScaleSim实现了前瞻性预取和基于优先级的驱逐,支持通过模块化接口实现多样化的智能体特定内存,并在仿真基准上实现了比SGLang快1.74倍的速度提升。

英文摘要:

LLM-based multi-agent simulations are increasingly adopted across application domains, but remain difficult to scale due to GPU memory pressure. Each agent maintains private GPU-resident states, including models, prefix caches, and adapters, which quickly exhaust device memory as the agent count grows. We identify two key properties of these workloads: sparse agent activation and an estimable agent invocation order. Based on an analysis of representative workload classes, we introduce invocation distance, a unified abstraction that estimates the relative order in which agents will issue future LLM requests. Leveraging this abstraction, we present ScaleSim, a memory-efficient LLM serving system for large-scale multi-agent simulations. ScaleSim enables proactive prefetching and priority-based eviction, supports diverse agent-specific memory through a modular interface, and achieves up to 1.74x speedup over SGLang on simulation benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑