An Algorithm For Adversary Aware Decentralized Networked MARL

Soumajyoti SarkararXiv 2023

Abstract

Decentralized multi-agent reinforcement learning (MARL) algorithms have gained prominence for their ability to handle heterogeneous agents with individual reward functions, moving beyond the constraints of canonical multi-agent Markov Decision Process (MDP) settings. In this work, we examine collaborative MARL within time-varying networks where agents exchange information to reach a consensus. We identify critical vulnerabilities in existing consensus updates, where "adversarial agents" can deviate from protocols to disrupt the learning process. To address this, we introduce a novel algorithm that enables non-adversarial agents to reach a consensus despite the presence of adversaries within a constrained networked environment.

Introduction

In decentralized MARL, agents must coordinate to optimize a global objective while only possessing local information and observing their immediate neighbors. This coordination typically relies on a "consensus" mechanism—a process where agents share and average their internal model parameters to synchronize their learning.

However, this reliance on peer-to-peer communication introduces a significant security risk. Most current decentralized algorithms operate under the assumption of total trust. A single adversarial agent—one that provides malicious or intentionally incorrect parameter updates—can exploit the averaging process to manipulate the entire network. This can steer honest agents toward sub-optimal policies that may benefit the adversary or simply degrade the system's performance. This paper proposes a robust framework to maintain network integrity without requiring a central authority or global knowledge of agent identities.

The Adversary-Aware Networked Actor-Critic

The proposed solution builds upon the Networked Actor-Critic framework. In this architecture, every agent maintains two components: an Actor, which dictates the policy (actions), and a Critic, which estimates the value of those actions based on local and shared information.

The Filtering Mechanism

The core innovation of this research is the Adversary-Aware Consensus Step. In a standard setting, agents reach a consensus by calculating a weighted average of their neighbors' parameters (denoted as $\omega$). The proposed algorithm introduces a robust filtering layer to this update:

  1. Information Exchange: Agents share their local critic parameters with their immediate neighbors.
  2. Trimmed-Mean Filtering: Rather than accepting all incoming data, each honest agent gathers the parameter sets from its neighbors and identifies the $F$ highest and $F$ lowest values for each specific parameter.
  3. Robust Update: The agent discards these $2F$ extreme values and performs the consensus update using only the remaining "middle" values.

The $F$-Local Adversary Model

This filtering strategy is grounded in the $F$-local adversary model. This model assumes that for any individual node in the network, the number of adversarial neighbors is bounded by a known constant, $F$. By trimming the extremes, the algorithm effectively neutralizes the influence of outliers, which is the primary method an adversary uses to pull the consensus toward a malicious target.

Key Insights

  • Consensus as an Attack Vector: The research highlights that the communication required for decentralization is itself the primary vulnerability. Protecting the consensus step is equivalent to protecting the global learning objective.
  • Maintaining Autonomy: A major strength of this approach is that it remains fully decentralized. Agents do not need to know the global network topology or which specific neighbors are malicious; they only require an upper bound on the potential number of local adversaries.
  • Handling Heterogeneity: Unlike traditional MDPs that assume a common reward function, this algorithm is designed for environments where agents have different local rewards, making it applicable to more complex, real-world multi-agent systems.

Conclusion and Future Directions

The paper formalizes Algorithm 1: Adversary-aware Networked Actor-Critic, providing a theoretical blueprint for resilient MARL. While the algorithm offers a robust defense against parameter-poisoning attacks, several avenues for future research remain:

  1. Convergence Proofs: Formal mathematical proofs for convergence in the presence of adversaries are still being developed.
  2. Parameter Sensitivity: The algorithm's efficacy depends on the accurate estimation of $F$. Underestimating $F$ leaves the network vulnerable, while overestimating it may lead to the loss of valuable data from honest agents.
  3. Attention Mechanisms: Future iterations could replace the "hard" filtering of the trimmed mean with an attention-based mechanism. This would allow agents to learn the reliability of their neighbors dynamically, de-prioritizing suspicious updates through learned weights rather than manual exclusion.

By addressing the inherent vulnerabilities of decentralized communication, this work moves MARL closer to being deployable in open, potentially hostile environments where agent cooperation cannot be taken for granted.

Summary updated

BibTeX
@misc{sarkar2023algorithm,
  author = {Soumajyoti Sarkar},
  title = {{An Algorithm For Adversary Aware Decentralized Networked MARL}},
  year = {2023},
  eprint = {2305.05573},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.05573},
}
Figure