On the Hardness of Decentralized Multi-Agent Policy Evaluation under Byzantine Attacks

Hairi, Minghong Fang, Zifan Zhang, Alvaro Velasquez, Jia Liu · DOI

Abstract

In decentralized multi-agent reinforcement learning (MARL), agents must cooperate to evaluate a policy's performance without a central authority. This process is highly vulnerable to Byzantine agents—malicious actors that can send inconsistent or poisoned information to their neighbors. This paper establishes the fundamental theoretical limits of policy evaluation in such adversarial environments. We prove that when agents possess heterogeneous local rewards, it is mathematically impossible to achieve a perfect consensus on the true average reward. To mitigate this, we propose the Byzantine-tolerant Decentralized Temporal Difference (BDTD) algorithm, which utilizes $f$-trimmed means and projected updates. Our findings demonstrate that while perfect evaluation is unattainable, BDTD achieves the best possible consensus and maintains robustness against sophisticated poisoning attacks.

Introduction

Policy evaluation is a cornerstone of reinforcement learning, serving as the "critic" that determines the value of a specific strategy. In decentralized systems, agents typically reach a consensus on this value by communicating with their immediate neighbors. However, the security of these systems is often overlooked. A small number of Byzantine agents can disrupt the entire learning process by performing model poisoning—sending carefully crafted misinformation to prevent normal agents from converging on the correct value.

While Byzantine resilience has been studied extensively in centralized federated learning, the decentralized case presents unique challenges. In a decentralized network, a malicious agent can be "inconsistent," sending different lies to different neighbors, effectively fracturing the network's ability to reach a unified conclusion.

The Hardness of Heterogeneity

The primary theoretical contribution of this work is the proof of "hardness" regarding decentralized evaluation. The authors demonstrate that the heterogeneity of local rewards—where different agents observe different rewards for the same state—acts as a "smoke screen" for Byzantine actors.

Because normal agents do not know the ground-truth rewards of their peers, they cannot distinguish between a legitimate but different reward report and a malicious lie. Theorem 1 in the paper proves that if the number of Byzantine agents $f > 0$, it is impossible to guarantee an exact evaluation of the uniform average reward. Furthermore, the paper establishes a fundamental limit: no algorithm can ensure that more than $|N|-f$ normal agents contribute positively to the final consensus value.

The BDTD Algorithm

To address these fundamental limits, we introduce the Byzantine-tolerant Decentralized Temporal Difference (BDTD) algorithm. BDTD is designed to provide the most robust estimate possible under adversarial conditions through two primary mechanisms:

  1. $f$-Trimmed Mean: To counter outlier values sent by malicious agents, each agent collects values from its neighbors, sorts them, and removes the $f$ largest and $f$ smallest values. The remaining values are averaged, effectively neutralizing the impact of extreme poisoning.
  2. Projected TD Learning: To prevent Byzantine agents from pushing the system's parameters toward infinity, BDTD "projects" updates back into a predefined, bounded "projection ball." This ensures that even if an attack shifts the mean, the system remains stable and does not diverge.

Currently, the theoretical convergence proofs for BDTD focus on scalar function approximation ($d=1$), providing a foundation for future high-dimensional analysis.

Experimental Evaluation

We evaluated BDTD using the Simple Spread task from the Multi-Particle Environment (MPE). The setup involved 10 agents, where 2 were designated as Byzantine. The agents' goal was to cover landmarks while avoiding collisions, a task requiring precise policy evaluation.

We tested the system against three distinct poisoning strategies:

  • Gaussian Attacks: Injecting random noise into the communication.
  • Krum Attacks: Designed to bypass distance-based filters by mimicking the distribution of honest agents.
  • Trim Attacks: Specifically engineered to shift the mean significantly while remaining within the bounds of a trimmed mean filter.

Key Results

The experimental results confirm the theoretical hardness while highlighting BDTD's efficacy:

  • Superior Robustness: BDTD significantly outperformed standard baselines such as FedAvg, Krum, and FLTrust in maintaining a low Mean Squared Bellman Error (MSBE).
  • Resilience to Trim Attacks: Even under attacks specifically designed to defeat mean-based filters, BDTD maintained an MSBE comparable to an environment with no attacks at all.
  • Consensus Achievement: While the agents could not reach the absolute truth (as predicted by the hardness proof), they successfully reached a stable consensus. This consensus represents a weighted version of the truth that remains highly functional for policy evaluation.

Conclusion and Future Work

This research highlights a critical vulnerability in decentralized MARL: the impossibility of perfect policy evaluation under Byzantine influence when local rewards are heterogeneous. While the BDTD algorithm provides a robust defense for scalar approximations, several avenues for future work remain. Extending these results to high-dimensional neural networks is a priority, as is moving beyond the complete graph assumption to more sparse, dynamic network topologies. Finally, integrating Byzantine-resilient evaluation into a full actor-critic loop for policy improvement remains an essential challenge for securing decentralized multi-agent systems.

Summary updated

BibTeX
@inproceedings{hairi2024hardness,
  author = {Hairi and Minghong Fang and Zifan Zhang and Alvaro Velasquez and Jia Liu},
  title = {{On the Hardness of Decentralized Multi-Agent Policy Evaluation under Byzantine Attacks}},
  booktitle = {WiOpt},
  year = {2024},
  url = {https://openreview.net/forum?id=sHKoNUDhrn},
}
Figure