mlsanityData to 7 Oct 2026

Learning Cognitive Maps from Transformer Representations for Efficient Planning in Partially Observed Environments

arXiv 2401.05946 ↗First posted 11 Jan 2024cs.LG cs.AIcited by 6

On the map: World models → Latent predictive world models

Abstract (arXiv)

Despite their stellar performance on a wide range of tasks, including in-context tasks only revealed during inference, vanilla transformers and variants trained for next-token predictions (a) do not learn an explicit world model of their environment which can be flexibly queried and (b) cannot be used for planning or navigation. In this paper, we consider partially observed environments (POEs), where an agent receives perceptually aliased observations as it navigates, which makes path planning hard. We introduce a transformer with (multiple) discrete bottleneck(s), TDB, whose latent codes learn a compressed representation of the history of observations and actions. After training a TDB to predict the future observation(s) given the history, we extract interpretable cognitive maps of the environment from its active bottleneck(s) indices. These maps are then paired with an external solver to solve (constrained) path planning problems. First, we show that a TDB trained on POEs (a) retains the near perfect predictive performance of a vanilla transformer or an LSTM while (b) solving shortest path problems exponentially faster. Second, a TDB extracts interpretable representations from text datasets, while reaching higher in-context accuracy than vanilla sequence models. Finally, in new POEs, a TDB (a) reaches near-perfect in-context accuracy, (b) learns accurate in-context cognitive maps (c) solves in-context path planning problems.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Latent predictive world models, one of 11 directions in World models. Builds on 27 of its 37 references that are in the map. First posted on arXiv 11 Jan 2024.

Builds on

27 of 37 references.

References · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  6. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  7. 2017Neural Discrete Representation Learningcited by 4,650
  8. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  9. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  10. 2022Emergent Abilities of Large Language Modelscited by 2,483
  11. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  12. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
15 more
  1. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
  2. 2023GAIA: a benchmark for General AI Assistantscited by 1,084
  3. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  4. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  5. 2022A Generalist Agentcited by 802
  6. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
  7. 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 417
  8. 2023Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planningcited by 204
  9. 2023Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchillacited by 145
  10. 2023Evaluating Cognitive Maps and Planning in Large Language Models with CogEvalcited by 77
  11. 2022BYOL-Explore: Exploration by Bootstrapped Predictioncited by 71
  12. 2022Guaranteed Discovery of Control-Endogenous Latent States with Multi-Step Inverse Modelscited by 42
  13. 2022Plansformer: Generating Symbolic Plans using Transformerscited by 41
  14. 2023Schema-learning and rebinding as mechanisms of in-context learning and emergencecited by 14
  15. 2023Graph schemas as abstractions for transfer learning, inference, and planningcited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024One-shot World Models Using a Transformer Trained on a Synthetic Prior
  2. 2026Generative-Model Predictive Planning for Navigation in Partially Observable Environments
  3. 2026Sparse Planning in Visual World Models via Cost Gradients
  4. 2026AGI Maze Prediction Datasets: A Compact Benchmark for Learning World Dynamics with Transformers
  5. 2026PreAct-Nav: Agentic Reasoning Before Action for Urban Navigation
  6. 2026Latent Geometry Beyond Search: Amortizing Planning in World Models
  7. 2023Understanding Representations Pretrained with Auxiliary Losses for Embodied Agent Planning
  8. 2021Temporal Predictive Coding For Model-Based Planning In Latent Space