MoRAgent: Parameter Efficient Agent Tuning with Mixture-of-Roles
By: Jing Han , Binwei Yan , Tianyu Guo and more
Potential Business Impact:
Teaches AI to do jobs by splitting tasks.
Despite recent advancements of fine-tuning large language models (LLMs) to facilitate agent tasks, parameter-efficient fine-tuning (PEFT) methodologies for agent remain largely unexplored. In this paper, we introduce three key strategies for PEFT in agent tasks: 1) Inspired by the increasingly dominant Reason+Action paradigm, we first decompose the capabilities necessary for the agent tasks into three distinct roles: reasoner, executor, and summarizer. The reasoner is responsible for comprehending the user's query and determining the next role based on the execution trajectory. The executor is tasked with identifying the appropriate functions and parameters to invoke. The summarizer conveys the distilled information from conversations back to the user. 2) We then propose the Mixture-of-Roles (MoR) framework, which comprises three specialized Low-Rank Adaptation (LoRA) groups, each designated to fulfill a distinct role. By focusing on their respective specialized capabilities and engaging in collaborative interactions, these LoRAs collectively accomplish the agent task. 3) To effectively fine-tune the framework, we develop a multi-role data generation pipeline based on publicly available datasets, incorporating role-specific content completion and reliability verification. We conduct extensive experiments and thorough ablation studies on various LLMs and agent benchmarks, demonstrating the effectiveness of the proposed method. This project is publicly available at https://mor-agent.github.io.
Similar Papers
MoRE: A Mixture of Low-Rank Experts for Adaptive Multi-Task Learning
Machine Learning (CS)
Teaches AI many things at once, faster.
MeTA-LoRA: Data-Efficient Multi-Task Fine-Tuning for Large Language Models
Computation and Language
Teaches AI more with less information.
Parameter-Efficient Routed Fine-Tuning: Mixture-of-Experts Demands Mixture of Adaptation Modules
Machine Learning (CS)
Makes AI smarter by letting it pick the best brain part.