M$^3$Prune: Hierarchical Collaborative Pruning for Efficient Multi-Modal Multi-Agent Retrieval-Augmented Generation

Taolin Zhang, Weizi shao, Zijie Zhou, Chen Chen, Daiyang Yu, Tingyuan Hu, Chengyu Wang, Xiaofeng HearXiv 2026

TL;DR

Multi-agent systems for Multi-Modal Retrieval-Augmented Generation (mRAG) achieve high accuracy but suffer from massive token overhead due to redundant communication. This paper introduces M$^3$Prune, a hierarchical edge-pruning framework that dynamically sparsifies intra- and inter-modal communication graphs during training. The result is a highly compact, task-adaptive agent topology that slashes token costs while simultaneously improving final answer accuracy and robustness.

What Problem Does This Paper Address?

Multi-modal Retrieval-Augmented Generation (mRAG) enhances multi-modal large language models (MLLMs) by retrieving external text or images to answer complex queries. While deploying multiple specialized agents (e.g., text critics, image scientists) boosts performance through collective intelligence, existing systems rely on fixed, fully connected communication topologies.

This creates severe communication redundancy. For example, a text agent trying to pinpoint an aircraft's first flight date can easily be overwhelmed by irrelevant messages from a visual agent discussing engine counts. This semantic noise not only inflates token consumption and API costs but also distracts key agents, leading to incorrect answers.

Figure 1: Comparison of our approach with existing methods. (1) Closed-book Reasoning does not utilize external knowledge. (2) Single-agent mRAG leverages an end-to-end MLLM coupled with a retriever to answer all questions. (3) Multi-agent mRAG constructs a fixed communication topology to obtain collaborative answers, without considering communication efficiency. (4) Our Multi-agent Pruning method prunes unnecessary communication edges, improving answer quality and token efficiency.

Methods

The authors propose M$^3$Prune, a framework that optimizes the multi-agent communication network through a three-stage hierarchical pruning pipeline:

  1. Intra-Modal Graph Sparsification: Agents within the same modality (text-only or vision-only) exchange information via a spatio-temporal message-passing scheme. The framework learns a "softened" adjacency matrix using Gumbel-Softmax to weight these connections, penalizing dense graphs with a nuclear-norm regularization term to enforce sparsity.
  2. Inter-Modal Graph Sparsification: Cross-modal edges (text $\leftrightarrow$ vision) are introduced and sparsified. To ensure that agents across different modalities maintain a shared understanding, the authors introduce a novel modality alignment score that maximizes semantic consistency.
  3. Progressive Edge Pruning: During training, edges with low importance scores are progressively and permanently masked out using a decaying pruning rate. Because optimization involves non-differentiable MLLM outputs, a policy gradient method (REINFORCE-style) is used to approximate gradients based on final task utility.

The resulting pruned graph is fixed and deployed directly at inference time, ensuring maximum token efficiency.

Figure 2: Overview. The key components include: (1) Intra-modal Graph Sparsification, which analyzes the input question using multiple agents for the textual and visual modalities, respectively; (2) Inter-modal Graph Sparsification, which integrates semantic information across modalities through interactions among multi-agent responses in the textual and visual domains; (3) Progressive Edge Pruning, which progressively prunes redundant edges during training to obtain a compact communication graph for inference. Due to the large number of connections in the inter-modal stage, we illustrate only the interactions of one agent (dashed lines) as an example.

Datasets

The framework was evaluated on three diverse mRAG benchmarks:

  • MultimodalQA: A general-domain dataset requiring joint reasoning over text, tables, and images.
  • Vidoseek: A large-scale benchmark focused on visual document retrieval and question answering across 12 domains (e.g., economics, technology).
  • ScienceQA: A domain-specific multi-modal multiple-choice dataset covering natural, social, and formal sciences.

Key Insights and Ideas

  • Less is More: Fully connected agent networks introduce semantic noise. Pruning unneeded communication pathways actually improves accuracy by isolating agents from irrelevant cross-modal distractions.
  • Modality Alignment Stabilizes Sparsity: Simply optimizing for task accuracy can lead to disjointed cross-modal collaboration. Forcing cross-modal agents to align their semantic understanding via an alignment score stabilizes the training of the sparse graph.
  • Dynamic Topology Evolution: As reasoning deepens across dialogue rounds, the network naturally learns to concentrate high weights on a few critical agent pairs while fading out non-essential connections.
Evolution of communication edge weights between visual and textual agents over training rounds.

Key Results

  • State-of-the-Art Performance: M$^3$Prune consistently outperformed both single-agent and fixed-topology multi-agent baselines across all datasets and backbones (including Llama 3.2-VL and Qwen-VL-Max).
  • Efficiency Gains: Compared to strong multi-agent baselines, M$^3$Prune improved accuracy by 9.4% while boosting token efficiency by 23.8%.
  • Adversarial Robustness: In tests involving malicious agents injecting noise or wrong answers, fixed-topology networks collapsed. M$^3$Prune maintained stable performance because it dynamically learned to prune or down-weight connections to compromised agents.
Figure 5: Model performance under adversarial attacks (prompt and response perturbations) on MultimodalQA.

Limitations and Future Work

  • Training Overhead: The framework requires an upfront training phase using policy gradient graph sampling to learn the optimal topology, adding computational cost before deployment.
  • Scalability to More Modalities: The current architecture is designed hierarchically for text and vision; extending it to video, audio, or sensor data would require redesigning the inter-modal alignment mechanisms.
  • Fixed Inference Graph: While the topology is task-adaptive during training, it remains fixed during inference for a given dataset type rather than dynamically changing per individual query at test time.

Summary updated

BibTeX
@misc{zhang2026m,
  author = {Taolin Zhang and Weizi shao and Zijie Zhou and Chen Chen and Daiyang Yu and Tingyuan Hu and Chengyu Wang and Xiaofeng He},
  title = {{M$^3$Prune: Hierarchical Collaborative Pruning for Efficient Multi-Modal Multi-Agent Retrieval-Augmented Generation}},
  year = {2026},
  eprint = {2608.05967},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.05967},
}
Figure