Decision-making with Imaginary Opponent Models

Jing Sun, Shuo Chen, Cong Zhang, Jie ZhangarXiv 2022 · arXiv · OpenReview

Abstract

Opponent modeling has benefited a controlled agent's decision-making by constructing models of other agents. Existing methods commonly assume access to opponents' observations and actions, which is infeasible when opponents' behaviors are unobservable or hard to obtain. We propose a novel multi-agent distributional actor-critic algorithm to achieve imaginary opponent modeling with purely local information (i.e., the controlled agent's observations, actions, and rewards). Specifically, the actor maintains a speculated belief of the opponents, which we call the imaginary opponent models, to predict opponents' actions using local observations and makes decisions accordingly. Further, the distributional critic models the return distribution of the policy. It reflects the quality of the actor and thus can guide the training of the imaginary opponent model that the actor relies on. Extensive experiments confirm that our method successfully models opponents' behaviors without their data and delivers superior performance against baseline methods with a faster convergence speed.

Introduction

In multi-agent reinforcement learning (MARL), understanding opponent intent is a significant advantage. Traditional opponent modeling techniques typically require "ground truth" data—the actual observations and actions of the opponent—during the training phase. However, in real-world applications such as warehouse robotics or games with limited visibility, this information is often inaccessible or proprietary. The central challenge addressed here is whether an agent can build a reliable model of its opponents using only its own local, private data.

Methodology: The DOMAC Framework

The researchers introduce DOMAC (Distributional Opponent-aided Multi-agent Actor-Critic), a framework designed to model opponents using only local observations, actions, and rewards. DOMAC consists of two primary innovative modules:

Opponent-aided Actor (OMA)

Instead of a purely reactive policy, the actor maintains a set of "speculative" opponent models. These neural networks take the controlled agent's local observations and attempt to predict the opponents' next moves. The agent then aggregates these predictions to determine its own optimal action. This "imaginary" modeling allows the agent to anticipate interactions even without direct access to opponent states.

Centralized Distributional Critic (CDC)

The CDC serves as the system's evaluative component. Unlike standard critics that estimate a single scalar expected return, the CDC estimates the distribution of returns using quantile regression. This provides a richer, more nuanced feedback signal. Because the agent’s actions are predicated on its speculations, the rewards it receives directly reflect the accuracy of those speculations. A new policy gradient theorem allows the agent to update both its policy and its speculative models simultaneously using feedback from the CDC.

Detailed architecture of the DOMAC framework, highlighting the OMA and CDC modules.

Experimental Setup

The performance of DOMAC was evaluated across eight scenarios in three major MARL benchmarks:

  • Multi-agent Particle Environment (MPE): Predator-Prey scenarios (PP-3v1 and PP-5v2).
  • Pommerman: A grid-based competitive game (Pomm-FFA and Pomm-Team).
  • StarCraft Multiagent Challenge (SMAC): Maps of varying difficulty, including the "super hard" mmm2 map.
Visualizations of the MPE (a) and Pommerman (b) environments used for evaluation.

Key Insights and Results

The study yielded several critical insights into the efficacy of local information for opponent modeling:

  • Sufficiency of Local Data: Local data contains latent correlations to opponent behavior because opponents' actions affect the shared environment.
  • Distributional RL as a Catalyst: A standard scalar critic is insufficient for training speculative models effectively. The return distribution allows the agent to distinguish between lucky guesses and accurate modeling.
  • Performance and Efficiency: DOMAC consistently outperformed state-of-the-art baselines like MAAC and MAPPO. In the Predator-Prey task, DOMAC reached baseline performance levels in only 30.2% of the training time. In the "super hard" StarCraft mmm2 map, it achieved a significantly higher win rate, approaching the theoretical upper bound of models with full opponent data access.

Conclusion

DOMAC represents a significant advancement in MARL by enabling effective opponent modeling without requiring privileged information. While the current work focuses on static opponent policies, future research will explore dynamic opponents who adapt their strategies in real-time. Additionally, extending these speculative models to value-based MARL architectures like QMIX remains a promising direction for scaling to even more complex environments.

Summary updated

Abstract

Opponent modeling has benefited a controlled agent's decision-making by constructing models of other agents. Existing methods commonly assume access to opponents' observations and actions, which is infeasible when opponents' behaviors are unobservable or hard to obtain. We propose a novel multi-agent distributional actor-critic algorithm to achieve imaginary opponent modeling with purely local information (i.e., the controlled agent's observations, actions, and rewards). Specifically, the actor maintains a speculated belief of the opponents, which we call the \textit{imaginary opponent models}, to predict opponents' actions using local observations and makes decisions accordingly. Further, the distributional critic models the return distribution of the policy. It reflects the quality of the actor and thus can guide the training of the imaginary opponent model that the actor relies on. Extensive experiments confirm that our method successfully models opponents' behaviors without their data and delivers superior performance against baseline methods with a faster convergence speed.
BibTeX
@misc{sun2022decision,
  author = {Jing Sun and Shuo Chen and Cong Zhang and Jie Zhang},
  title = {{Decision-making with Imaginary Opponent Models}},
  year = {2022},
  eprint = {2211.11940},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.11940},
}
Figure