Building Generalizable Agents with a Realistic and Rich 3D Environment

Yi Wu, Yuxin Wu, Georgia Gkioxari, Yuandong Tian

Introduction

The authors introduce House3D, a massive, high-performance 3D environment containing over 45,000 human-designed houses for training reinforcement learning (RL) agents. By leveraging this diversity alongside a novel gated-attention architecture, they demonstrate that agents can learn to navigate to specific rooms (e.g., "go to the kitchen") in entirely unseen layouts, significantly outperforming standard baselines.

The Challenge of 3D Navigation

Deep RL has seen massive success in games like Atari and Go, but these agents often struggle with generalization. An agent trained to navigate one specific virtual house usually fails when placed in a new one because it has "memorized" the layout or specific textures rather than learning general semantic concepts.

The challenge in 3D navigation is twofold:

  1. Environmental Scarcity: Most existing 3D simulators are either too small (few scenes), too slow for deep RL, or lack the visual richness of the real world.
  2. Semantic Mapping: Agents need to connect a high-level command (like "find the bedroom") with low-level visual inputs (pixels) across varying architectural styles and furniture arrangements.

Methods: House3D and Gated-Attention

The researchers tackle these issues through a combination of a new platform and specialized neural architectures.

Overview of the House3D environment and the reinforcement learning task loop.
  • House3D Environment: Built on the SUNCG dataset, House3D provides a lightning-fast renderer (up to 1800 fps on a single GPU) and a diverse array of 45,622 houses. Every object is fully labeled, allowing for rich semantic feedback. It includes everything from single-room studios to multi-story mansions, with over 80 object categories and 20+ room types.
  • Gated-Attention Networks: Instead of simply concatenating the text instruction to the image features, the authors use a gated-attention mechanism. The instruction (e.g., "Kitchen") is embedded into a vector that acts as a multiplicative filter (using a Hadamard product) on the visual features. This forces the network to "attend" only to visual information relevant to the current goal.
Architecture of the gated-attention mechanism fusing visual states and instructions.
  • Multi-Level Augmentation: To prevent overfitting, they employ three types of data augmentation:
  • Pixel-level: Domain randomization (randomly changing object colors/textures).
  • Task-level: Training on multiple auxiliary targets simultaneously.
  • Scene-level: Training across hundreds of different house layouts.

Key Insights and Results

To rigorously measure generalization, the authors curated a subset of 270 houses, split into "small" (20), "large" (200), and "test" (50) sets.

  • Diversity is the Best Teacher: Scene-level diversity (training on 200 houses vs. 20) proved to be the most effective way to improve generalization. It forces the agent to learn "what a kitchen looks like" rather than "where the kitchen is." On the "large" training set, the gap between training and test performance was significantly smaller, proving that House3D's scale effectively mitigates overfitting.
  • Gating Over Concatenation: The gated-attention mechanism ensures the goal actively modulates visual processing, which is crucial for multi-target tasks.
  • Semantic Masks as a Bridge: Using semantic segmentation masks during training helps agents generalize much faster than raw RGB, suggesting that decoupling recognition from navigation is a powerful strategy for sim-to-real transfer.
  • Performance: The final gated-LSTM agent achieved a 35.8% success rate on 50 unseen environments, a 10% absolute improvement over the baseline. Overall, agents trained with gated-attention and rich augmentations performed over 8% better in navigation success rate compared to raw RGB baselines.

Limitations and Future Work

While a 35.8% success rate is a significant improvement, semantic navigation in complex 3D spaces remains a challenging problem. The current environment uses simplified physics and limits agents to navigation without object interaction (e.g., opening a fridge). Furthermore, while semantic masks hint at a path to real-world deployment, the paper does not yet demonstrate the agent running on a physical robot. However, the House3D API is flexible enough to incorporate these complex interactions in future research.

Summary updated

BibTeX
@inproceedings{wu2018building,
  author = {Yi Wu and Yuxin Wu and Georgia Gkioxari and Yuandong Tian},
  title = {{Building Generalizable Agents with a Realistic and Rich 3D Environment}},
  booktitle = {Workshops @ ICLR},
  year = {2018},
  url = {https://openreview.net/forum?id=AtMoUnqtz49},
}
Figure