Diversity Empowers Intelligence: Integrating Expertise of Software
  Engineering Agents
Authors: name: Kexun Zhang; name: Weiran Yao; name: Zuxin Liu; name: Yihao Feng; name: Zhiwei Liu; name: Rithesh Murthy; name: Tian Lan; name: Lei Li; name: Renze Lou; name: Jiacheng Xu; name: Bo Pang; name: Yingbo Zhou; name: Shelby Heinecke; name: Silvio Savarese; name: Huan Wang; name: Caiming Xiong
Published: 2024-08-13 17:50:28

Abstract: Large language model (LLM) agents have shown great potential in solving
real-world software engineering (SWE) problems. The most advanced open-source
SWE agent can resolve over 27% of real GitHub issues in SWE-Bench Lite.
However, these sophisticated agent frameworks exhibit varying strengths,
excelling in certain tasks while underperforming in others. To fully harness
the diversity of these agents, we propose DEI (Diversity Empowered
Intelligence), a framework that leverages their unique expertise. DEI functions
as a meta-module atop existing SWE agent frameworks, managing agent collectives
for enhanced problem-solving. Experimental results show that a DEI-guided
committee of agents is able to surpass the best individual agent's performance
by a large margin. For instance, a group of open-source SWE agents, with a
maximum individual resolve rate of 27.3% on SWE-Bench Lite, can achieve a 34.3%
resolve rate with DEI, making a 25% improvement and beating most closed-source
solutions. Our best-performing group excels with a 55% resolve rate, securing
the highest ranking on SWE-Bench Lite. Our findings contribute to the growing
body of research on collaborative AI systems and their potential to solve
complex software engineering challenges.