TL;DR
E2-Explainer is a novel, model-agnostic framework that uses Granger-style causal inference to identify and prune redundant communication channels in LLM-based multi-agent systems. By filtering out the "noise" in agent-to-agent interactions, it reduces token communication costs by 20% to 25% while maintaining or even improving overall task accuracy.
What Problem Does This Paper Address?
When building Large Language Model (LLM) multi-agent systems (MAS), how agents communicate matters immensely. Recent techniques use black-box optimization to automatically generate communication topologies (who talks to whom). While these optimized networks perform well, they are often incredibly "chatty" and filled with redundant or even distracting communication pathways.
Unfortunately, because these topologies are learned via global, task-level rewards, it’s impossible to tell why a specific communication edge was chosen. Trying to fix this by randomly pruning edges typically tanks the system's performance, as shown in the random edge masking experiments:
This paper addresses the dual challenge of interpretability and efficiency: how can we discover the exact, minimal communication pathways required for multi-agent success without expensive trial-and-error at runtime?
Methods
The authors introduce E2-Explainer, a post-hoc framework that operates in three main phases:
- Granger-Style Causal Attribution (Offline): To evaluate the importance of a single communication edge, the framework systematically masks it (blocks the message) and reruns the multi-agent system. It measures two things:
- Task-level causal contribution: How much the final score drops when the edge is missing.
- Auxiliary semantic signal: Changes in semantic entropy (uncertainty). If blocking an edge makes the final answer highly unstable across multiple runs, that edge is causally important.
- Causal Subgraph Extraction: Edges are ranked by their unified causal utility. E2-Explainer then applies structural constraints to ensure the remaining nodes and edges form a valid, executable Directed Acyclic Graph (DAG).
- Amortization (The "Fast Pass"): Running edge-masking interventions at test time would be prohibitively expensive because it requires repeated LLM calls. To solve this, the authors train a lightweight, parameterized neural network (an amortized explainer) using the discovered causal subgraphs as supervision. At deployment, this explainer predicts the optimal, pruned subgraph in a single forward pass without needing any edge-masking or ground-truth labels.
Datasets
The framework was evaluated using Qwen3-8B as the backbone LLM across six diverse reasoning and coding benchmarks:
- MMLU: Knowledge-intensive multiple-choice questions.
- GSM8K, MultiArith, SVAMP: Multi-step arithmetic word problems.
- AQuA: Algebraic word problems with multiple-choice options.
- HumanEval: Function-level Python code generation.
Key Insights and Ideas
- Redundancy Can Hurt Accuracy: Intriguingly, pruning communication channels didn't just save money—it often boosted accuracy. In many cases, optimized topologies include misleading or redundant arguments that confuse downstream aggregator agents. Removing these channels streamlines the reasoning chain.
- Semantic Entropy as a Dense Reward: Task scores (like exact-match math answers) are often binary and sparse. By measuring semantic entropy (how much the phrasing/meaning of the answer fluctuates), E2-Explainer gains a much finer-grained signal for edge importance.
- Remarkable Transferability: The explainer trained only on topologies generated by one method (
G-Designer) successfully generalized to entirely different topology generators (AgentPrune,OFA-MAS,ARG-Designer) and even hand-crafted structures (star, layered, and complete graphs). It also successfully generalized across agent scales (e.g., learning on 5-agent setups and deploying on 6-agent setups).
Key Results
- Token Savings: Across all tested topology optimizers, E2-Explainer consistently reduced weighted online token usage by 20.1% to 25.6%.
- Performance Maintenance/Boost: For
G-Designer, the framework improved average accuracy by 1.09 points while slashing token costs by 25.1%. - Qualitative Success: The authors highlighted cases where removing a noisy agent (like a "Programming Expert" that hallucinated variable bindings in a math task) allowed the remaining agents to align on the correct answer, turning a failure into a success.
Limitations and Future Work
- First-Order Approximation: E2-Explainer evaluates edges individually (one-at-a-time masking). It does not account for multi-edge coalitions or complex combinatorial interactions between groups of edges, which would be computationally explosive to calculate offline.
- Aggressive Node Pruning Risks: While edge pruning is highly stable, aggressive node removal (e.g., removing 40% of agents) caused performance drops on complex tasks like code generation (
HumanEval), indicating that some tasks strictly require diverse agent roles even if their communication lines can be thinned out.
Summary updated