Papers › Sparse Graphical Memory for Robust Planning

Sparse Graphical Memory for Robust Planning

13 Mar 2020NeurIPS 2020 12arXiv:2003.06417archive 2025-07-28

Scott Emmons, Ajay Jain, Michael Laskin, Thanard Kurutach, Pieter Abbeel, Deepak Pathak

To operate effectively in the real world, agents should be able to act from high-dimensional raw sensory input such as images and achieve diverse goals across long time-horizons. Current deep reinforcement and imitation learning methods can learn directly from high-dimensional inputs but do not scale well to long-horizon tasks. In contrast, classical graphical methods like A* search are able to solve long-horizon tasks, but assume that the state space is abstracted away from raw sensory input. Recent works have attempted to combine the strengths of deep learning and classical planning; however, dominant methods in this domain are still quite brittle and scale poorly with the size of the environment. We introduce Sparse Graphical Memory (SGM), a new data structure that stores states and feasible transitions in a sparse memory. SGM aggregates states according to a novel two-way consistency objective, adapting classic state aggregation criteria to goal-conditioned RL: two states are redundant when they are interchangeable both as goals and as starting states. Theoretically, we prove that merging nodes according to two-way consistency leads to an increase in shortest path lengths that scales only linearly with the merging threshold. Experimentally, we show that SGM significantly outperforms current state of the art methods on long horizon, sparse-reward visual navigation tasks. Project video and code are available at https://mishalaskin.github.io/sgm/

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2003.06417")

Code

Syntology Ran 0 of 13 code samples harvested from 1 repository linked to this paper; 13 have no recorded run.

By repository: official repository: 13 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

scottemmons/sgm officialmentioned on GitHubtfApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 0 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

13unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from scottemmons/sgm. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

cleanup_and_eval scottemmons/sgm/sgm/evaluation.py official repository unverified Apache-2.0 (permissive) · 08dda5d28096c7ca · report
eval_search_policy scottemmons/sgm/sgm/evaluation.py official repository unverified Apache-2.0 (permissive) · 0f50ab9ee95b7647 · report
get_checkpoint_and_writers scottemmons/sgm/sgm/trainer.py official repository unverified Apache-2.0 (permissive) · b6178f1dc67d907e · report
get_combined_dataframe scottemmons/sgm/sgm/plot.py official repository unverified Apache-2.0 (permissive) · 762860ef32385377 · report
get_plan_vec scottemmons/sgm/sgm/utils/visualization.py official repository unverified Apache-2.0 (permissive) · 4f7680d8fee085ba · report
merge_obs_goal scottemmons/sgm/sgm/actor_critic.py official repository unverified Apache-2.0 (permissive) · 9d4365f23ca27285 · report
reset_with_difficulty scottemmons/sgm/sgm/utils/visualization.py official repository unverified Apache-2.0 (permissive) · f2197aad1943ea5a · report
resize_walls scottemmons/sgm/sgm/envs/simple_navigation.py official repository unverified Apache-2.0 (permissive) · 5b6108632887fcaf · report
set_goal scottemmons/sgm/sgm/actor_critic.py official repository unverified Apache-2.0 (permissive) · 95d6f61c0f98b7cd · report
take_cleanup_steps scottemmons/sgm/sgm/evaluation.py official repository unverified Apache-2.0 (permissive) · df430b2152f4f3f4 · report
thin_wall_width scottemmons/sgm/sgm/envs/simple_navigation.py official repository unverified Apache-2.0 (permissive) · e26cc322f709751d · report
thin_walls scottemmons/sgm/sgm/envs/simple_navigation.py official repository unverified Apache-2.0 (permissive) · 7bbcb49f6e110c64 · report
train_eval scottemmons/sgm/sgm/trainer.py official repository unverified Apache-2.0 (permissive) · 3b1432462bcadde8 · report

Tasks

Imitation LearningVisual Navigation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections