Reproduce “From Search to Synthesis: Training LLMs as Zero-Shot Workflow Generators” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Gan Luo, Zihan Qin, Bin Dong, Wotao Yin

MetaFlow, a meta-learning framework, trains large language models to generate reusable workflows for tasks given natural language descriptions and operator sets. This system achieves an average accuracy of 78.8% across various benchmarks and demonstrates zero-shot generalization to novel tasks and operators, enabling low-cost integration of new tools.

Key insights

  • Reframing workflow generation as a meta-learning problem enables LLMs to learn generalizable 'meta-strategies' for composing effective and reusable workflows across diverse tasks.
  • A two-stage training regimen, combining SFT for syntactic correctness and RLVR with variance reduction techniques, effectively bootstraps and optimizes the planner LLM's performance.
  • Representing workflows as code, along with natural language descriptions of tasks and operators, facilitates flexible integration of new tools and promotes zero-shot generalization capabilities.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.