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

为何需要搜索?从结构先验出发的 amortized 智能工作流设计

Why Search When You Can Transfer? Amortized Agentic Workflow Design from Structural Priors

Carnegie Mellon University(卡内基梅隆大学);Foundations of Cooperative AI Lab (FOCAL)(合作人工智能基础实验室);University of Notre Dame(圣约翰大学)

Shiyi Du, Jiayuan Liu, Weihua Du, Yue Huang, Jiayi Li, Yingtao Luo, Xiangliang Zhang, Vincent Conitzer, Carl Kingsford

AI总结:

本文提出SWIFT框架,通过结构先验和跨任务工作流演示,实现工作流设计的 amortization,减少计算成本并提升泛化能力。

摘要:

当前自动智能工作流设计依赖于每任务迭代搜索,计算成本高且无法重用结构知识。我们发现优化的工作流收敛到一小类领域特定拓扑,表明这种组合搜索冗余。基于此,我们提出SWIFT框架,将工作流设计转化为可重用的结构先验。SWIFT首先从对比分析先前搜索轨迹中提取组合启发式和输出接口合同。在推理时,它将这些先验与跨任务工作流演示结合,通过单次LLM生成过程合成完整可执行的工作流,完全绕过迭代搜索。在五个基准上,SWIFT优于最先进搜索方法,减少边际每任务优化成本三数量级。它进一步泛化到四个额外未见基准,并成功从GPT-4o-mini转移到三个额外基础模型(Grok、Qwen、Gemma)。受控消融揭示,工作流演示主要转移拓扑结构而非表面语义:替换所有操作符名称为随机字符串仍保留超过93%的完整系统平均性能。

英文摘要:

Automated agentic workflow design currently relies on per-task iterative search, which is computationally prohibitive and fails to reuse structural knowledge across tasks. We observe that optimized workflows converge to a small family of domain-specific topologies, suggesting that this combinatorial search is largely redundant. Building on this insight, we propose SWIFT (Synthesizing Workflows via Few-shot Transfer), a framework that amortizes workflow design into reusable structural priors. SWIFT first distills compositional heuristics and output-interface contracts from contrastive analysis of prior search trajectories across source tasks. At inference time, it conditions a single LLM generation pass on these priors together with cross-task workflow demonstrations to synthesize a complete, executable workflow for an unseen target task, bypassing iterative search entirely. On five benchmarks, SWIFT outperforms the state-of-the-art search-based method while reducing marginal per-task optimization cost by three orders of magnitude. It further generalizes to four additional unseen benchmarks and transfers successfully from GPT-4o-mini to three additional foundation models (Grok, Qwen, Gemma). Controlled ablations reveal that workflow demonstrations primarily transfer topological structure rather than surface semantics: replacing all operator names with random strings still retains over 93% of the full system's average performance.

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

↑