Skip to main content
QUICK REVIEW

[Paper Review] World Model as a Graph: Learning Latent Landmarks for Planning

Lunjun Zhang, Ge Yang|arXiv (Cornell University)|Nov 25, 2020
Reinforcement Learning in RoboticsComputer Science51 references22 citations
TL;DR

This paper proposes $L^{3}P$, a method that learns a graph-structured world model using latent landmarks to enable scalable, long-horizon planning in continuous control. By clustering reachability-informed latent goals and using a robust graph-search planner with dynamic re-planning, $L^{3}P$ achieves superior sample efficiency and performance on complex robotic manipulation and navigation tasks compared to prior model-based and hierarchical RL approaches.

ABSTRACT

Planning - the ability to analyze the structure of a problem in the large and decompose it into interrelated subproblems - is a hallmark of human intelligence. While deep reinforcement learning (RL) has shown great promise for solving relatively straightforward control tasks, it remains an open problem how to best incorporate planning into existing deep RL paradigms to handle increasingly complex environments. One prominent framework, Model-Based RL, learns a world model and plans using step-by-step virtual rollouts. This type of world model quickly diverges from reality when the planning horizon increases, thus struggling at long-horizon planning. How can we learn world models that endow agents with the ability to do temporally extended reasoning? In this work, we propose to learn graph-structured world models composed of sparse, multi-step transitions. We devise a novel algorithm to learn latent landmarks that are scattered (in terms of reachability) across the goal space as the nodes on the graph. In this same graph, the edges are the reachability estimates distilled from Q-functions. On a variety of high-dimensional continuous control tasks ranging from robotic manipulation to navigation, we demonstrate that our method, named L3P, significantly outperforms prior work, and is oftentimes the only method capable of leveraging both the robustness of model-free RL and generalization of graph-search algorithms. We believe our work is an important step towards scalable planning in reinforcement learning.

Motivation & Objective

  • To address the challenge of long-horizon planning in high-dimensional continuous control environments where model-based RL fails due to model divergence.
  • To combine the robustness of model-free RL with the generalization of graph-search planning through a learnable world model.
  • To reduce the search space in planning by learning sparse, reachability-aware landmarks in a latent space rather than using fixed or heuristic states.
  • To improve sample efficiency and planning robustness by dynamically re-planning only when necessary and using soft relaxation in edge weights.

Proposed method

  • Learned latent landmarks are derived by clustering goals in a reachability-informed latent space, where temporal distance between goals is encoded via a contrastive loss.
  • Edges in the graph are defined by reachability estimates distilled from Q-functions, with soft relaxation (softmax) to improve robustness against noisy or inaccurate estimates.
  • A novel online planner uses the graph to perform temporally abstracted reasoning, re-planning only when necessary and removing the previous landmark to avoid getting stuck.
  • The method employs a dynamic re-planning strategy that balances adaptability and consistency, avoiding redundant planning at every time step.
  • A hyper-parameter $d_{\text{max}}$ is used to clip edge weights, ensuring only locally trusted transitions are considered during graph search.
  • The number of landmarks is a tunable hyper-parameter, but $L^{3}P$ remains robust across different values due to the self-sparse distribution of learned landmarks.

Experimental results

Research questions

  • RQ1Can a learned graph-structured world model with latent landmarks outperform traditional model-based RL in long-horizon continuous control tasks?
  • RQ2How does the use of reachability-informed latent clustering improve planning scalability and sample efficiency?
  • RQ3To what extent is the $L^{3}P$ planner robust to noisy or inaccurate reachability estimates in the graph edges?
  • RQ4How does dynamic re-planning in $L^{3}P$ compare to naive re-planning at every step in terms of performance and stability?
  • RQ5Can $L^{3}P$ generalize to longer horizons and unseen environments, especially when trained on limited experience?

Key findings

  • $L^{3}P$ significantly outperforms prior model-based and hierarchical RL methods on challenging robotic navigation and manipulation tasks, including AntMaze-Hard.
  • The method achieves higher asymptotic performance and better sample efficiency than baseline approaches, particularly in long-horizon planning scenarios.
  • Ablation studies show that the $L^{3}P$ planner is crucial to success, outperforming a naive planner that recalculates the shortest path at every step.
  • The algorithm is robust to changes in the number of landmarks, as the learning process naturally spreads them across the goal space to maintain coverage.
  • The use of softmax over hard max in edge weighting improves robustness to inaccurate reachability estimates, especially in the presence of occasional bad edges.
  • The method generalizes to longer horizons and demonstrates superior performance where other methods fail, indicating effective temporal abstraction through graph-structured planning.

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.