MorphAgent: Empowering Agents through Self-Evolving Profiles and Decentralized Collaboration

Siyuan Lu,Jiaqi Shao,Bing Luo,Tao Lin
2024-10-19
Abstract:Large Language Model (LLM) based multi-agent systems (MAS) have shown promise in tackling complex tasks, but often rely on predefined roles and centralized coordination, limiting their adaptability to evolving challenges. This paper introduces MorphAgent, a novel framework for decentralized multi-agent collaboration that enables agents to dynamically evolve their roles and capabilities. Our approach employs self-evolving agent profiles, optimized through three key metrics, guiding agents in refining their individual expertise while maintaining complementary team dynamics. MorphAgent implements a two-phase process: a warm-up phase for initial profile optimization, followed by a task execution phase where agents continuously adapt their roles based on task feedback. Our experimental results show that MorphAgent outperforms traditional static-role MAS in terms of task performance and adaptability to changing requirements, paving the way for more robust and versatile multi-agent collaborative systems. Our code will be publicly available at \url{<a class="link-external link-https" href="https://github.com/LINs-lab/learn2collaborate" rel="external noopener nofollow">this https URL</a>}.
Artificial Intelligence
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the lack of adaptability and robustness faced by existing multi - agent systems (MAS) based on large - language models (LLM) when handling complex tasks. Specifically, existing MAS usually rely on predefined roles and centralized coordination, which limits their ability to respond to dynamically changing challenges. In addition, these systems perform poorly in situations such as domain shift and node failure. ### Specific description of the problem 1. **Domain Shift**: - When a task shifts from one domain to another, for example, from literature review to experimental design and then to result analysis, existing MAS, due to the fixity of their roles and collaboration strategies, are difficult to flexibly adjust to meet new requirements. 2. **Node Failure**: - Existing MAS often rely on centralized coordination mechanisms. Once the central coordinating node fails, the entire system may crash. The existence of this single - point - of - failure makes the system lack robustness in the face of unpredictable environments. ### Solutions proposed in the paper To solve the above - mentioned problems, the paper proposes a new framework - **MORPH AGENT**, which is a fully decentralized multi - agent collaboration framework, aiming to enhance the adaptability and robustness of the system through self - evolving profiles and decentralized collaboration. Specifically: - **Self - Evolving Profiles**: Each agent has a dynamic profile, which is used to represent its role and capabilities. These profiles can be optimized through three key metrics: Role Clarity Score (RCS), Role Differentiation Score (RDS), and Task - Role Alignment Score (TRAS). These metrics help agents continuously optimize and adjust their roles and capabilities during the task execution process. - **Two - Phase Process**: - **Warm - up Phase**: Initialize and optimize the agents' profiles, ensuring that each agent has a clear role, diverse skills, and is aligned with the task requirements. - **Task Execution Phase**: Agents make decisions according to the current task state and their profiles, execute or skip tasks, and continuously update their profiles according to the execution results and changes in the task state. ### Summary By introducing self - evolving profiles and decentralized collaboration mechanisms, the MORPH AGENT framework can better adapt to dynamically changing task requirements and maintain the stability and efficiency of the system in the case of node failure. Experimental results show that MORPH AGENT is significantly superior to traditional static - role MAS in terms of task performance and adaptability.