Skip to main content
QUICK REVIEW

[Paper Review] Search on the Replay Buffer: Bridging Planning and Reinforcement Learning

Benjamin Eysenbach, Ruslan Salakhutdinov|arXiv (Cornell University)|Jun 12, 2019
Reinforcement Learning in RoboticsComputer Science70 citations
TL;DR

SoRB combines planning via graph search with goal-conditioned RL by building a distance graph over replay buffer states and planning shortest paths to distant goals.

ABSTRACT

The history of learning for control has been an exciting back and forth between two broad classes of algorithms: planning and reinforcement learning. Planning algorithms effectively reason over long horizons, but assume access to a local policy and distance metric over collision-free paths. Reinforcement learning excels at learning policies and the relative values of states, but fails to plan over long horizons. Despite the successes of each method in various domains, tasks that require reasoning over long horizons with limited feedback and high-dimensional observations remain exceedingly challenging for both planning and reinforcement learning algorithms. Frustratingly, these sorts of tasks are potentially the most useful, as they are simple to design (a human only need to provide an example goal state) and avoid reward shaping, which can bias the agent towards finding a sub-optimal solution. We introduce a general control algorithm that combines the strengths of planning and reinforcement learning to effectively solve these tasks. Our aim is to decompose the task of reaching a distant goal state into a sequence of easier tasks, each of which corresponds to reaching a subgoal. Planning algorithms can automatically find these waypoints, but only if provided with suitable abstractions of the environment -- namely, a graph consisting of nodes and edges. Our main insight is that this graph can be constructed via reinforcement learning, where a goal-conditioned value function provides edge weights, and nodes are taken to be previously seen observations in a replay buffer. Using graph search over our replay buffer, we can automatically generate this sequence of subgoals, even in image-based environments. Our algorithm, search on the replay buffer (SoRB), enables agents to solve sparse reward tasks over one hundred steps, and generalizes substantially better than standard RL algorithms.

Motivation & Objective

  • Address the challenge of long-horizon, sparse-reward tasks in high-dimensional observations by decomposing goals into subgoals found automatically via planning over past observations.
  • Leverage a goal-conditioned RL policy to solve each subgoal and use the replay buffer as a non-parametric state graph for planning.
  • Obtain robust distance estimates using distributional RL and ensembles to guide graph search.
  • Demonstrate improved performance over standard RL on long-horizon navigation tasks and show generalization to unseen environments.

Proposed method

  • Learn a goal-conditioned policy and its Q/value function using an off-policy RL algorithm with goal relabeling and distributional RL.
  • Define shortest-path distances d_sp(s,s_g) and relate V(s,s_g) and Q(s,a,s_g) to negative shortest-path distances.
  • Construct a graph on replay buffer observations with edge weights equal to predicted distances, capped by MaxDist.
  • Use Dijkstra’s algorithm to find a shortest path between start and goal over the replay-buffer graph.
  • During execution, plan a sequence of waypoints along the path and condition the policy on the next waypoint or directly on the goal if closer.
  • Enhance distance estimates with distributional RL (bins representing distance steps) and ensembles for uncertainty.

Experimental results

Research questions

  • RQ1Can planning over a replay buffer via graph search find a sequence of subgoals to reach distant goals in high-dimensional environments?
  • RQ2Do distance estimates learned by distributional RL and ensembles yield reliable planning guidance for SoRB?
  • RQ3Does SoRB improve success on long-horizon, sparse-reward tasks and generalize to unseen environments compared to standard goal-conditioned RL?
  • RQ4How does SoRB compare to semi-parametric topological memory (SPTM) and other baselines on image-based navigation tasks?

Key findings

  • SoRB enables solving long-horizon, sparse-reward tasks over 100 steps and generalizes better than standard RL methods.
  • Graph search over the replay buffer, guided by goal-conditioned value-based distances, yields effective waypoint sequences for navigation in image-based domains.
  • Distributional RL and ensembles significantly improve distance estimation and planning robustness, especially for distant goals.
  • In visual navigation, SoRB substantially outperforms baselines including SPTM, C51, VIN, and HER, particularly as goal distance increases.
  • SoRB generalizes to new houses in SUNCG, maintaining high success rates for goals as distance grows, whereas pure goal-conditioned RL struggles.

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.