NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DGPO: Discovering Multiple Strategies with Diversity-Guided Policy Optimization

Wentse Chen, Shiyu Huang, Yuan Chiang, Tim Pearce, Wei-Wei Tu, Ting Chen, Jun ZhuAAAI 2024

Introduction

Standard Reinforcement Learning (RL) algorithms typically converge to a single optimal policy. While effective for maximizing rewards, this "tunnel vision" leads to over-specialization, making agents predictable in competitive environments and fragile to changes in task dynamics. Discovering a diverse set of high-performing strategies is crucial for robustness and adaptability, yet existing methods often struggle with sample inefficiency or fail to maintain high performance while pursuing diversity.

Diversity-Guided Policy Optimization (DGPO) addresses these challenges by training a single policy network to simultaneously discover multiple distinct, high-quality strategies. By framing the problem as a Probabilistic Graphical Model and employing a dynamic, two-stage constrained optimization process, DGPO achieves significant improvements in sample efficiency and strategy discovery compared to state-of-the-art baselines.

Methodology

Probabilistic Framework

DGPO introduces a latent variable $z$ to represent different strategies within a single, shared policy network $\pi(a_t|s_t, z)$. This allows the model to learn a suite of behaviors simultaneously rather than training separate networks for each strategy.

Two-Stage Constrained Optimization

To balance the trade-off between task performance and behavioral diversity, DGPO utilizes a novel optimization objective that toggles between two stages:

  1. Diversity-Constrained Stage: The agent maximizes extrinsic task rewards while ensuring that strategies remain at least a distance $\delta$ apart in the state-marginal space. Unlike prior methods that compare policies to a group average, DGPO uses a nearest-neighbor diversity metric, forcing each strategy to be distinctly different from its most similar counterpart.
  2. Reward-Constrained Stage: Once a strategy achieves a predefined target reward ($R_{target}$), the objective shifts to maximizing diversity from other strategies. This prevents the agent from over-optimizing a single path and encourages the exploration of alternative high-reward regions.

Unified Architecture and Masking

These stages are unified into a single Proximal Policy Optimization (PPO) framework using a system of dynamic masks. A learned discriminator network calculates intrinsic diversity rewards, and indicator functions (masks) toggle the optimization focus based on whether the performance and diversity thresholds are met.

The DGPO architecture integrates an Actor, two Critics (intrinsic and extrinsic), and a Discriminator. Dynamic masks ($mask_r, mask_d$) coordinate the optimization of task rewards and diversity.

Experimental Evaluation

The authors evaluated DGPO on several benchmarks designed to test multi-strategy discovery:

  • Multi-Agent Particle Environment (MPE): "Spread" tasks with multiple known optimal solutions.
  • Atari 2600: Pong and Boxing to test high-dimensional visual observations.
  • StarCraft Multi-Agent Challenge (SMAC): Complex tactical maps (2s_vs_1sc, 3m).

Key Results

Strategy Discovery and Efficiency

In the MPE Spread tasks, DGPO successfully identified all optimal solutions (4 in "easy," 2 in "hard"), whereas baselines like MAPPO, DIAYN, and SMERL failed to find the full set. While the sequential RSPO baseline also found all solutions, DGPO demonstrated massive speedups—up to 15x faster convergence in the hard scenario—due to its shared-network architecture.

Performance comparison on MPE Spread tasks. (a) DGPO achieves the best trade-off between diversity and reward. (b) DGPO discovers all optimal policies significantly faster than the sequential RSPO baseline.

Qualitative Diversity

In complex environments like StarCraft and Atari, DGPO learned distinct tactical behaviors. In SMAC, it discovered both "aggressive rushing" and "evasive kiting" strategies. In Pong, different latent codes led to policies that consistently held the paddle at different vertical positions, demonstrating that the diversity is behaviorally significant and not just numerical noise.

Conclusion and Future Work

DGPO provides a robust framework for discovering multiple high-performing strategies in a single training run. By using nearest-neighbor diversity and dynamic objective switching, it avoids the pitfalls of strategy collapse and sample inefficiency. Future work includes automating the selection of hyperparameters like $R_{target}$ and $\delta$, and applying DGPO to enhance agent exploration and robustness against adversarial perturbations.

Summary updated

BibTeX
@inproceedings{chen2024dgpo,
  author = {Wentse Chen and Shiyu Huang and Yuan Chiang and Tim Pearce and Wei-Wei Tu and Ting Chen and Jun Zhu},
  title = {{DGPO: Discovering Multiple Strategies with Diversity-Guided Policy Optimization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i10.29019},
}
Figure