NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Optima: Optimizing Effectiveness and Efficiency for LLM-Based Multi-Agent System

Weize Chen, Jiarui Yuan, Chen Qian, Cheng Yang, Zhiyuan Liu, Maosong Sun

Introduction

While multi-agent systems (MAS) demonstrate significant potential for solving complex problems, they are frequently hindered by a "chattiness" problem. Standard Large Language Models (LLMs) possess an inherent length bias, leading to verbose, repetitive, and computationally expensive inter-agent communication. Most existing research focuses on "soft" optimizations like prompting; however, there is a critical need for "hard" optimization methods that update model parameters to foster cohesive and efficient multi-agent collaboration.

OPTIMA is a training framework designed to address this gap. It optimizes multi-agent systems to be both more effective at task resolution and significantly more token-efficient through an iterative training loop.

The OPTIMA Framework

OPTIMA operates on a four-stage iterative paradigm: Generate, Rank, Select, and Train. This cycle allows the system to continuously refine its communication strategies.

The OPTIMA framework overview, showing the iterative loop from data generation to model training.

Core Innovations

  1. Multi-Objective Reward Function: OPTIMA employs a balanced reward function ($R$) that considers three critical factors:
  2. Task Performance ($R_{task}$): Accuracy in solving the assigned problem.
  3. Token Efficiency ($R_{token}$): A penalty for verbosity to encourage conciseness.
  4. Language Naturalness ($R_{loss}$): Utilization of the base model's language modeling loss to prevent the emergence of incomprehensible "cipher" speech.
  5. Diverse Initialization: To avoid local optima in communication styles, agents are jumpstarted with various formats (e.g., JSON, lists) before fine-tuning on the most successful trajectories.

Iterative Training Variants

The framework explores three primary training methodologies:

  • iSFT (Iterative Supervised Fine-Tuning): Training on the single highest-reward trajectory found for each task.
  • iDPO (Iterative Direct Preference Optimization): A Monte Carlo Tree Search (MCTS)-inspired approach that explores diverse interaction paths to create preference pairs for learning.
  • iSFT-DPO: A hybrid approach that interleaves both methods to balance exploration of new strategies with the exploitation of known successful paths.

Experimental Evaluation

OPTIMA was evaluated across two distinct settings: Information Exchange (IE), involving collaborative QA tasks like HotpotQA and 2WikiMultiHopQA, and Debate, involving reasoning tasks like GSM8K and MATH.

Key Insights

  • Two-Phase Evolution: Communication patterns typically evolve in two stages. Agents first prioritize effectiveness (often increasing token usage to ensure success) and subsequently refine these strategies for efficiency, reducing token usage while maintaining performance.
  • Efficiency as a Scaling Lever: By reducing token usage, OPTIMA allows for more inference-time scaling. Concise agents enable more samples (e.g., via majority voting) within the same computational budget.
  • Generalizable Skills: Models trained on one dataset showed robust transfer performance to others, suggesting that agents learn generalizable collaborative skills rather than task-specific memorization.

Key Results

OPTIMA variants consistently outperformed single-agent Chain-of-Thought (CoT) and standard multi-agent baselines. On the 2WikiMultiHopQA task, OPTIMA-iSFT-DPO achieved a 38.3% improvement in F1 score (a 2.8x gain) while utilizing only 10% of the tokens required by the Multi-Agent Debate (MAD) baseline.

Performance and token efficiency gains over optimization iterations.

On reasoning tasks like GSM8K, OPTIMA matched the performance of standard Self-Consistency methods while using 88.5% fewer tokens, demonstrating its potential for high-efficiency deployment.

Conclusion

OPTIMA represents a significant step toward training LLMs to function as efficient components of a larger system. By explicitly rewarding both success and conciseness, the framework transforms multi-agent systems from chatty, expensive experimental setups into streamlined, high-performance problem solvers. Future work will explore scaling these dynamics to larger groups of agents and specialized heterogeneous models.

Summary updated

BibTeX
@inproceedings{chen2025optima,
  author = {Weize Chen and Jiarui Yuan and Chen Qian and Cheng Yang and Zhiyuan Liu and Maosong Sun},
  title = {{Optima: Optimizing Effectiveness and Efficiency for LLM-Based Multi-Agent System}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure