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
Instruction FollowingAlpacaEval
Win Rate40.5
420
Multi-task Language UnderstandingMMLU
Accuracy90.47
353
Text ClassificationAG News (test)
Accuracy82.47
293
Arithmetic ReasoningGSM8K
Accuracy86.8
272
Commonsense ReasoningCSQA
CSQA Accuracy87.63
195
Arithmetic ReasoningGSM8K (test)
Accuracy77.4
189
Text ClassificationTREC (test)
Accuracy73.2
122
Question AnsweringScienceQA
Accuracy71.53
96
Mathematical ReasoningMAWPS (test)
Accuracy92.4
87
Multi-task Language UnderstandingMMLU (test)
Normalized Accuracy60.92
87
Showing 10 of 30 rows

Other info

Follow for update