about
More Agents Is All You Need (arxiv.org)
2 points by anotherpaulg on Feb 23, 2024 | hide | past | pdf | discuss on HN

In plain words: Run the same language model many times, collect each answer, and pick the one most copies agree on. Accuracy keeps climbing as you add more copies, and the trick stacks with other improvements, helping most on harder tasks.

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

Junyou Li, Qin Zhang, Yangbin Yu, Qiang Fu, Deheng Ye
arXiv:2402.05120 · cs.CL, cs.AI, cs.LG · submitted Feb 3, 2024 · updated Oct 11, 2024
abstract · pdf · html · Published at Transactions on Machine Learning Research (TMLR)

add comment on HN
Also discussed: Apr 2024 (288 points, 206 comments) · Feb 2024 (3 points, 0 comments)