LGSep 29, 2023

Memory Gym: Towards Endless Tasks to Benchmark Memory Capabilities of Agents

arXiv:2309.17207v613 citationsh-index: 6Has Code
Originality Incremental advance
AI Analysis

This work addresses the need for better benchmarks to evaluate memory in reinforcement learning agents, though it is incremental in expanding existing environments to endless formats.

The authors tackled the problem of benchmarking memory capabilities in decision-making agents by introducing Memory Gym, a suite of 2D partially observable environments with finite and endless tasks, and found that while Transformer-XL outperformed GRU on finite tasks with an auxiliary loss, GRU consistently outperformed Transformer-XL by significant margins in endless tasks.

Memory Gym presents a suite of 2D partially observable environments, namely Mortar Mayhem, Mystery Path, and Searing Spotlights, designed to benchmark memory capabilities in decision-making agents. These environments, originally with finite tasks, are expanded into innovative, endless formats, mirroring the escalating challenges of cumulative memory games such as "I packed my bag". This progression in task design shifts the focus from merely assessing sample efficiency to also probing the levels of memory effectiveness in dynamic, prolonged scenarios. To address the gap in available memory-based Deep Reinforcement Learning baselines, we introduce an implementation within the open-source CleanRL library that integrates Transformer-XL (TrXL) with Proximal Policy Optimization. This approach utilizes TrXL as a form of episodic memory, employing a sliding window technique. Our comparative study between the Gated Recurrent Unit (GRU) and TrXL reveals varied performances across our finite and endless tasks. TrXL, on the finite environments, demonstrates superior effectiveness over GRU, but only when utilizing an auxiliary loss to reconstruct observations. Notably, GRU makes a remarkable resurgence in all endless tasks, consistently outperforming TrXL by significant margins. Website and Source Code: https://marcometer.github.io/jmlr_2024.github.io/

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes