Spatially-Aware Transformer for Embodied Agents
Not on the map. Why?
Abstract (arXiv)
Episodic memory plays a crucial role in various cognitive processes, such as the ability to mentally recall past events. While cognitive science emphasizes the significance of spatial context in the formation and retrieval of episodic memory, the current primary approach to implementing episodic memory in AI systems is through transformers that store temporally ordered experiences, which overlooks the spatial dimension. As a result, it is unclear how the underlying structure could be extended to incorporate the spatial axis beyond temporal order alone and thereby what benefits can be obtained. To address this, this paper explores the use of Spatially-Aware Transformer models that incorporate spatial information. These models enable the creation of place-centric episodic memory that considers both temporal and spatial dimensions. Adopting this approach, we demonstrate that memory utilization efficiency can be improved, leading to enhanced accuracy in various place-centric downstream tasks. Additionally, we propose the Adaptive Memory Allocator, a memory management method based on reinforcement learning that aims to optimize efficiency of memory utilization. Our experiments demonstrate the advantages of our proposed model in various environments and across multiple downstream tasks, including prediction, generation, reasoning, and reinforcement learning. The source code for our models and experiments will be available at https://github.com/junmokane/spatially-aware-transformer.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 25 of its 45 references that are in the map. First posted on arXiv 23 Feb 2024.
Builds on
25 of 45 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2019Habitat: A Platform for Embodied AI Researchcited by 1,163
- 2020Mastering Atari with Discrete World Modelscited by 990
- 2014Neural Turing Machinescited by 630
13 more
- 2022Transformers are Sample-Efficient World Modelscited by 317
- 2019Stabilizing Transformers for Reinforcement Learningcited by 262
- 2019MineRL: A Large-Scale Dataset of Minecraft Demonstrationscited by 210
- 2022TransDreamer: Reinforcement Learning with Transformer World Modelscited by 143
- 2019Shaping Belief States with Generative Environment Models for RLcited by 65
- 2021Relating transformers to models and neural representations of the hippocampal formationcited by 62
- 2018Optimizing Agent Behavior over Long Time Scales by Transporting Valuecited by 57
- 2019Sequential Neural Processescited by 55
- 2021Towards mental time travel: a hierarchical memory for reinforcement learning agentscited by 38
- 2021Efficient Transformers in Reinforcement Learning using Actor-Learner Distillationcited by 35
- 2020Robustifying Sequential Neural Processescited by 15
- 2018Generative Temporal Models with Spatial Memory for Partially Observed Environmentscited by 10
- 2018Learning models for visual 3D localization with implicit mappingcited by 7
Built on by
Citing papers per year: 2025: 5.
5 papers.
- 2025Visual Embodied Brain: Let Multimodal Large Language Models See, Think, and Control in Spacescited by 33
- 2025Neural Brain: A Neuroscience-inspired Framework for Embodied Agentscited by 10
- 2025Mind Meets Space: Rethinking Agentic Spatial Intelligence from a Neuroscience-inspired Perspectivecited by 7
- 2025Aligning Perception, Reasoning, Modeling and Interaction: A Survey on Physical AIcited by 3
- 2025Spatially-informed transformers: Injecting geostatistical covariance biases into self-attention for spatio-temporal forecastingcited by 0
- 2025Spatially-informed transformers: Injecting geostatistical covariance biases into self-attention for spatio-temporal forecasting19 Dec 2025
- 2025Aligning Perception, Reasoning, Modeling and Interaction: A Survey on Physical AI6 Oct 2025
- 2025Mind Meets Space: Rethinking Agentic Spatial Intelligence from a Neuroscience-inspired Perspective11 Sep 2025
- 2025Visual Embodied Brain: Let Multimodal Large Language Models See, Think, and Control in Spaces30 May 2025
- 2025Neural Brain: A Neuroscience-inspired Framework for Embodied Agents12 May 2025