Learning Deep Decentralized Policy Network by Collective Rewards for Real-Time Combat Game

Peixi Peng, Junliang Xing, Lili Cao, Lisen Mu, Chang Huang

Abstract

This paper introduces a Deep Decentralized Policy Network (DDPN) designed to coordinate multiple agents in complex real-time combat environments like StarCraft. To address the challenges of massive state-action spaces and the difficulty of fostering agent cooperation, the authors propose a novel two-stage training pipeline. The process begins with online imitation learning to provide a competent warm start, followed by a reinforcement learning stage grounded in no-regret dynamics to refine and improve the policy. Experimental results demonstrate that DDPN effectively learns sophisticated tactical behaviors and significantly outperforms existing state-of-the-art multi-agent reinforcement learning methods.

Introduction

Micromanagement in real-time (RT) combat games presents a formidable challenge for Multi-Agent Reinforcement Learning (MARL). Coordinating multiple units to defeat an enemy force involves navigating an exponential state-action space that grows with the number of units. Standard decentralized controllers often fail to achieve the necessary level of teamwork, as individual agents rarely learn to sacrifice themselves for the collective good. Furthermore, the vastness of the search space often leads to exploration plateaus, where random actions result in immediate defeat, leaving the agents with no meaningful reward signal to learn from.

Methodology

The authors formulate the combat scenario as a Collective Decentralized Partially Observable Markov Decision Process (CDec-POMDP). They utilize a framework of centralized training with decentralized execution: while units act independently based on local observations during gameplay, their policies are trained using a shared, collective reward (calculated as total damage dealt minus damage taken).

To optimize the Deep Decentralized Policy Network (DDPN), a two-stage algorithm is employed:

  1. Stage 1: Online Imitation Learning: The DDPN is pre-trained by mimicking the opponent's actions. By treating the enemy as a demonstrator, the network bypasses the initial phase of useless random exploration and establishes a baseline level of competence.
  2. Stage 2: Reinforcement Learning via No-Regret Dynamics: To move beyond mere imitation and actually defeat the opponent, the policy is refined using a Multiplicative Weights (MW) algorithm. This approach approximates joint no-regret policies, providing a mathematical guarantee that the joint policy will monotonically improve over the initial imitated version.
The DDPN architecture and two-stage learning pipeline.

Experimental Evaluation

The method was evaluated using the SparCraft simulator across various StarCraft combat scenarios, ranging from balanced maps (e.g., 5 Marines vs 5 Marines) to highly unbalanced ones where the AI is outnumbered (e.g., 18 Marines vs 20). The DDPN was tested against several rule-based heuristic opponents, including "Attack-Value" (v), "Attack-Closest" (c), and advanced "Kiter" (k, kv) strategies.

Key Results and Ablation Study

A crucial finding of the research is the necessity of the two-stage approach. As shown in the training curves, reinforcement learning from scratch ("Only DDPN2") fails to learn due to the massive state space. Conversely, pure imitation ("Only DDPN1") only allows the agent to match the opponent's performance. The combination of both stages allows the model to surpass the baseline and achieve superior win rates.

Win rates over training episodes for different learning configurations.

In the challenging m18v20 scenario against the "Attack-Value" opponent, DDPN achieved a 73% win rate, significantly outperforming baselines like DQN (15%) and the state-of-the-art OGTL (45%). The model also demonstrated high scalability; a policy trained on 15v15 combat maintained a 92% win rate when deployed in a 30v30 battle, whereas centralized methods often collapse at such scales.

Conclusion

The DDPN framework successfully addresses the core difficulties of MARL in real-time combat. By leveraging imitation learning for a warm start and no-regret dynamics for stable policy improvement, the system learns cooperative tactics that generalize across different opponent strategies. Future work will focus on transitioning from simulators to full game environments like StarCraft II and testing against human players.

Summary updated

BibTeX
@inproceedings{peng2019learning,
  author = {Peixi Peng and Junliang Xing and Lili Cao and Lisen Mu and Chang Huang},
  title = {{Learning Deep Decentralized Policy Network by Collective Rewards for Real-Time Combat Game}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/181},
}
Figure