Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

More Agents Is All You Need

About

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• 2024

Related benchmarks

TaskDatasetResultRank
Multi-task Language UnderstandingMMLU
Accuracy90.47
321
Text ClassificationAG News (test)
Accuracy82.47
228
Instruction FollowingAlpacaEval
Win Rate40.5
227
Arithmetic ReasoningGSM8K
Accuracy86.8
173
Arithmetic ReasoningGSM8K (test)
Accuracy77.4
129
Commonsense ReasoningCSQA
CSQA Accuracy87.63
126
Text ClassificationTREC (test)
Accuracy73.2
115
Mathematical ReasoningMAWPS (test)
Accuracy92.4
87
Text ClassificationIMDB (test)
Accuracy94.18
81
Question AnsweringScienceQA
Accuracy71.53
77
Showing 10 of 30 rows

Other info

Follow for update