ROMAS: A Role-Based Multi-Agent System for Database monitoring and Planning

Yi Huang,Fangyin Cheng,Fan Zhou,Jiahui Li,Jian Gong,Hongjun Yang,Zhidong Fan,Caigao Jiang,Siqiao Xue,Faqiang Chen
2024-12-18
Abstract:In recent years, Large Language Models (LLMs) have demonstrated remarkable capabilities in data analytics when integrated with Multi-Agent Systems (MAS). However, these systems often struggle with complex tasks that involve diverse functional requirements and intricate data processing challenges, necessitating customized solutions that lack broad applicability. Furthermore, current MAS fail to emulate essential human-like traits such as self-planning, self-monitoring, and collaborative work in dynamic environments, leading to inefficiencies and resource wastage. To address these limitations, we propose ROMAS, a novel Role-Based M ulti-A gent System designed to adapt to various scenarios while enabling low code development and one-click deployment. ROMAS has been effectively deployed in DB-GPT [Xue et al., 2023a, 2024b], a well-known project utilizing LLM-powered database analytics, showcasing its practical utility in real-world scenarios. By integrating role-based collaborative mechanisms for self-monitoring and self-planning, and leveraging existing MAS capabilities to enhance database interactions, ROMAS offers a more effective and versatile solution. Experimental evaluations of ROMAS demonstrate its superiority across multiple scenarios, highlighting its potential to advance the field of multi-agent data analytics.
Artificial Intelligence,Multiagent Systems
What problem does this paper attempt to address?
### What problems does this paper attempt to solve? This paper aims to solve several key problems that current multi - agent systems (MAS) face when dealing with complex tasks: 1. **Limitations of static task allocation and predefined processes**: - Traditional MAS rely on static task allocation and predefined processes, such as Chain of Thought (CoT), Self - consistent CoT (CoT - SC) and Tree of Thought (ToT). These methods lack the ability of autonomous reflection and interaction, leading to easy failure when deviating from the predetermined plan. 2. **Limitations of task - oriented MAS**: - Existing task - oriented MAS (such as MetaGPT and TaskWeaver) are domain - specific and difficult to generalize beyond their predefined scope, limiting their applicability. 3. **Limitations of interactive MAS**: - Interactive MAS (such as ReAct, ChatCoT and Voyager) can promote dynamic feedback and self - correction, but face the problems of high correction costs and inability to correct executed subtasks. 4. **Limitations of development frameworks**: - Traditional MAS application development usually relies on open - source frameworks (such as LangChain, Rasa, ChatDev and AgentScope). Although these frameworks provide tools for rapid development of customized MAS systems, they are insufficient in handling diverse data management and providing powerful built - in development components, which hinders the full development potential of MAS applications. To solve the above problems, the author proposes ROMAS (Role - Based Multi - Agent System), which is a role - based multi - agent system with the following characteristics: - **Role - based cooperation mechanism**: Divide agents into planners, monitors and workers, and enhance flexibility and robustness through real - time self - supervision. - **Self - monitoring and self - planning**: Allow agents to evaluate their own performance and dynamically adjust their actions to ensure high adaptability to changing conditions and complex tasks. - **Low - code development and one - click deployment**: Based on the DB - GPT framework, it integrates efficient computational operators, rich database management components, user - friendly data analysis visualization, flexible multi - domain deployment and Agentic Workflow Expression Language (AWEL), simplifying the development and deployment process. - **Enhanced database interaction**: Optimize data retrieval, processing and storage, especially suitable for applications involving large data sets and complex analysis, ensuring efficient data management. Through these innovations, ROMAS aims to overcome the limitations of existing MAS in structural design, application scenario adaptability and development frameworks, and provide a more effective and more general - purpose solution.