English

More Agents Is All You Need

Computation and Language 2024-10-14 v2 Artificial Intelligence Machine Learning

Abstract

We find that, simply via a sampling-and-voting method, the performance of large language models (LLMs) scales with the number of agents instantiated. Also, this method, termed as Agent Forest, is orthogonal to existing complicated methods to further enhance LLMs, while the degree of enhancement is correlated to the task difficulty. We conduct comprehensive experiments on a wide range of LLM benchmarks to verify the presence of our finding, and to study the properties that can facilitate its occurrence. Our code is publicly available at: https://github.com/MoreAgentsIsAllYouNeed/AgentForest

Keywords

Cite

@article{arxiv.2402.05120,
  title  = {More Agents Is All You Need},
  author = {Junyou Li and Qin Zhang and Yangbin Yu and Qiang Fu and Deheng Ye},
  journal= {arXiv preprint arXiv:2402.05120},
  year   = {2024}
}

Comments

Published at Transactions on Machine Learning Research (TMLR)

R2 v1 2026-06-28T14:42:00.898Z