Skip to main content
QUICK REVIEW

[Paper Review] Scene Memory Transformer for Embodied Agents in Long-Horizon Tasks

Kuan Fang, Alexander Toshev|arXiv (Cornell University)|Mar 9, 2019
Multimodal Machine Learning ApplicationsComputer Science51 references17 citations
TL;DR

This paper proposes the Scene Memory Transformer (SMT), a memory-based reinforcement learning policy that uses self-attention over a set of embedded past observations to model long-horizon dependencies in visual navigation. SMT outperforms reactive and RNN-based policies across roaming, coverage, and search tasks by leveraging scalable, attention-driven memory access without fixed-size state compression.

ABSTRACT

Many robotic applications require the agent to perform long-horizon tasks in partially observable environments. In such applications, decision making at any step can depend on observations received far in the past. Hence, being able to properly memorize and utilize the long-term history is crucial. In this work, we propose a novel memory-based policy, named Scene Memory Transformer (SMT). The proposed policy embeds and adds each observation to a memory and uses the attention mechanism to exploit spatio-temporal dependencies. This model is generic and can be efficiently trained with reinforcement learning over long episodes. On a range of visual navigation tasks, SMT demonstrates superior performance to existing reactive and memory-based policies by a margin.

Motivation & Objective

  • Address the challenge of long-horizon decision-making in partially observable, unseen environments where past observations critically influence current actions.
  • Overcome limitations of RNNs and fixed-structure memory models in capturing long-term spatio-temporal dependencies.
  • Design a flexible, scalable memory mechanism that preserves individual observation embeddings and defers aggregation via attention.
  • Demonstrate the effectiveness of attention mechanisms in place of RNNs for policy networks in long-horizon navigation tasks.

Proposed method

  • Store each observation (image, depth, pose, action) as a separate embedding in a scene memory, growing linearly with episode length.
  • Use a transformer-based policy network that applies multi-head self-attention over the scene memory to compute actions based on current observation.
  • Apply memory factorization to reduce quadratic computational complexity to linear when memory size exceeds a threshold.
  • Train the SMT policy end-to-end using deep Q-learning (DQN) with experience replay and target networks.
  • Integrate multimodal inputs: RGB images, depth maps, agent pose, and previous actions into the observation embeddings.
  • Use a vision transformer encoder to process visual inputs and extract rich spatial-temporal features before memory storage.

Experimental results

Research questions

  • RQ1Can an attention-based memory mechanism outperform RNN-based and reactive policies in long-horizon visual navigation tasks?
  • RQ2How does the size of the scene memory affect performance across different navigation tasks?
  • RQ3Which observation modalities (e.g., depth, RGB, pose, actions) are most critical for SMT’s performance?
  • RQ4To what extent does the transformer-based attention mechanism improve long-term dependency modeling compared to recurrent or map-based memory?
  • RQ5Can memory factorization maintain performance while reducing computational cost in large-scale memory scenarios?

Key findings

  • SMT significantly outperforms reactive policies and LSTM-based baselines across all three tasks: roaming, coverage, and search, with consistent gains in success rate and trajectory efficiency.
  • Performance improves with larger memory capacity—especially in coverage and search tasks—demonstrating SMT’s ability to leverage long-horizon memory.
  • Depth images, pose, and last action are the most critical modalities; removing them causes substantial performance drops (e.g., 15–20 reward points in search tasks).
  • The vision encoder contributes substantially, boosting performance by 23.7 points in the most complex search task, highlighting its role in feature abstraction.
  • Memory factorization reduces computational complexity from quadratic to linear, enabling large memory use without performance degradation.
  • Qualitative analysis shows SMT generates compact, direct trajectories with fewer collisions and more efficient exploration than baselines, especially in room-switching and target-finding behaviors.

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.