arXiv cs.AI· Wei Feng, Meiling Chen, Boxiao Chen, Lu Liu, Bin Zi, Libin Ye, Xingyu Lu, Lei Xu, Jun Zhou·· 1 天前AI 评分31
通过推理-环境协同优化降低 LLM 智能体工作负载的批次完工时间
Reducing Batch Makespan for LLM Agent Workloads through Inference-Environment Coordination
AI 导读
研究提出推理-环境协同优化方法,用于缩短 LLM 智能体批量任务的批次完工时间(makespan)。针对混合 LLM,基于工作负载的资源模型在 KV cache 与循环状态间分配 GPU 显存并给出参考样本并发度;轨迹感知路由与调度提升缓存复用并平衡负载,Chain-Advancing Action Scheduling(CAAS)在环境容量受限时优先推进长链以缩短批次尾部。
正文 · 原文
Abstract:Efficient batch execution of agent tasks is critical to LLM training and development workflows, including benchmark evaluation, synthetic-data generation, and RL rollouts. Since these tasks alternate between LLM inference and environment interaction, we present coordinated optimizations to reduce batch makespan, the time required to complete all tasks in a batch. For hybrid LLMs, a workload-based resource model guides GPU-memory allocation between key-value (KV) cache and recurrent state and provides a reference sample concurrency to exploit parallelism while limiting recomputation. Trajectory-aware routing and scheduling promote cache reuse while balancing worker load. Under constrained environment capacity, we decouple sample admission from environment execution and introduce Chain-Advancing Action Scheduling (CAAS), which prioritizes long chains using observed progress to shorten the batch tail. Controlled replay combines actual inference with recorded environment responses and durations for ablations of individual optimizations. Live evaluations with Ling-3.0-Flash and Ling-3.1-Flash on the BFCL, SWE-bench Multilingual, WideSearch, and MCP-Atlas benchmarks demonstrate makespan reductions of 10.4% to 65.0%, while evaluation scores remain aligned. Furthermore, these methods have been successfully applied to training and evaluation workflows for the Ling-3.x model series, accelerating the model-development cycle.
| Comments: | 26 pages, 12 figures. Technical report |
| Subjects: | Distributed, Parallel, and Cluster Computing (cs.DC); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.16661 [cs.DC] |
| (or arXiv:2611.16661v1 [cs.DC] for this version) | |
| https://doi.org/10.48550/arXiv.2611.16661 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Wei Feng [view email]
[v1]
Thu, 12 Nov 2026 11:38:21 UTC (722 KB)
来源:arXiv cs.AI · arxiv.org