Distributional Reinforcement Learning for Efficient Exploration

Borislav Mavrin, Hengshuai Yao, Linglong Kong, Kaiwen Wu, Yaoliang Yu

TL;DR

This paper introduces DLTV (Decaying Left Truncated Variance), a novel exploration strategy for Reinforcement Learning (RL) that leverages distributional value functions. By mathematically separating "estimation error" from "environmental noise" and focusing on the optimistic upper tail of reward distributions, the authors achieved a massive 483% average reward gain over the state-of-the-art QR-DQN across 49 Atari games.

The Exploration Dilemma: Two Types of Uncertainty

In RL, agents must constantly balance "exploitation" (doing what is known to yield high rewards) with "exploration" (trying new actions to discover potentially higher rewards). A common guiding principle is Optimism in the Face of Uncertainty: if an agent isn't sure how good an action is, it should assume the best and try it.

However, not all uncertainty is created equal. There are two distinct types:

  1. Parametric (Epistemic) Uncertainty: "I haven't visited this state enough to know the average reward." This represents a lack of knowledge and should drive exploration.
  2. Intrinsic (Aleatoric) Uncertainty: "This state is just naturally noisy or random (like pulling a slot machine lever)." This represents inherent environmental randomness and should not drive exploration once the noise level is understood.
Intrinsic vs. Parametric Uncertainty in Distributional RL

Standard distributional RL methods often conflate these two. An agent might get "stuck" exploring a highly noisy state forever because it mistakes the environment's natural variance for a lack of knowledge. The authors set out to build a mechanism that ignores this irreducible "noise" and focuses strictly on the "knowledge gap."

The DLTV Approach

The authors build upon QR-DQN (Quantile Regression Deep Q-Network), an algorithm that learns a full distribution of possible future rewards rather than just a single average expected value. To solve the uncertainty conflation problem, their algorithm, DLTV, introduces two key innovations:

1. Decaying Exploration Schedule

Based on statistical theory, the error in estimating quantiles shrinks at a predictable rate as more data is collected. The authors use this mathematical decay to scale their exploration bonus.

Naive vs. Decaying Exploration Bonus

As the agent visits a state more often, the exploration bonus naturally vanishes. This ensures the agent eventually stops exploring purely noisy states, effectively filtering out the constant intrinsic uncertainty and tracking only the shrinking parametric uncertainty.

2. Left Truncated Variance

Instead of looking at the total variance of the reward distribution to measure uncertainty, DLTV looks only at the upper half (the right tail). If a distribution is asymmetric—meaning there's a small chance of a huge payout—this "truncated variance" captures that optimism far better than a standard variance measure, which would be artificially skewed by the possibility of low rewards.

Experimental Validation

The researchers evaluated their method on two major benchmarks to test both complex game environments and continuous control safety:

  • Atari 2600 (Arcade Learning Environment): Tested across 49 classic games, with a specific focus on notoriously "hard exploration" games like Venture, Montezuma’s Revenge, and PrivateEye.
  • CARLA: A high-fidelity 3D driving simulator used to test autonomous driving. This environment was used to evaluate "safety rewards" and how quickly an agent can learn to navigate without crashing.

Key Results

  • Atari Dominance: DLTV outperformed the baseline (QR-DQN) in 12 out of 14 "hard" games. Across all 49 games, it demonstrated a staggering 483% average gain in cumulative rewards.
  • The "Big Win" in Venture: In the exceptionally difficult game Venture, DLTV achieved massive scores while the baseline algorithm barely got off the ground.
  • Faster Safety in CARLA: In the driving simulator, DLTV reached near-optimal safety rewards twice as fast as QR-DQN. By being "risk-aware" during exploration, it learned to avoid infractions (like driving on the sidewalk or hitting other cars) much more efficiently.

Limitations and Future Work

While DLTV offers a powerful, computationally cheap alternative to complex count-based exploration models, it does have limitations. The decaying schedule relies on a constant hyperparameter that may require tuning for different types of environments.

Looking forward, the authors note that DLTV is essentially a "plug-and-play" module. A logical next step is combining it with the "Rainbow" DQN—which aggregates several other RL improvements—to see if the performance gains compound. Additionally, providing tighter formal proofs for convergence in non-stationary deep RL settings remains an open theoretical challenge.

Summary updated

BibTeX
@inproceedings{mavrin2019distributional,
  author = {Borislav Mavrin and Hengshuai Yao and Linglong Kong and Kaiwen Wu and Yaoliang Yu},
  title = {{Distributional Reinforcement Learning for Efficient Exploration}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure