Distributional Multivariate Policy Evaluation and Exploration with the Bellman GAN

Dror Freirich, Tzahi Shimkin, Ron Meir, Aviv Tamar

The Limits of Expected Reward

Standard Reinforcement Learning (RL) typically focuses on maximizing the expected future reward, often represented by a value function. However, recent breakthroughs in Distributional RL (DiRL) have demonstrated that learning the entire distribution of future rewards leads to more stable and performant agents.

Despite these advances, a significant challenge remains. Current DiRL methods, such as C51 or Quantile Regression DQN, rely on discretizing the reward distribution—essentially chopping it into a fixed number of bins or particles. While effective for simple scalar rewards, this approach fails when rewards are multivariate (vectors). For instance, an 8-dimensional reward vector would suffer from the curse of dimensionality under grid-based discretization. Furthermore, existing exploration methods often ignore the rich information contained in the reward distribution, focusing solely on state transitions.

Enter the Bellman GAN

To address these limitations, the authors introduce the Bellman GAN. They reveal a fundamental mathematical equivalence between the distributional Bellman equation and Generative Adversarial Networks (GANs). By viewing the Bellman operator as a contraction mapping through the lens of Kantorovich-Rubinstein duality, the authors reformulate the distributional Bellman equation as a minimax game between two neural networks:

  1. The Generator ($G$): Learns to produce samples that mimic the distribution of the "reward-to-go."
  2. The Discriminator/Critic ($D$): Based on Wasserstein GAN (WGAN) principles, it attempts to distinguish between the current value distribution and the distribution of the "next state" plus the immediate reward.
The Bellman GAN architecture formulates the distributional Bellman equation as a minimax game between a Generator (G) and a Discriminator (D).

By minimizing the Wasserstein-1 distance between these two distributions, the generator effectively learns the Bellman fixed point. Because GANs handle high-dimensional vectors naturally, this approach bypasses the need for discretization, allowing the agent to represent complex, correlated reward structures.

Exploration via "Distributional Surprise"

Building on the Bellman GAN, the authors introduce a novel exploration strategy: W-1ME (Wasserstein-1 Distance Motivated Exploration).

W-1ME uses the gradient of the GAN's loss as an "intrinsic reward." When the agent encounters a transition or reward that drastically differs from its current internal model, the discrepancy is high, resulting in a large GAN gradient. The agent treats this "distributional surprise" as a signal to explore that poorly understood area further. Because the framework unifies the learning of the reward distribution and the state transition model, the agent can be surprised by both unexpected rewards and unusual state changes.

Key Results and Benchmarks

The authors evaluated their approach across several distinct environments, demonstrating significant improvements over existing methods:

  • Multivariate Success: In a custom 2D Multi-reward Maze with an 8-dimensional reward vector, the Value Distribution GAN Learning (VDGL) algorithm successfully captured multi-modal distributions. It accurately identified which specific rewards were dominant in different rooms—a feat impossible for previous discretization-based DiRL algorithms.
  • Superior Exploration: On continuous control tasks like the Linear Quadratic Regulator (LQR) and CartPoleSwingup, the W-1ME exploration strategy significantly outperformed both standard TRPO and the popular VIME (Variational Information Maximizing Exploration) method.
Cumulative reward on the LQR continuous control task. TRPO+W1ME (green) demonstrates superior exploration and performance compared to standard TRPO and TRPO+VIME.
  • The "North Face" Effect: In a 2-Face Climber testbench, the agent must choose between a safe, low-reward path and a risky, high-reward path (the "North Face"). Higher exploration parameters ($\eta$) in W-1ME directly led the agent to discover and master the harder, more rewarding route more frequently.
  • Robustness: In the SwimmerGather environment, where state uncertainty is the primary challenge, W-1ME performed on par with state-of-the-art methods, proving its viability as a robust, general-purpose exploration tool.

Limitations and Future Directions

While powerful, learning the full reward distribution in very large state-action spaces can be slow to converge. To mitigate this, the authors suggest using a standard Q-function (learned via DQN) as a baseline to "center" the GAN's learning process.

Looking ahead, the next logical step is Distributional Policy Optimization. While this paper focuses on evaluating a policy and driving exploration, future work could use the Bellman GAN to directly optimize policies in multi-objective RL settings, allowing agents to balance competing goals without collapsing them into a single scalar metric.

Summary updated

BibTeX
@inproceedings{freirich2019distributional,
  author = {Dror Freirich and Tzahi Shimkin and Ron Meir and Aviv Tamar},
  title = {{Distributional Multivariate Policy Evaluation and Exploration with the Bellman GAN}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=Hk-thjWOWr},
}
Figure