Learning, Fast and Slow: A Goal-Directed Memory-Based Approach for Dynamic Environments

John Chong Min Tan, Mehul Motani
1/31/2023
cs.AIcs.LG

No official code found. Best implementation: tanchongmin/Learning-Fast-and-Slow (14 stars, last commit 2023-02-14).

Abstract

Model-based next state prediction and state value prediction are slow to converge. To address these challenges, we do the following: i) Instead of a neural network, we do model-based planning using a parallel memory retrieval system (which we term the slow mechanism); ii) Instead of learning state values, we guide the agent's actions using goal-directed exploration, by using a neural network to choose the next action given the current state and the goal state (which we term the fast mechanism). The goal-directed exploration is trained online using hippocampal replay of visited states and future imagined states every single time step, leading to fast and efficient training. Empirical studies show that our proposed method has a 92% solve rate across 100 episodes in a dynamically changing grid world, significantly outperforming state-of-the-art actor critic mechanisms such as PPO (54%), TRPO (50%) and A2C (24%). Ablation studies demonstrate that both mechanisms are crucial. We posit that the future of Reinforcement Learning (RL) will be to model goals and sub-goals for various tasks, and plan it out in a goal-directed memory-based approach.

View on arXivView PDF

Code Implementations(1)

Implementation of a goal-directed, memory-based Reinforcement Learning agent

142Jupyter NotebookJan 31, 20233 years ago

Similar Papers

Cite this paper

@article{tan2023learning,
  title  = {Learning, Fast and Slow: A Goal-Directed Memory-Based Approach for Dynamic Environments},
  author = {John Chong Min Tan and Mehul Motani},
  year   = {2023},
  eprint = {2301.13758},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.13758v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.13758.svg)](https://codeofpaper.com/paper/2301.13758)

Discussion