CONCUR: 通过基于拥堵的并发控制实现LLM的高吞吐量代理批推断
CONCUR: High-Throughput Agentic Batch Inference of LLM via Congestion-Based Concurrency Control
AI总结:
CONCUR通过基于拥堵的并发控制,有效缓解LLM批推断中的中间阶段抖动问题,提升吞吐量达4.09倍。
摘要:
针对代理工作负载的批推断会持续且累积地压榨GPU的关键值(KV)缓存,通常在内存容量耗尽之前就导致严重的吞吐量下降。我们将其现象称为中间阶段抖动,这是一种此前未充分表征的病理现象,其中缓存效率在长时间运行的代理积累状态时会崩溃。我们认为,缓解这种病理现象需要超越反应式的请求级缓存管理,转向主动的代理级准入控制。受分布式系统中拥堵控制的启发,我们将KV缓存视为共享资源,其高效利用依赖于反馈驱动的调节。基于这一见解,我们提出了CONCUR,一个轻量级的控制层,通过调节代理准入来限制聚合缓存压力,同时保持执行连续性。CONCUR采用一种缓存感知的控制算法,动态调整活跃代理的数量,利用运行时缓存信号。在大型模型和真实世界代理工作负载上,CONCUR防止中间阶段抖动,并通过Qwen3-32B提升批推断吞吐量达4.09倍,通过DeepSeek-V3提升1.9倍,同时保持与现有LLM服务系统兼容。
英文摘要:
Batch inference for agentic workloads stresses the GPU key-value (KV) cache in a sustained and cumulative manner, often causing severe throughput degradation well before memory capacity is exhausted. We identify this phenomenon as middle-phase thrashing, a previously under-characterized pathology in which cache efficiency collapses as long-lived agents accumulate state over time. We argue that mitigating this pathology requires moving beyond reactive, request-level cache management to proactive, agent-level admission control. Drawing inspiration from congestion control in distributed systems, we view the KV cache as a shared resource whose efficient utilization depends on feedback-driven regulation. Based on this insight, we present CONCUR, a lightweight control layer that regulates agent admission to bound aggregate cache pressure while preserving execution continuity. CONCUR adapts a cache-aware control algorithm to dynamically adjust the number of active agents using runtime cache signals. Across large models and real-world agent workloads, CONCUR prevents middle-phase thrashing and improves batch inference throughput by up to 4.09x on Qwen3-32B and 1.9x on DeepSeek-V3, while remaining compatible with existing LLM serving systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。