arXiv:2608.02353cs.CL2026-08

让智能工作流在运行时局部优化,不重算全局。

Global Optimization and Inference-Time Region Grafting for Agentic Workflows

论文配图:Global Optimization and Inference-Time Region Grafting for Agentic Workflows
图 1 · 摘自论文原文
  • 运行时仅替换失败模块,保留全局最优结构。
  • 比最强基线平均提升3.85分,无需重新训练。
  • 适合需要动态调整的复杂推理任务。

当前智能工作流优化方法在执行前确定流程,无法利用运行时的无标签质量信号进行调整。为解决此问题,本文提出GRAFT,保留全局优化的工作流,仅对特定输入局部替换部分区域。该方法无需参数训练,通过无标签执行质量信号评估局部替代方案,只接受提升局部质量且保持整体一致性的替换,从而实现实例级适应而无需全量重优化。GRAFT适用于数学推理、代码生成、多跳问答等多种任务。在相同优化器与执行器设置下,其平均性能优于最强基线方法MaAS 3.85点;仅更换更强执行器即可进一步提升,无需重新优化全局流程。这表明优化后的工作流不仅是静态结果,更是一种可随运行反馈和更强执行器演化的动态策略。

原文摘要 · Abstract (English)

Recent advances in agentic workflow optimization automate workflow design through task-specific workflow search or input-conditioned architecture selection. However, they determine the workflow before execution and cannot adapt failed workflow regions using execution-time label-free quality signals. Naively enabling such inference-time adaptation through whole-workflow re-optimization would be computationally prohibitive. To tackle this challenge, we introduce GRAFT, which preserves a globally optimized workflow while locally replacing only selected regions for each input. Without parameter training, GRAFT evaluates region-level alternatives using label-free execution-quality signals and accepts only replacements that improve local quality while preserving workflow-level consistency, thereby enabling instance-wise adaptation without whole-workflow re-optimization. GRAFT applies without modification across a range of tasks spanning mathematical reasoning, code generation, and multi-hop and knowledge-intensive question answering. Under matched optimizer and executor settings, it improves over the strongest prior workflow-optimization method, MaAS, by 3.85 points on average. Replacing only the executor with a stronger model yields further gains without re-optimizing the global workflow. This suggests that an optimized workflow is not merely a static optimization artifact, but an adaptable execution policy that can evolve with inference-time feedback and stronger executors.

智能体工作流优化运行时适应

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。