Saved in:
Bibliographic Details
Main Authors: Shen, Ming, Shu, Raphael, Pratik, Anurag, Gung, James, Ge, Yubin, Sunkara, Monica, Zhang, Yi
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.16086
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911095123345408
author Shen, Ming
Shu, Raphael
Pratik, Anurag
Gung, James
Ge, Yubin
Sunkara, Monica
Zhang, Yi
author_facet Shen, Ming
Shu, Raphael
Pratik, Anurag
Gung, James
Ge, Yubin
Sunkara, Monica
Zhang, Yi
contents We have seen remarkable progress in large language models (LLMs) empowered multi-agent systems solving complex tasks necessitating cooperation among experts with diverse skills. However, optimizing LLM-based multi-agent systems remains challenging. In this work, we perform an empirical case study on group optimization of role-based multi-agent systems utilizing natural language feedback for challenging software development tasks under various evaluation dimensions. We propose a two-step agent prompts optimization pipeline: identifying underperforming agents with their failure explanations utilizing textual feedback and then optimizing system prompts of identified agents utilizing failure explanations. We then study the impact of various optimization settings on system performance with two comparison groups: online against offline optimization and individual against group optimization. For group optimization, we study two prompting strategies: one-pass and multi-pass prompting optimizations. Overall, we demonstrate the effectiveness of our optimization method for role-based multi-agent systems tackling software development tasks evaluated on diverse evaluation dimensions, and we investigate the impact of diverse optimization settings on group behaviors of the multi-agent systems to provide practical insights for future development.
format Preprint
id arxiv_https___arxiv_org_abs_2505_16086
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Optimizing LLM-Based Multi-Agent System with Textual Feedback: A Case Study on Software Development
Shen, Ming
Shu, Raphael
Pratik, Anurag
Gung, James
Ge, Yubin
Sunkara, Monica
Zhang, Yi
Artificial Intelligence
Computation and Language
We have seen remarkable progress in large language models (LLMs) empowered multi-agent systems solving complex tasks necessitating cooperation among experts with diverse skills. However, optimizing LLM-based multi-agent systems remains challenging. In this work, we perform an empirical case study on group optimization of role-based multi-agent systems utilizing natural language feedback for challenging software development tasks under various evaluation dimensions. We propose a two-step agent prompts optimization pipeline: identifying underperforming agents with their failure explanations utilizing textual feedback and then optimizing system prompts of identified agents utilizing failure explanations. We then study the impact of various optimization settings on system performance with two comparison groups: online against offline optimization and individual against group optimization. For group optimization, we study two prompting strategies: one-pass and multi-pass prompting optimizations. Overall, we demonstrate the effectiveness of our optimization method for role-based multi-agent systems tackling software development tasks evaluated on diverse evaluation dimensions, and we investigate the impact of diverse optimization settings on group behaviors of the multi-agent systems to provide practical insights for future development.
title Optimizing LLM-Based Multi-Agent System with Textual Feedback: A Case Study on Software Development
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2505.16086