WorkflowGen:an adaptive workflow generation mechanism driven by trajectory experience
Ruocan Wei, Shufeng Wang, Ziwei Shi

TL;DR
WorkflowGen is an adaptive framework that leverages trajectory experience to generate workflows efficiently, reducing token usage and improving success rates in complex tasks involving large language models.
Contribution
It introduces a trajectory experience-driven approach with a closed-loop mechanism and adaptive routing to enhance workflow generation for LLM agents.
Findings
Reduces token consumption by over 40% compared to real-time planning.
Improves success rate by 20% on medium-similarity queries.
Enhances robustness and deployability through modular, traceable experiences.
Abstract
Large language model (LLM) agents often suffer from high reasoning overhead, excessive token consumption, unstable execution, and inability to reuse past experiences in complex tasks like business queries, tool use, and workflow orchestration. Traditional methods generate workflows from scratch for every query, leading to high cost, slow response, and poor robustness. We propose WorkflowGen, an adaptive, trajectory experience-driven framework for automatic workflow generation that reduces token usage and improves efficiency and success rate. Early in execution, WorkflowGen captures full trajectories and extracts reusable knowledge at both node and workflow levels, including error fingerprints, optimal tool mappings, parameter schemas, execution paths, and exception-avoidance strategies. It then employs a closed-loop mechanism that performs lightweight generation only on variable nodes…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
