RobustFlow: Towards Robust Agentic Workflow Generation
arXiv:2509.21834
Abstract
The automated generation of agentic workflows is a promising frontier for enabling large language models (LLMs) to solve complex tasks. However, the empirical study reveals that existing agentic workflow generation methods are not robust. They often generate inconsistent workflows when provided with instructions that are semantically equivalent but phrased differently. This brittleness severely undermines their reliability in real-world applications. To tackle this challenge, we propose RobustFlow, a robust agentic workflow generation system that leverages preference optimization to learn invariance across instruction variations. We also introduce a benchmark of semantically equivalent instruction variants with node-level and graph-level metrics for evaluating workflow generation robustness. By training on these instruction variants, RobustFlow achieves workflow generation robustness scores of 70\%--90\% across diverse perturbations, outperforming existing approaches including AFlow and ScoreFlow. The code is publicly available at https://github.com/DEFENSE-SEU/RobustFlow.