Sample-Efficient Deep Reinforcement Learning via Episodic Backward Update

Su Young Lee, Sung-Ik Choi, Sae-Young Chung

TL;DR

Episodic Backward Update (EBU) is a novel reinforcement learning algorithm that dramatically improves sample efficiency by propagating reward signals backward through an entire episode. By replacing uniform random sampling with a structured backward pass and introducing a "diffusion factor" to maintain stability, EBU achieves the same performance as a standard Deep Q-Network (DQN) using only 5–10% of the data.

The Problem: Inefficiencies in Experience Replay

Deep Reinforcement Learning (DRL) has achieved remarkable feats, but it is notoriously data-hungry. For example, the classic DQN requires 200 million frames of experience—equivalent to 39 days of continuous play—to reach human-level performance on Atari games.

A major culprit for this inefficiency is the Experience Replay mechanism. Standard DQN samples individual transitions (state, action, reward, next state) uniformly at random from a replay buffer. This approach struggles for two main reasons:

  1. Sparse Rewards: If a reward only occurs at the end of a long sequence, uniform sampling rarely picks the "winning" transition.
  2. Slow Propagation: Even if the agent samples a rewarded transition, it only updates the value of the immediately preceding state. It takes many training iterations for that reward signal to "trickle back" to the beginning of the episode.

Proposed Method: Episodic Backward Update (EBU)

To address these bottlenecks, the authors propose Episodic Backward Update (EBU). Instead of sampling random, disconnected points in time, EBU samples a complete episode and processes it sequentially.

Comparison of Uniform Sampling vs. Episodic Backward Update

The core algorithm works as follows:

  • Backward Propagation: Starting from the end of the sampled episode, the agent moves backward in time, updating the value of each state based on the newly updated value of the subsequent state. This allows a reward found at the end of an episode (e.g., step 100) to immediately influence the values of all preceding steps (99, 98, ..., 1) in a single pass.
  • The Diffusion Factor ($\beta$): Updating highly correlated states in a sequence can lead to "overestimation bias," where the neural network becomes overconfident in its value estimates. To mitigate this, the authors introduce a diffusion factor $\beta \in (0, 1)$. This acts like a learning rate for the backward pass, blending the newly propagated value with the existing estimate to keep training stable.
  • Adaptive EBU: Because the optimal $\beta$ might change as the agent learns, the authors also developed an adaptive version. This variant runs multiple "learners" with different $\beta$ values in parallel, periodically synchronizing them to the most successful one.

Experimental Setup

The researchers evaluated EBU on two main benchmarks:

  1. 2D MNIST Maze: A custom grid-navigation environment where "states" are represented by MNIST digit images corresponding to coordinates, adding visual complexity to a sparse-reward task.
  2. Atari 2600 (49 Games): The gold standard for DRL research, featuring diverse titles like Breakout, Gopher, and Video Pinball.

Key Insights and Results

  • Massive Sample Efficiency: In the Atari 2600 suite, EBU achieved the same mean human-normalized score as DQN using only 5% of the samples (10M frames vs. 200M frames). It reached the same median score using only 10% of the samples.
  • Outperforming Baselines: EBU consistently outperformed other efficiency-focused methods like Prioritized Experience Replay (PER) and $n$-step DQN, particularly in environments with high complexity and sparse rewards.
  • Computational Parity: Despite the backward pass, EBU’s computational complexity remains comparable to DQN. It modifies the target generation process rather than adding heavy new network architectures.
  • The Stability Trade-off: The paper reveals a crucial insight regarding the diffusion factor $\beta$: in early training, a high $\beta$ (close to 1.0) is better for fast reward propagation. As the agent matures, a lower $\beta$ (around 0.5) becomes necessary to prevent the "echo chamber" effect of correlated samples from destabilizing the network.

Limitations and Future Work

  • Correlation Risks: While the diffusion factor $\beta$ mitigates overestimation, the fundamental risk of training on highly correlated sequential data remains a challenge for deep function approximators.
  • Hyperparameter Sensitivity: Although Adaptive EBU helps, performance can still be sensitive to the chosen range of $\beta$ values.
  • Future Integration: EBU primarily changes the target generation logic. A promising future direction is combining EBU with orthogonal improvements like Dueling architectures or Distributional RL to see if the performance gains stack.

Summary updated

BibTeX
@inproceedings{lee2019sample,
  author = {Su Young Lee and Sung-Ik Choi and Sae-Young Chung},
  title = {{Sample-Efficient Deep Reinforcement Learning via Episodic Backward Update}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure