New MASA framework optimizes multi-agent system efficiency
Researchers have introduced MASA, a framework that jointly optimizes agent topology and model routing to reduce latency and token costs in AI systems.
Source: Grafy Research LabMulti-agent systems (MAS) are increasingly capable of complex reasoning, yet they face significant hurdles regarding high inference latency and rising token costs. A new research paper titled "MASA: Multi-Agent Asynchronous Structural Adaptation for Efficient Heterogeneous Agent Systems" proposes a method to solve these efficiency bottlenecks by treating agent structure and model selection as a single, unified optimization problem.
What is the MASA framework?
According to the authors Fulin Lin, Yuqing Huang, Zhaofen Wu, Ling Liu, and Hongwei Wang, MASA (Multi-agent Asynchronous Structural Adaptation) is a training-free framework designed to optimize how multiple AI agents work together. Most current approaches attempt to fix efficiency in two separate ways: they either focus on the "topology" (how agents are connected and pass information) or "routing" (which specific AI model is used for a specific task).
MASA departs from this by performing online joint optimization. It uses a Stream-MCTS (Monte Carlo Tree Search) algorithm to decide both the best way to structure the conversation and which backbone model—ranging from small, fast models to large, powerful ones—is most appropriate for each specific sub-task. This allows the system to navigate the trade-off between the speed of smaller models and the deep reasoning capabilities of larger ones.
How does MASA handle agent structures?
To manage the complex ways agents can interact, the researchers utilize a set of graph rewriting operators. Instead of having a fixed, rigid workflow, MASA can dynamically alter the collaboration graph during runtime. The authors identify three primary operators used to refine the task stream:
- Node Retention (Direct Routing): Keeping the current path as is.
- Node Fusion (Topology Compression): Merging nodes to simplify the structure and reduce overhead.
- Node Fission (Topology Expansion): Splitting nodes to handle more complex requirements through specialized roles.
By applying these operators, the system can adapt its architecture to the specific difficulty of the query being processed.
What makes the optimization process asynchronous?
One major concern with real-time optimization is that the process of finding the "best" path might actually take longer than just running a simple, inefficient one. To prevent this, MASA employs an asynchronous pipelining framework.
As described by the researchers, this architecture parallelizes three distinct streams: Instruction, Optimization, and Execution. By separating the "Macro-Optimization" (deciding the high-level architecture and model assignments) from the "Micro-Execution" (the actual reasoning steps taken by individual agents), the system can mask the search latency. Essentially, the optimization happens in the background while the agents are already working, aiming for near-zero added overhead.
How does the system choose the right AI models?
In a heterogeneous environment, not all models are equal. Some are optimized for speed, while others excel at logic or coding. MASA uses model profiles to guide its decisions. These profiles allow the framework to understand the capabilities and computational utility of the available pool of Large Language Models (LLMs).
Rather than relying on a neural router that requires constant retraining as new models are released, MASA's training-free approach allows it to integrate new models instantly. The Stream-MCTS algorithm explores the search space by predicting which combination of topology and model routing will yield the highest reward, balancing the need for high throughput with the necessity of accurate reasoning.
What were the experimental results?
According to the paper, the researchers tested MASA against various baselines, including methods that only optimized topology or only optimized routing. The experiments were conducted across three complex reasoning benchmarks using a variety of different LLMs.
The results indicated that MASA achieved a superior Pareto frontier, meaning it found a better balance between performance and efficiency than its competitors. Specifically, the framework significantly reduced end-to-end latency and lowered costs while maintaining high levels of reasoning accuracy. The study also explored how the size of the "sliding window" used in the search process affected the results, providing insights into how to tune the system for different real-world applications.
How can researchers explore these concepts in Grafy?
While MASA is a specialized research framework, the underlying principles of managing complex, multi-step AI workflows are highly relevant to modern creators. For researchers looking to dive deeper into the specific technical details or mathematical formulations presented in this paper, Reader is the most effective tool. You can upload the PDF of the MASA paper to Reader to perform targeted research, ask questions about the Stream-MCTS algorithm, or summarize the experimental data tables without leaving your workspace.
Frequently asked questions
Does MASA require retraining models?
No, MASA is described as a training-free framework. Instead of using a neural network that needs to be updated every time a new model is released, it uses an online search algorithm to make real-time decisions about agent structure and model routing based on current task demands.
What problem does MASA solve for multi-agent systems?
MASA addresses the high latency and expensive token costs associated with multi-agent collaboration. It solves this by jointly optimizing the connection structure between agents and the selection of the most efficient AI model for each specific part of a task, preventing "overkill" where large models are used for simple steps.
How does MASA avoid slowing down the AI's response time?
MASA uses an asynchronous pipelining framework to ensure that the time spent calculating the best workflow does not delay the user's result. By running the optimization stream in parallel with the execution stream, the system effectively hides the computational overhead of the search process.
Source: https://arxiv.org/abs/2611.40631


