arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.13064cs.LG
收藏

CB-Orchestrator:基于上下文多臂老虎机的LLM智能体自适应工作流优化框架

CB-Orchestrator: Adaptive Workflow Optimization for LLM Agents via Contextual Bandits

The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Huawei Technologies(华为技术有限公司);City University of Hong Kong(香港城市大学)

Jiahang Sun, Zhiwei Shang, Zhipiao Liu, Hongwei Yang, Guoqing Xie, Shuang Qiu, Zhongxiang Dai

AI总结:

本文针对LLM智能体工作流优化的高成本与复用问题,提出CB-Orchestrator框架,通过解耦工作流生成与选择、结合上下文多臂老虎机方法,在五个基准上实现性能提升并显著降低令牌开销。

摘要:

大型语言模型(LLM)智能体通过智能体工作流展现出解决复杂任务的卓越能力,但手动设计这些工作流既耗时又缺乏适配不同查询的灵活性。自动化工作流优化是一个有前景的方向,不过现有方法在训练阶段收集反馈时往往会产生高昂的API成本,且无法自适应复用高质量工作流,这在性能和成本效益上都造成了瓶颈。为解决这些局限,本文提出CB-Orchestrator,一个将工作流生成与选择解耦的自适应框架:第一阶段通过进化搜索构建多样化的候选工作流池;第二阶段将工作流选择建模为上下文多臂老虎机(Contextual Bandit)问题,通过平衡探索与利用实现样本高效学习,从而大幅降低训练所需的反馈量。推理阶段,模型会针对每个查询自适应选择最优工作流。在五个不同基准上的评估显示,CB-Orchestrator始终优于所有基线方法;值得注意的是,在MATH数据集上,CB-Orchestrator的性能优于近期的强基线,同时训练阶段的API令牌开销降低了不低于40.55%,包含工作流池生成在内的端到端总训练令牌开销降低了不低于29.73%。

英文摘要:

Large Language Model (LLM) agents have demonstrated remarkable capabilities in tackling complex tasks through agentic workflows. However, manually designing these workflows is labor-intensive and lacks flexibility to adapt to diverse queries. While automated workflow optimization is a promising direction, existing methods often incur expensive API costs during training-phase feedback collection. Furthermore, they fail to adaptively reuse high-quality workflows, which creates a bottleneck for both performance and cost-effectiveness. To address these limitations, we propose CB-Orchestrator, an adaptive framework that decouples workflow generation from selection. In the first stage, we construct a diverse pool of candidate workflows via evolutionary search. In the second stage, we formulate workflow selection as a Contextual Bandit problem, which enables sample-efficient learning by balancing exploration and exploitation, thereby significantly reducing the feedback required for training. During inference, the model adaptively selects the optimal workflow tailored to each query. Evaluations across five diverse benchmarks demonstrate that CB-Orchestrator consistently outperforms all baselines. Notably, on the MATH dataset, CB-Orchestrator achieves better performance than strong recent baselines while reducing training-phase API token overhead by no less than 40.55% and total end-to-end training (including workflow pool generation) token overhead by no less than 29.73%.

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

↑