Preview of the new IC2 website. It is not public yet and is hidden from search engines.

Publications

MermaidFlow: Redefining Agentic Workflow Generation via Safety-Constrained Evolutionary Programming

C Zheng, J Chen, Y Lyu, WZT Ng, H Zhang, YS Ong, I Tsang, H Yin. Cited by 1

Decision Support Systems

Abstract

Despite the promise of autonomous agentic reasoning, existing workflow generation methods frequently produce fragile, unexecutable plans due to unconstrained LLM-driven construction. We introduce MermaidFlow, a framework that redefines the agentic search space through safety-constrained graph evolution. At its core, MermaidFlow represent workflows as a verifiable intermediate representation using Mermaid, a structured and human-interpretable graph language. We formulate domain-aware evolutionary operators, i.e., crossover, mutation, insertion, and deletion, to preserve semantic correctness while promoting structural diversity, enabling efficient exploration of a high-quality, statically verifiable workflow space. Without modifying task settings or evaluation protocols, MermaidFlow achieves consistent improvements in success rates and faster convergence to executable plans on the agent reasoning benchmark. The experimental results demonstrate that safety-constrained graph evolution offers a scalable, modular foundation for robust and interpretable agentic reasoning systems.

Authors: Zheng, Chengqi, Chen, Jianda, Yueming Lyu, Ng, Wen Zheng Terence, Haopeng Zhang, Yew-Soon Ong, Ivor Wai-Hung Tsang, Yin, Haiyan

Published in: arXiv (Cornell University) (2025)

DOI · Full text · Google Scholar