paper-with-me

Papers

Serve Programs, Not Prompts

2025-10-29 · In Gim, Lin Zhong arxiv

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.

📄 PDF Abstract BibTeX arXiv:2510.25412

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Sharing State Between Prompts and Programs

2025-12-16 · Ellie Y. Cheng, Logan Weber, Tian Jin, Michael Carbin arxiv

The rise of large language models (LLMs) has introduced a new type of programming: natural language programming. Users write prompts, which are instructions in natural language, to direct LLMs to perform tasks such as na…

Code Generation

The Optimizer Is the Agent: Reasoning-Driven Search across Prompts, Programs, and ML Workflows

2026-08-07 · Junbo Li, Boyi Liu, Canwen Xu, Yite Wang 외 hf

Recent systems for optimizing prompts, programs, and ML workflows typically rely on explicit outer-loop controllers such as evolutionary search, bandits, or textual-gradient methods. We ask a fundamentally different ques…

Symbolic Prompt Program Search: A Structure-Aware Approach to Efficient Compile-Time Prompt Optimization

2024-04-02 · Tobias Schnabel, Jennifer Neville

In many modern LLM applications, such as retrieval augmented generation, prompts have become programs themselves. In these settings, prompt programs are repeatedly called with different user queries or data instances. A …

RAGRetrievalRetrieval-augmented Generation

StudentEval: A Benchmark of Student-Written Prompts for Large Language Models of Code

2023-06-07 · Hannah McLean Babe, Sydney Nguyen, Yangtian Zi, Arjun Guha 외

Code LLMs are being rapidly deployed and there is evidence that they can make professional programmers more productive. Current benchmarks for code generation measure whether models generate correct programs given an exp…

Code Generation

APPL: A Prompt Programming Language for Harmonious Integration of Programs and Large Language Model Prompts

2024-06-19 · Honghua Dong, Qidong Su, Yubo Gao, Zhaoyu Li 외

Large Language Models (LLMs) have become increasingly capable of handling diverse tasks with the aid of well-crafted prompts and integration of external tools, but as task complexity rises, the workflow involving LLMs ca…

Language ModelingLanguage ModellingLarge Language Model