Guardado en:
Detalles Bibliográficos
Autores principales: Yuan, Bo, Zhou, Yun, Xu, Zhichao, Ramnath, Kiran, Feng, Aosong, Srinivasan, Balasubramaniam
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:https://arxiv.org/abs/2601.22305
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915761953439744
author Yuan, Bo
Zhou, Yun
Xu, Zhichao
Ramnath, Kiran
Feng, Aosong
Srinivasan, Balasubramaniam
author_facet Yuan, Bo
Zhou, Yun
Xu, Zhichao
Ramnath, Kiran
Feng, Aosong
Srinivasan, Balasubramaniam
contents Automatic workflow generation is the process of automatically synthesizing sequences of LLM calls, tool invocations, and post-processing steps for complex end-to-end tasks. Most prior methods cast this task as an optimization problem with limited theoretical grounding. We propose to cast workflow generation as Bayesian inference over a posterior distribution on workflows, and introduce \textbf{Bayesian Workflow Generation (BWG)}, a sampling framework that builds workflows step-by-step using parallel look-ahead rollouts for importance weighting and a sequential in-loop refiner for pool-wide improvements. We prove that, without the refiner, the weighted empirical distribution converges to the target posterior. We instantiate BWG as \textbf{BayesFlow}, a training-free algorithm for workflow construction. Across six benchmark datasets, BayesFlow improves accuracy by up to 9 percentage points over SOTA workflow generation baselines and by up to 65 percentage points over zero-shot prompting, establishing BWG as a principled upgrade to search-based workflow design. Code will be available on https://github.com/BoYuanVisionary/BayesFlow.
format Preprint
id arxiv_https___arxiv_org_abs_2601_22305
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle BayesFlow: A Probability Inference Framework for Meta-Agent Assisted Workflow Generation
Yuan, Bo
Zhou, Yun
Xu, Zhichao
Ramnath, Kiran
Feng, Aosong
Srinivasan, Balasubramaniam
Machine Learning
Automatic workflow generation is the process of automatically synthesizing sequences of LLM calls, tool invocations, and post-processing steps for complex end-to-end tasks. Most prior methods cast this task as an optimization problem with limited theoretical grounding. We propose to cast workflow generation as Bayesian inference over a posterior distribution on workflows, and introduce \textbf{Bayesian Workflow Generation (BWG)}, a sampling framework that builds workflows step-by-step using parallel look-ahead rollouts for importance weighting and a sequential in-loop refiner for pool-wide improvements. We prove that, without the refiner, the weighted empirical distribution converges to the target posterior. We instantiate BWG as \textbf{BayesFlow}, a training-free algorithm for workflow construction. Across six benchmark datasets, BayesFlow improves accuracy by up to 9 percentage points over SOTA workflow generation baselines and by up to 65 percentage points over zero-shot prompting, establishing BWG as a principled upgrade to search-based workflow design. Code will be available on https://github.com/BoYuanVisionary/BayesFlow.
title BayesFlow: A Probability Inference Framework for Meta-Agent Assisted Workflow Generation
topic Machine Learning
url https://arxiv.org/abs/2601.22305