Design and Tuning of Multi-Agent Systems Using Bayesian Evolutionary Optimization
Organizations: University of Freiburg Freiburg im Breisgau, Germany
Abstract
Designing effective multi-agent systems (MAS) remains a challenging and resource-intensive task. We propose a Bayesian Evolutionary Optimization framework for automatically discovering task-specific MAS topologies. The approach combines evolutionary operators to generate diverse workflow graphs with Bayesian optimization to focus cost intensive evaluations on promising candidates. In contrast to LLM-based candidate selection, our approach uses a graph-aware Gaussian Process and Expected Improvement to provide an explicit selection criterion during evolutionary search. We evaluate the method on BigCodeBench for code generation and on a tabular preprocessing benchmark using TabPFN. On BigCodeBench, evolved architectures achieve the highest overall performance among the evaluated agent systems. On temporal tabular datasets, optimized MAS preprocessing improves over the default TabPFN model on several tasks, while remaining competitive on IID datasets. Overall, the results demonstrate the potential of Bayesian selection for guiding evolutionary MAS search under expensive evaluation budgets.
Figures & tables
| Architecture | Tasks Solved | Percentage |
|---|---|---|
| Evolved | 295 | 38.1% |
| Planner-Executor-Validator | 290 | 37.4% |
| Single Agent | 265 | 34.2% |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset Name | Number of Rows |
| airfoil_self_noise | 1,503 |
| concrete_compressive_strength | 1,030 |
| healthcare_insurance_expenses | 1,338 |
| miami_housing | 13,776 |
| superconductivity | 21,263 |
| cirrhosis_patient_survival_prediction | 161 |
| Dataset Name | Number of Rows |
|---|---|
| garments_worker_productivity | 1,197 |
| coffee_rating_prediction | 2,369 |
| mercedes_benz_greener_manufacturing | 4,204 |
| sberbank_housing_market_forecasting | 27,195 |
| california_house_prices_2020 | 41,528 |
| Dataset | Evolved | Single Agent | Plan.-Ex.-Val. | Raw TabPFN |
|---|---|---|---|---|
| california_house_prices_2020 | 0.940543 | 0.940592 | 0.940009 | 0.941049 |
| coffee_rating_prediction | 0.111621 | -0.252738 | 0.005208 | 0.203051 |
| garments_worker_productivity | 0.444023 | 0.453376 | -0.404151 | 0.382659 |
| mercedes_benz_greener_manu. | 0.580626 | 0.580993 | 0.580140 | 0.578253 |
| sberbank_housing_market_fore. | 0.641153 | 0.640405 | 0.634187 | 0.572113 |
| dataset | Evolved | Single Agent | Plan.-Ex.-Val. | Raw TabPFN |
|---|---|---|---|---|
| airfoil_self_noise | 0.975258 | 0.975962 | 0.956852 | 0.971863 |
| blood_tests_drink_prediction | 0.129454 | 0.118084 | 0.118628 | 0.118950 |
| body_density_prediction | 0.692294 | 0.692378 | 0.676094 | 0.688951 |
| cirrhosis_patient_survival_pred. | 0.263664 | 0.259219 | 0.274007 | 0.318891 |
| concrete_compressive_strength | 0.951657 | 0.951404 | 0.943976 | 0.951536 |
| fiat_500 | 0.853831 | 0.855042 | 0.846765 | 0.855032 |
| Parameter | Value |
|---|---|
| Dataset / task | BigCodeBench (code generation) |
| Population size | 5 |
| Generations | 10 |
| Crossover / mutation prob. | 0.5 / 0.5 |
| Candidates per step | 50 |
| Search space (nodes / edges) | 2–6 / 9 (acyclic) |
| Parameter | Value |
|---|---|
| Dataset / task | TabularData (SQL feature engineering) |
| Population size | 5 |
| Generations | 10 |
| Crossover / mutation prob. | 0.5 / 0.5 |
| Candidates per step | 50 |
| Search space (nodes / edges) | 2–6 / 9 (acyclic) |
Multi-Agent System Optimization
Multi-Agent System Optimization studies how to improve agent teams’ coordination, performance, resource use, and reliability.
See all 161 papers