Benchmark framework shows graph-based anomaly detection scales and cuts costs in LLM multi-agent systems
Gammaf provides a scalable benchmarking environment that improves detection utility and reduces operational costs
AI/ML arXiv 27 Apr 2026 Benchmark Prototype evidence
Published as “GAMMAF: A Common Framework for Graph-Based Anomaly Monitoring Benchmarking in LLM Multi-Agent Systems”
Why it matters
Researchers can use GAMMAF to reliably compare graph-based defenses and plan resource budgets for deploying secure LLM-MAS at scale.
Summary
GAMMAF provides a reproducible benchmarking platform for graph-based anomaly detection in LLM multi-agent systems, showing linear scaling of token usage and inference time as the number of agents grows. The framework can generate synthetic debate datasets, dynamically isolate flagged nodes, and evaluate existing defenses such as XG-Guard and BlindGuard. Experiments confirm predictable resource consumption and identify a concurrency sweet-spot (≈600 requests) beyond which throughput plateaus. However, the authors note that operational costs remain high and defense effectiveness degrades when more than half the agents are malicious.
What they found 2
- Token usage grows linearly with the number of agents, indicating predictable scaling.
“Figure 6 shows there is a consistent upward trend in token usage as the number of agents increases, claim further supported by the stability of the average per agent markers (red lines) as the MAS grows.”
- When more than 50% of agents are malicious, defenses lose their advantage and token consumption converges across methods.
“Notably, as shown in the right panel of Figure 9, when the proportion of anomalous agents exceeds 50%, the system approaches a state of collapse.”
Caveats 4
- The “no defense” baseline incurs steep increases in inference time and token usage as attackers block early consensus, revealing that without isolation the framework can become computationally expensive.
- Defenses (XG-Guard, BlindGuard) lose effectiveness once the attacker population exceeds 50%, eliminating token-cost savings.
- Since LLM inference remains the primary expense in terms of hardware and time requirements , we aim to investigate the possibility of reducing the computational footprint, especially when scaling to larger agent networks and parameter-heavy models.
- more robust attack techniques must be developed to ensure that experimentation remains as thorough as possible, moving beyond simple prompt modifications toward more complex adversarial strategies.
What’s new here 4
- Generates synthetic multi-agent interaction graphs with configurable topologies and tasks.
- Benchmarks defenses by dynamically pruning anomalous nodes during live inference.
- Provides detailed resource-usage modeling (inference time, token count, concurrency limits) for large-scale MAS.
- Offers an open-source, modular environment that can be extended with new attacks and tasks.