RePrism: Joint Request and Representation Scheduling for LLM Agent Serving
Abstract
Agentic workflows often invoke large language models multiple times. When the dependencies are visible to the serving system, it can use them to schedule requests and cache reusable content, improving workflow execution efficiency. Prior work has largely focused on ordering requests or managing shared resources under a fixed caching scheme. A reusable prompt that specifies model behavior, however, can have multiple representations. We present RePrism, a serving system that jointly selects which ready request to serve and which eligible representation of its prompt to use. Its goal is to improve throughput and shorten session completion time (SCT). The scheduler ranks pairs of requests and representations by combining each pair's immediate value with an estimate of its future value based on the visible workflow. The resource manager allocates GPU memory to both LoRA adapters and cached key-value states. It also coordinates their admission and eviction as memory pressure changes. We compare RePrism with S-LoRA on a dynamic workload with an arrival rate of 1.8 sessions per second, and it achieves 1.37 times the request throughput and reduces P95 SCT by a factor of 4.10. Under controlled load, RePrism reduces mean time to first token by a factor of 5.26 relative to S-LoRA. On a controlled workload, RePrism's joint scoring achieves 2.7% higher request throughput and 12.3% lower mean SCT than a policy that ranks requests before selecting their representations.
Create a lesson
Metadata
- Comments
- 19 pages, 16 figures (including supplementary material)
Related papers
RankServe: Rank-Aware CPU-GPU Scheduling for Memory-Constrained MoE Serving
Shared title terminologycs.DCHengyi Zhu, Zhendong Mi, Pu Zhao et al.
Contexture: Runtime Context Eviction for High-Throughput Agent Serving
Shared title terminologycs.DCColin Hong, Bryan Shan, Wei Siong Pang et al.
Aggron: Aggressive Compression of Agentic KV Caches during Head-of-Line Stalls in the Request Queue
Shared title terminologycs.DCRishabh Ravi, Tony Hong, Chen Wang et al.
GDNShift: Live Migration and Joint State Scheduling for Gated DeltaNet Inference
Shared title terminologycs.DCHanqing Yu, Jiaqi Yang, Si Wu et al.
Callo: Serving Cache-Miss Requests with Speculative Decoding on Invalidated KV under Prefill-Decode Disaggregation
Shared title terminologycs.DCJianjun Ou, Matthew Lentz
RankCast: Phase-Aware Rank Balancing in MoE Serving
Shared title terminologycs.DCKaidi Fu, Xu-Hao Lu, Pingwei Sun et al.