From Search to Synthesis: Training LLMs as Zero-Shot Workflow Generators
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) excel across a wide range of tasks, yet their instance-specific solutions often lack the structural consistency needed for reliable deployment. Workflows that encode recurring algorithmic patterns at the task level provide a principled framework, offering robustness across instance variations, interpretable traces for debugging, and reusability across problem instances. However, manually designing such workflows requires significant expertise and effort, limiting their broader application. While automatic workflow generation could address this bottleneck, existing methods either produce instance-specific solutions without learning task-level patterns, or cannot generalize beyond their training configurations. We present MetaFlow, which casts workflow generation as a meta-learning problem: given a task and an operator set, the model learns to compose solution strategies. MetaFlow trains in two stages: supervised fine-tuning on synthetic workflow data, followed by reinforcement learning with verifiable rewards (RLVR) that uses execution feedback across problem instances in the task to improve end-to-end success. The resulting model produces effective workflows for trained tasks and exhibits strong generalization to untrained tasks and novel operator sets. Across benchmarks in question answering, code generation, and mathematical reasoning, MetaFlow achieves performance comparable to state-of-the-art baselines on in-domain tasks with single inference, while demonstrating remarkable zero-shot generalization capabilities on out-of-domain tasks and operator sets.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 28 of its 42 references that are in the map. First posted on arXiv 29 Jun 2026.
Builds on
28 of 42 references.
References · 28
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2025Qwen3 Technical Reportcited by 8,195
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2024Qwen2 Technical Reportcited by 2,076
16 more
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
- 2018Bilevel Programming for Hyperparameter Optimization and Meta-Learningcited by 403
- 2024AFlow: Automating Agentic Workflow Generationcited by 395
- 2024Automated Design of Agentic Systemscited by 360
- 2023Can Generalist Foundation Models Outcompete Special-Purpose Tuning? Case Study in Medicinecited by 319
- 2023A Dynamic LLM-Powered Agent Network for Task-Oriented Agent Collaborationcited by 281
- 2023Unleashing the Emergent Cognitive Synergy in Large Language Models: A Task-Solving Agent through Multi-Persona Self-Collaborationcited by 246
- 2023AutoAgents: A Framework for Automatic Agent Generationcited by 211
- 2024AutoFlow: Automated Workflow Generation for Large Language Model Agentscited by 76
- 2025FlowReasoner: Reinforcing Query-Level Meta-Agentscited by 56
- 2025ScoreFlow: Mastering LLM Agent Workflows via Score-based Preference Optimizationcited by 50
- 2024Adaptive In-conversation Team Building for Language Model Agentscited by 38
- 2024Adaptive Preference Scaling for Reinforcement Learning with Human Feedbackcited by 20
- 2025ComfyUI-R1: Exploring Reasoning Models for Workflow Generationcited by 15
- 2025Evaluating Large Language Model with Knowledge Oriented Language Specific Simple Question Answeringcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025AdaptFlow: Adaptive Workflow Optimization via Meta-Learning
- 2025AutoSynth: Automated Workflow Optimization for High-Quality Synthetic Dataset Generation via Monte Carlo Tree Search
- 2026It Takes Workflows to Evolve Better Workflows
- 2026Learning to Compose for Cross-domain Agentic Workflow Generation
- 2025Scaling LLM Planning: NL2FLOW for Parametric Problem Generation and Rigorous Evaluation
- 2025RobustFlow: Towards Robust Agentic Workflow Generation
- 2025Multi-View Encoders for Performance Prediction in LLM-Based Agentic Workflows
- 2025(P)rior(D)yna(F)low: A Priori Dynamic Workflow Construction via Multi-Agent Collaboration