TensorX
返回文献探索

Paper · arXiv 2402.05120

More Agents Is All You Need

Junyou Li, Qin Zhang, Yangbin Yu, Qiang Fu, Deheng Ye

59 upvotesFebruary 3, 2024arXiv 预印本
AI 摘要

A sampling-and-voting method enhances large language models' performance by increasing the number of agents, with effectiveness tied to task difficulty.

large language modelsLLMSsampling-and-voting methodagentstask difficulty

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 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://anonymous.4open.science/r/more_agent_is_all_you_need.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号