Research map / Large language models / Agents, code and math
Can Workflow Search Be Amortized? Demonstration-Guided Synthesis of LLM Agent Workflows
Shiyi Du, Jiayuan Liu, Weihua Du, Yue Huang, Jiayi Li, Yingtao Luo, Xiangliang Zhang, Vincent Conitzer, Carl Kingsford
Carnegie Mellon University · Foundations of Cooperative AI Lab · University of Notre Dame
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- GSM8K leaderboard accuracy 94.31 · rank 119 of 945 papers
- HumanEval leaderboard accuracy 95.42 · rank 7 of 130 papers
- MATH leaderboard accuracy 55.14 · rank 164 of 329 papers
- MBPP leaderboard accuracy 83.28 · rank 21 of 87 papers
- MultiArith leaderboard accuracy 98.54 · rank 23 of 71 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace per-task iterative search with single-pass SWIFT synthesis | AFlow · average of 5 benchmarks (GPT-4o-mini) | accuracy: 82.25 -> 85.34 | Improved |
| SWIFT vs MaAS on MultiArith (unseen in demonstration pool) | SWIFT · MultiArith | accuracy: 98.80 (MaAS) vs 98.54 | No clear effect |
| single-pass synthesis instead of search | AFlow · MATH optimization cost | cost ($): 22.50 -> 0.004 | Improved |
| apply SWIFT to held-out benchmark AQuA | GPT-4o-mini · AQuA | accuracy: 52.9 -> 79.9 | Improved |
| apply SWIFT to held-out BigCodeBench | GPT-4o-mini · BigCodeBench | accuracy: 31.6 -> 34.3 | Improved |
| add demonstrations to the meta-prompt (ablation) | SWIFT · MATH | accuracy: 2.47 -> 55.14 | Improved |
| add compositional heuristics (ablation) | SWIFT · MATH | accuracy: 49.59 -> 55.14 | Improved |
| add output contracts (ablation) | SWIFT · average of 4 source benchmarks | accuracy: 77.94 -> 82.04 | Improved |
| use same-domain instead of cross-domain demonstrations (ablation) | SWIFT · average of 4 source benchmarks | accuracy: 73.61 -> 82.04 | Improved |
| keep human-readable operator names instead of random names (ablation) | SWIFT · average of 4 source benchmarks | accuracy: 77.09 -> 82.04 | Improved |
| run synthesized workflows on other execution backbones | SWIFT · Grok, Qwen3-8B, Gemma-3-12B across 6 benchmarks | accuracy: improves 16 of 18 pairs; Gemma MATH 58.23 -> 48.35 | Mixed |
| increase number of demonstrations k (ablation) | SWIFT · GSM8K vs MATH | accuracy: GSM8K saturates at k=1; MATH jumps at k=4 | Mixed |
Open problems this paper states
- “Evaluated mainly on static benchmarks with automatic correctness signals, so effectiveness in interactive or irreversible environments is not established.” → Benchmarks are idealized and may not match real industrial problems. (an open problem in LLMs for optimization and heuristics)
Open problems in LLMs for optimization and heuristics
Do LLM-driven optimization and heuristic design methods hold up beyond benchmark problems, and at what cost?
- Repeated LLM calls and candidate evaluation make search slow and costly. · 21 papers state it
- Results depend on the LLM, and the best ones use closed API models. · 19 papers state it
- Only one or two problem classes were tried, and others are untested. · 18 papers state it
Closest papers by meaning
- Optimize Once, Execute Fast: Latency-Aware Multi-Agent Workflow Learning for Recurrent Queries (NeurIPS 2026 · similarity 0.87)
- Flow: Modularized Agentic Workflow Automation (ICLR 2025 · similarity 0.87)
- Benchmarking Agentic Workflow Generation (ICLR 2025 · similarity 0.86)
- JADE: Bridging the Strategic-Operational Gap in Dynamic Agentic RAG (ICML 2026 · similarity 0.86)
- FlowSteer: Towards Agents Designing Agentic Workflows via Reinforced Progressive Canvas Editing (NeurIPS 2026 · similarity 0.86)
- GraphFlow: A Graph-Based Workflow Management for Efficient LLM-Agent Serving (ICML 2026 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.