Introduction
Standard reinforcement learning (RL) typically focuses on finding a single optimal policy. However, in many real-world applications—particularly high-stakes domains like healthcare—finding a single "best" solution is often insufficient. Decision-makers, such as clinicians, may prefer a set of near-optimal policies that offer qualitatively different strategies, allowing them to choose the one that best fits specific constraints or preferences.
This paper introduces Diversity-Inducing Policy Gradient (DIPG), a novel approach that leverages Maximum Mean Discrepancy (MMD) to discover a set of diverse, high-performing policies by comparing the distributions of trajectories they produce.
The Challenge of Diversity in RL
Existing methods for inducing diversity in RL face several hurdles:
- Parameter vs. Behavior: Encouraging diversity in neural network weights (e.g., Stein Variational Policy Gradient) does not guarantee behavioral diversity, as different weights can map to identical actions.
- Action Entropy: Methods like Soft-Q encourage high entropy at each state, often resulting in "jittery" behavior rather than distinct, coherent long-term strategies.
- Exploration Limits: Standard RL algorithms are designed to converge to a single global optimum, frequently overlooking other high-quality regions of the solution space.
Methodology: Diversity via MMD
DIPG formalizes policy difference as the distance between the distributions of trajectories (sequences of states and actions) induced by the policies.
Maximum Mean Discrepancy (MMD)
The authors employ MMD as the distance metric between trajectory distributions. MMD is advantageous due to its closed-form solution and superior convergence properties compared to metrics like KL-divergence.
The DIPG Objective
The standard policy gradient objective ($J_{PG}$) is augmented with an MMD-based regularization term: $$J_{MMD}(\theta) = J_{PG}(\theta) + \alpha D_{MMD}(p_\theta(\tau), Q)$$ Here, $Q$ represents a set of previously discovered policies, and $\alpha$ is a hyperparameter controlling the trade-off between optimality and diversity.
Optimization
A key contribution is showing that the gradient of the MMD term can be estimated using the "log-derivative trick" (likelihood ratio). This allows for optimization without requiring knowledge of the environment's transition dynamics, making DIPG a "plug-and-play" addition to existing policy gradient algorithms like PPO.
Experimental Evaluation
The authors evaluated DIPG across three distinct environments:
- Synthetic 2D Navigation: Tasks involving symmetric (Multi-goal) and asymmetric goals.
- Continuous Control Benchmarks: Standard MuJoCo tasks such as Ant and Humanoid.
- Clinical Healthcare Data: A batch RL task using the MIMIC-III database to discover diverse hypotension treatment strategies for ICU patients.
Key Results
Navigation and Benchmarks
In the 4-goal navigation task, DIPG successfully identified policies for all four goals. In contrast, baseline methods like Soft-Q often produced sub-optimal "middle" paths or failed to reach goals consistently, as seen in the trajectory visualizations.
On continuous control benchmarks, DIPG-PPO maintained high returns while achieving significantly lower similarity scores (indicating higher diversity) than baseline methods. For instance, in the Ant environment, DIPG achieves a superior balance of performance and behavioral distinctness.
Clinical Utility
On the ICU hypotension task, DIPG discovered four distinct treatment styles, all of which outperformed the average clinician's policy (return of ~9.33 vs 9.29). These styles varied in their "aggressiveness"—some favored low-dose vasopressors while others were more aggressive with fluids—providing a valuable "menu" of high-quality options for medical professionals.
Conclusion and Future Work
DIPG demonstrates that trajectory-level analysis is a powerful way to capture behavioral "style" in RL. By using MMD, the method efficiently finds a set of distinct, high-quality solutions. Future work may address hyperparameter sensitivity and explore parallel discovery of policies to improve computational efficiency.
Summary updated