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

服务程序,而非提示词

Serve Programs, Not Prompts

Yale University(耶鲁大学)

In Gim, Lin Zhong

AI总结:

针对现有LLM服务系统僵化低效的问题,提出以服务LLM推理程序(LIPs)为核心的新架构,并通过Symphony系统实现自定义推理、KV缓存虚拟化与两级调度,有望构建更高效可扩展的LLM应用生态。

摘要:

当前主要为文本补全设计的大语言模型(LLM)服务系统,因设计僵化,既无效率也无法适配日益复杂的LLM应用。我们提出一种全新的LLM服务系统架构,以服务程序而非提示词来解决该问题。这些名为LLM推理程序(LLM Inference Programs,LIPs)的程序,允许用户在运行时自定义token预测与KV缓存管理,并将工具执行等部分应用逻辑卸载至服务器。我们通过名为Symphony的系统举例说明该架构,它可作为LIPs的操作系统运行。Symphony通过系统调用开放LLM模型计算能力,借助专用文件系统实现KV缓存虚拟化,同时通过两级进程调度机制保障GPU效率。Symphony有望为LLM应用打开更高效、更可扩展的生态大门。

英文摘要:

Current large language model (LLM) serving systems, primarily designed for text completion, are neither efficient nor adaptable for increasingly complex LLM applications due to their inflexible design. We propose a new LLM serving system architecture that serves programs instead of prompts to address this problem. These programs, called LLM Inference Programs (LIPs), allow users to customize token prediction and KV cache management at runtime and to offload parts of their application logic, such as tool execution, to the server. We describe an example of this architecture through a system named Symphony, which functions as an operating system for LIPs. Symphony exposes LLM model computations via system calls and virtualizes KV cache with a dedicated file system, while ensuring GPU efficiency with a two-level process scheduling scheme. Symphony has the potential to open the door to a more efficient and extensible ecosystem for LLM applications.

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

↑