RobustFlow: Towards Robust Agentic Workflow Generation

Shengxiang Xu, Jiayi Zhang, Shimin Di, Yuyu Luo, Liang Yao +4 more
9/26/2025
cs.MA

Official code: DEFENSE-SEU/RobustFlow (238 stars, last commit 2025-10-19).

Abstract

The automated generation of agentic workflows is a promising frontier for enabling large language models (LLMs) to solve complex tasks. However, our investigation reveals that the robustness of agentic workflow remains a critical, unaddressed challenge. Current methods often generate wildly inconsistent workflows when provided with instructions that are semantically identical but differently phrased. This brittleness severely undermines their reliability and trustworthiness for real-world applications. To quantitatively diagnose this instability, we propose metrics based on nodal and topological similarity to evaluate workflow consistency against common semantic variations such as paraphrasing and noise injection. Subsequently, we further propose a novel training framework, RobustFlow, that leverages preference optimization to teach models invariance to instruction variations. By training on sets of synonymous task descriptions, RobustFlow boosts workflow robustness scores to 70\% - 90\%, which is a substantial improvement over existing approaches. The code is publicly available at https://github.com/DEFENSE-SEU/RobustFlow.

View on arXivView PDF

Code Implementations(1)

Official Repo of "RobustFlow: Towards Robust Agentic Workflow Generation"

2380Shell, PythonSep 24, 20251 years ago

Similar Papers

Cite this paper

@article{xu2025robustflow,
  title  = {RobustFlow: Towards Robust Agentic Workflow Generation},
  author = {Shengxiang Xu and Jiayi Zhang and Shimin Di and Yuyu Luo and Liang Yao and Hanmo Liu and Jia Zhu and Fan Liu and Min-Ling Zhang},
  year   = {2025},
  eprint = {2509.21834},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.21834v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.21834.svg)](https://codeofpaper.com/paper/2509.21834)

Discussion