[Paper Review] Generative Temporal Models with Spatial Memory for Partially Observed Environments
This paper proposes a scalable action-conditioned generative temporal model with spatial memory (GTM-SM) that enables long-term prediction in partially observed 2D and 3D environments. By decoupling low-dimensional agent dynamics from high-dimensional visual observations using a state-space model and a Variational Auto-Encoder, and storing disentangled representations in a Differentiable Neural Dictionary (DND), the model achieves coherent, end-to-end generation of hundreds of time steps in complex environments without learning complex memory addressing mechanisms.
In model-based reinforcement learning, generative and temporal models of environments can be leveraged to boost agent performance, either by tuning the agent's representations during training or via use as part of an explicit planning mechanism. However, their application in practice has been limited to simplistic environments, due to the difficulty of training such models in larger, potentially partially-observed and 3D environments. In this work we introduce a novel action-conditioned generative model of such challenging environments. The model features a non-parametric spatial memory system in which we store learned, disentangled representations of the environment. Low-dimensional spatial updates are computed using a state-space model that makes use of knowledge on the prior dynamics of the moving agent, and high-dimensional visual observations are modelled with a Variational Auto-Encoder. The result is a scalable architecture capable of performing coherent predictions over hundreds of time steps across a range of partially observed 2D and 3D environments.
Motivation & Objective
- Address the challenge of long-term visual prediction in partially observed, 3D environments where standard RNNs fail due to high-dimensional state vectors.
- Overcome limitations of parametric memory models in complex spatial environments by introducing a non-parametric spatial memory system.
- Enable scalable, coherent generation of high-dimensional visual observations over hundreds of time steps using structured memory and dynamics priors.
- Develop a model that supports future integration into model-based reinforcement learning for planning in spatial tasks.
Proposed method
- Decompose the latent state into a low-dimensional dynamics vector (agent position) and a high-dimensional visual representation (frame encoding).
- Model agent dynamics using a state-space model that incorporates prior knowledge of movement physics and learns transition parameters via a regression loss.
- Encode visual observations using a Variational Auto-Encoder (VAE) to learn disentangled, high-capacity representations.
- Store paired position-visual representations in a Differentiable Neural Dictionary (DND), a non-parametric memory that enables efficient retrieval.
- Perform long-horizon generation by retrieving similar past states from DND based on current estimated position and propagating dynamics forward.
- Train the model end-to-end using video sequences and corresponding action sequences from agent trajectories.
Experimental results
Research questions
- RQ1Can a generative model with spatial memory achieve coherent long-term prediction in partially observed 3D environments?
- RQ2Does separating dynamics and visual representations improve scalability and training stability compared to standard RNNs?
- RQ3Can a non-parametric memory like DND outperform parametric memory addressing in spatial temporal modeling without requiring complex attention mechanisms?
- RQ4To what extent can the model generalize to larger environments with multiple rooms and complex textures?
- RQ5How well does the model perform in zero-shot prediction after a single exploration phase?
Key findings
- The GTM-SM model successfully generates coherent visual predictions for up to 300 time steps in a single-room 3D environment, with accurate reconstruction of walls and floors.
- The model achieves high accuracy in predicting agent displacement over 297 time steps, demonstrating robust long-term dynamics modeling.
- In multi-room environments with 450 total time steps, the model maintains coherent texture and structural generation, showing scalability beyond single rooms.
- The model fails to render complex object textures, indicating limitations in VAE-based visual representation learning for highly diverse visual patterns.
- The absence of learned memory addressing mechanisms enables faster and more stable training compared to prior models like those in Gemici et al. (2017).
- The use of a state-space model with a regression loss on true displacements significantly improves transition accuracy and long-horizon prediction fidelity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.