An Adversary-Resistant Multi-Agent LLM System via Credibility Scoring

Association for Computational Linguistics, Abolfazl Asudeh, Mohsen Dehghankar, Sana EbrahimiUnderline 2025 · OpenAlex

Abstract

While multi-agent LLM systems show strong capabilities in various domains, they are highly vulnerable to adversarial and low-performing agents. To resolve this issue, in this paper, we introduce a general and adversary-resistant multi-agent LLM framework based on credibility scoring. We model the collaborative query-answering process as an iterative game, where the agents communicate and contribute to a final system output. Our system associates a credibility score that is used when aggregating the team outputs. The credibility scores are learned gradually based on the past contributions of each agent in query answering. Our experiments across multiple tasks and settings demonstrate our system’s effectiveness in mitigating adversarial influence and enhancing the resilience of multi-agent cooperation, even in the adversary-majority settings.

Introduction

Multi-agent systems (MAS) have emerged as a powerful paradigm for complex problem-solving, leveraging the collaborative strengths of multiple Large Language Models (LLMs). However, these systems possess a significant vulnerability: they are highly susceptible to adversarial or low-performing agents. A single persuasive but incorrect agent can often derail the entire group's consensus. This vulnerability is particularly acute in "adversary-majority" scenarios, where more than half of the agents may be providing misleading information. We propose a framework that dynamically learns to trust agents based on their historical performance, ensuring robust system outputs even under heavy adversarial pressure.

System Architecture and Methodology

The proposed framework treats the query-answering process as an iterative cooperative game. It introduces two primary metrics to manage agent reliability:

  1. Contribution Score (CSc): This metric quantifies an agent's actual influence on the final output. It can be calculated using game-theoretic Shapley values for mathematical fairness or an LLM-as-Judge approach for computational efficiency.
  2. Credibility Score (CrS): A value between 0 and 1 representing an agent's long-term reliability, updated after each interaction.
System architecture showing the iterative process of query answering, aggregation, evaluation, and credibility score updates.

The workflow consists of three main stages:

  • Aggregation: Agent outputs are weighted by their current CrS to produce a final system answer, moving beyond simple majority voting.
  • Evaluation: An external "Judge" (e.g., GPT-4o) evaluates the final answer and provides a reward signal.
  • Update: The reward is distributed among agents based on their CSc. Agents contributing to correct answers see their CrS increase, while those leading the system astray are penalized.

Experimental Evaluation

We evaluated the framework across five benchmarks: MMLU-MS (math/stats), MATH, GSM8K (word problems), HumanEval (coding), and general research questions. We utilized lightweight backbone models—Llama 3.2 3B, Mistral 7B, and Qwen 2.5 7B—to test the framework's effectiveness with smaller, more easily influenced agents.

Results and Discussion

The CrS-based coordinator consistently outperformed baseline methods, including naive majority voting and similarity-based ensembles. Key findings include:

  • Accuracy Improvements: The system achieved accuracy gains of 6 to 30 percentage points across various benchmarks.
  • Adversarial Resilience: In scenarios with a majority of adversarial agents (e.g., 3 adversaries vs. 2 faithful agents), the system successfully identified and marginalized the bad actors.
  • Rapid Convergence: The system typically identifies adversarial agents within 20 to 40 queries, as shown by the diverging credibility scores in our longitudinal analysis.
Credibility scores over time for Llama 3.2 agents, showing the system successfully distinguishing between faithful and adversarial agents.

Conclusion

This research demonstrates that dynamic credibility scoring is a robust defense against adversarial influence in multi-agent LLM systems. By moving away from the assumption that the majority is always right, our framework allows for reliable collaboration even in hostile environments. Future work will focus on reducing the dependency on high-powered "Judge" models and extending the framework to more complex dialogue and multimodal tasks.

Summary updated

BibTeX
@inproceedings{linguistics2025adversary,
  author = {Association for Computational Linguistics and Abolfazl Asudeh and Mohsen Dehghankar and Sana Ebrahimi},
  title = {{An Adversary-Resistant Multi-Agent LLM System via Credibility Scoring}},
  booktitle = {Underline},
  year = {2025},
  doi = {10.48448/99k0-6828},
}

Loading related content...

Figure