arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.01202cs.AI
收藏

Workflow-R1: 多轮工作流构建的分组子序列策略优化

Workflow-R1: Group Sub-sequence Policy Optimization for Multi-turn Workflow Construction

The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shanghai Jiao Tong University(上海交通大学);Tianjin University(天津大学);Tongji University(同济大学);University of Edinburgh(爱丁堡大学)

Mingze Kong, Zikun Qu, Zhongquan Zhou, Pengyu Liang, Xiang Li, Zhiwei Shang, Zhi Hong, Kaiyu Huang, Zhiyong Wang, Zhongxiang Dai

AI总结:

Workflow-R1通过分组子序列策略优化提升多轮工作流构建的灵活性和性能。

摘要:

代理工作流的快速发展表明基于LLM的代理在解决复杂推理任务中表现出色。然而,现有工作流优化方法通常将工作流合成视为一个静态的、一次性代码为中心的生成问题。这种范式对模型的编码能力施加了过多的限制,并限制了动态问题解决所需的灵活性。在本文中,我们提出了Workflow-R1,一个框架,将工作流构建重新表述为一个多轮、基于自然语言的顺序决策过程。为了解决这种多轮交互中固有的优化粒度不匹配问题,我们引入了分组子序列策略优化(GSsPO)。虽然专门针对代理推理中交错的Think-Action动态进行对齐,但GSsPO本质上是一种结构感知的强化学习算法,可以推广到广泛的多轮代理顺序决策任务中。通过将优化单元重新校准到复合子序列,特别是原子的Think-Action循环,它使梯度更新与这些交互的语义边界对齐,确保在复杂的多轮推理任务中实现稳健的学习。通过在多个问答基准上的广泛实验,Workflow-R1优于竞争性基线,验证了GSsPO作为顺序推理的通用解决方案,并确立了Workflow-R1作为自动化工作流优化的新有前景的范式。

英文摘要:

The rapid evolution of agentic workflows has demonstrated strong performance of LLM-based agents in addressing complex reasoning tasks. However, existing workflow optimization methods typically formulate workflow synthesis as a static, one-shot code-centric generation problem. This paradigm imposes excessive constraints on the model's coding capabilities and restricts the flexibility required for dynamic problem-solving. In this paper, we present Workflow-R1, a framework that reformulates workflow construction as a multi-turn, natural language-based sequential decision-making process. To resolve the optimization granularity mismatch inherent in such multi-turn interactions, we introduce Group Sub-sequence Policy Optimization (GSsPO). While explicitly tailored to align with the interleaved Think-Action dynamics of agentic reasoning, GSsPO fundamentally functions as a structure-aware RL algorithm generalizable to a broad class of multi-turn agentic sequential decision-making tasks. By recalibrating the optimization unit to the composite sub-sequence, specifically the atomic Think-Action cycle, it aligns gradient updates with the semantic boundaries of these interactions, ensuring robust learning in complex multi-turn reasoning tasks. Through extensive experiments on multiple QA benchmarks, Workflow-R1 outperforms competitive baselines, validating GSsPO as a generalized solution for sequential reasoning and establishing Workflow-R1 as a promising new paradigm for automated workflow optimization.

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

↑