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
Beyond Majority Voting: LLM Aggregation by Leveraging Higher-Order Information
Massachusetts Institute of Technology(麻省理工学院);School of Engineering and Applied Sciences(工程与应用科学学院);Harvard University(哈佛大学);Data Science, The University of Chicago(数据科学,芝加哥大学)
Beyond Confidence: Test-Time Scaling for Multi-Turn Search Agents via Retrieval Grounding
University of Southern California(南加州大学);Pohang University of Science and Technology (POSTECH)(浦项科技大学);Tsinghua University(清华大学);Carnegie Mellon University(卡内基梅隆大学)
LLM-Based SQL Generation: Prompting, Self-Refinement, and Adaptive Weighted Majority Voting
Institute of Information Management(信息管理研究所);National Yang Ming Chiao Tung University(阳明交通大学);R. B. Annis School of Engineering(R. B. Annis工程学院);University of Indianapolis(印第安纳大学)