NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sample-Efficient Reinforcement Learning with Maximum Entropy Mellowmax Episodic Control

Marta Sarrico, Kai Arulkumaran, Andrea Agostinelli, Pierre Richemond, Anil Anthony BharatharXiv 2019

Abstract

This paper introduces Maximum Entropy Mellowmax Episodic Control (MEMEC), a framework designed to improve the sample efficiency of Deep Reinforcement Learning (DRL). By combining the rapid learning capabilities of Episodic Control with a state-dependent Mellowmax exploration policy, MEMEC addresses the dual challenges of slow parameter updates and inefficient exploration. Evaluation across classic control tasks and the Atari Learning Environment demonstrates that MEMEC achieves superior learning speed and higher final rewards compared to standard DRL and episodic baselines.

Introduction

Deep Reinforcement Learning (DRL) has demonstrated remarkable success in complex tasks, yet it remains notoriously sample-inefficient. Standard agents often require millions of environment interactions to reach human-level performance. This inefficiency is primarily attributed to two factors: the slow nature of gradient-based neural network updates and the use of naive exploration strategies like $\epsilon$-greedy, which do not account for state-specific uncertainty. MEMEC proposes a solution by integrating Episodic Control (EC)—acting as a high-speed "mental diary"—with a principled Maximum Entropy exploration strategy.

Methodology

The MEMEC architecture is built upon two core components:

  1. Episodic Control via DND: Instead of relying solely on slow weight updates, MEMEC utilizes a Differentiable Neural Dictionary (DND) to store specific state-action pairs and their resulting rewards. This allows the agent to perform "one-shot" learning from rare, high-reward events by retrieving and interpolating values from similar past experiences.
  2. Maximum Entropy Mellowmax Policy: To optimize exploration, the authors replace standard softmax or $\epsilon$-greedy policies with the Mellowmax operator. This operator calculates a state-dependent temperature ($\beta$) that adaptively balances exploration and exploitation based on the agent's confidence in its value estimates. Unlike standard softmax, Mellowmax is a non-expansion operator, providing stronger convergence guarantees.
Architecture of the Episodic Control system using a Differentiable Neural Dictionary (DND).

Results

The performance of MEMEC was benchmarked against D3QN and traditional episodic control using $\epsilon$-greedy exploration. In the Atari Learning Environment, MEMEC demonstrated significant gains in both sample efficiency and final scores. For instance, on Qbert, MEMEC achieved a score of 11,610, nearly tripling the performance of the episodic baseline (3,896). Similar improvements were observed in Ms. Pac-Man and Space Invaders*, where the Mellowmax-driven exploration led to more stable and rapid learning curves compared to standard methods.

Comparison of MEMEC (Mellowmax) against D3QN and epsilon-greedy baselines across four Atari games.

Discussion

A significant finding of this work is that decoupling exploration from the primary objective allows for smarter search without compromising the goal of reward maximization. While uncertainty-based methods like UCB often struggle in RL due to poorly calibrated distance kernels in episodic memory, Mellowmax serves as a robust stabilizer. Current limitations include the manual tuning of the $\omega$ hyperparameter, which governs the "exploration style." Future research will focus on automating this parameter to allow agents to adapt their exploration strategy dynamically across different environments.

Conclusion

MEMEC offers a powerful approach to sample-efficient RL by bridging the gap between fast episodic memory and sophisticated exploration. Its success in high-dimensional visual tasks underscores the importance of state-dependent exploration in memory-augmented architectures, providing a path toward agents that can learn from significantly fewer interactions.

Summary updated

BibTeX
@misc{sarrico2019sample,
  author = {Marta Sarrico and Kai Arulkumaran and Andrea Agostinelli and Pierre Richemond and Anil Anthony Bharath},
  title = {{Sample-Efficient Reinforcement Learning with Maximum Entropy Mellowmax Episodic Control}},
  year = {2019},
  eprint = {1911.09615},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.09615},
}
Figure