Skip to main content
QUICK REVIEW

[Paper Review] Generalizable Episodic Memory for Deep Reinforcement Learning

Hao Hu, Jianing Ye|arXiv (Cornell University)|Mar 11, 2021
Reinforcement Learning in RoboticsComputer Science43 references20 citations
TL;DR

This paper proposes Generalizable Episodic Memory (GEM), a deep reinforcement learning framework that uses a parametric neural network to store and generalize episodic experiences in continuous state-action spaces, enabling implicit planning across trajectories. GEM reduces overestimation bias via twin value estimators and achieves state-of-the-art sample efficiency on MuJoCo continuous control tasks and strong performance on Atari games.

ABSTRACT

Episodic memory-based methods can rapidly latch onto past successful strategies by a non-parametric memory and improve sample efficiency of traditional reinforcement learning. However, little effort is put into the continuous domain, where a state is never visited twice, and previous episodic methods fail to efficiently aggregate experience across trajectories. To address this problem, we propose Generalizable Episodic Memory (GEM), which effectively organizes the state-action values of episodic memory in a generalizable manner and supports implicit planning on memorized trajectories. GEM utilizes a double estimator to reduce the overestimation bias induced by value propagation in the planning process. Empirical evaluation shows that our method significantly outperforms existing trajectory-based methods on various MuJoCo continuous control tasks. To further show the general applicability, we evaluate our method on Atari games with discrete action space, which also shows a significant improvement over baseline algorithms.

Motivation & Objective

  • To address the poor generalization of existing episodic memory methods in continuous control environments where states are rarely repeated.
  • To enable effective experience aggregation and planning across diverse trajectories in high-dimensional, continuous state and action spaces.
  • To reduce overestimation bias in value propagation during implicit planning, a known issue in Q-learning-based methods.
  • To design a memory mechanism that supports fast retrieval of past successful strategies while generalizing to similar, non-identical states.
  • To demonstrate general applicability across both continuous (MuJoCo) and discrete (Atari) control domains.

Proposed method

  • GEM replaces traditional non-parametric memory tables with a deep neural network-based virtual memory table that learns to embed and generalize state-action value representations.
  • It performs implicit planning by propagating values along adjacent states in memorized trajectories, enabling combinatorial search over real and counterfactual paths.
  • A twin network architecture is used to estimate the maximum return: one network identifies the best trajectory, and the other estimates its value, reducing overestimation bias similar to double Q-learning.
  • The method uses a double estimator to decouple action selection from value estimation, improving stability during value propagation.
  • The memory is trained end-to-end via policy gradient or actor-critic updates, with experience replay over stored trajectories.
  • The framework supports both on-policy and off-policy learning by leveraging generalizable representations of past experiences.

Experimental results

Research questions

  • RQ1Can episodic memory be generalized to continuous control tasks where states are never exactly repeated?
  • RQ2How can value propagation across trajectories be stabilized to avoid overestimation in continuous domains?
  • RQ3Does using a parametric memory with implicit planning improve sample efficiency compared to standard model-free RL and episodic methods?
  • RQ4Can the twin network design effectively reduce overestimation bias in episodic planning without requiring exact state re-encounters?
  • RQ5Is the proposed method generalizable across both continuous (MuJoCo) and discrete (Atari) control environments?

Key findings

  • GEM significantly outperforms state-of-the-art model-free deep reinforcement learning algorithms on a suite of MuJoCo continuous control tasks, demonstrating superior sample efficiency.
  • The method achieves higher final performance and faster learning curves than baseline episodic memory methods, especially in sparse-reward environments.
  • On Atari games with discrete action spaces, GEM shows consistent improvement over baseline algorithms, confirming its general applicability beyond continuous control.
  • Ablation studies confirm that both the generalizable memory and twin estimator components are essential for performance, with each contributing significantly to sample efficiency.
  • Theoretical analysis shows that the objective does not overestimate and converges to the optimal Q-value function under mild conditions.
  • The framework effectively enables planning across different trajectories by generalizing from similar states, even when exact state matches are absent.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.