VRKitchen: an Interactive 3D Virtual Environment for Task-oriented Learning

Xiaofeng Gao, Ran Gong, Tianmin Shu, Xu Xie, Shu Wang, Song-Chun ZhuarXiv 2019

Abstract

Performing complex physical tasks in the real world remains a significant challenge for artificial intelligence. We present VRKitchen, a high-fidelity 3D simulation platform built in Unreal Engine 4 designed to bridge the gap between simple navigation and complex, multi-step object manipulation. By integrating photo-realistic rendering with a Virtual Reality (VR) interface, VRKitchen enables human "teachers" to provide fine-grained demonstrations of tasks such as cooking. These demonstrations serve as critical data for bootstrapping reinforcement learning models in environments where objects undergo topological and geometric state changes.

Introduction

While AI has achieved remarkable success in strategic games and static computer vision tasks, household robotics faces hurdles in dynamic environments and long-term planning. Standard simulators often treat objects as rigid blocks, failing to capture the nuances of real-world interactions where objects change state—for example, a tomato being sliced or bread being toasted. Furthermore, the sparse rewards associated with multi-step tasks like "making a sandwich" make traditional Reinforcement Learning (RL) highly inefficient. VRKitchen addresses these issues by focusing on fine-grained manipulation and state-dependent causality within a realistic kitchen setting.

System Architecture

The VRKitchen platform is comprised of three primary modules:

  1. Physics and Rendering Module: Utilizing Unreal Engine 4 (UE4), the system provides 16 interactive kitchen scenes. Objects are designed with compositional affordances; for instance, a coffee machine features functional buttons, and cutting tools can alter the geometry of food items.
  2. VR User Interface: Using an Oculus Rift and Touch controllers, human users can teleoperate virtual avatars. This facilitates the collection of Learning from Demonstration (LfD) data, capturing precise hand movements and subsequent environmental state changes.
  3. Python-UE4 Bridge: This communication layer allows researchers to deploy AI agents within the environment, receiving multi-modal feedback (RGB, depth, and semantic segmentation) at 15 FPS.
Overview of the VRKitchen environment showing the top-down layout and corresponding first-person views for five distinct cooking tasks.

The UCLA VR Chef Dataset

To support research in imitation learning, we introduced the UCLA VR Chef Dataset. This dataset contains human demonstrations for five core dish-preparation tasks. Each task includes 20 demonstrations, averaging 25 steps per sequence. The underlying 3D models were sourced from the SUNCG dataset and manually enhanced to support interactive components, such as articulated cabinet doors and appliance interfaces.

Experimental Results and Benchmarks

We evaluated several standard RL algorithms, including A2C, PPO, DDPG, and DQN, across varying task difficulties:

  • Tool Use: Pure RL agents struggled significantly with tasks requiring tools (e.g., peeling or cutting) due to the vast state space and the precision required.
  • Dish Preparation:
    • Low Complexity (e.g., making juice): PPO and DQN agents successfully converged within 1,000 episodes.
  • Medium Complexity (e.g., making stew): PPO managed to converge after 3,000 episodes.
  • High Complexity (e.g., making a sandwich): No standard RL algorithm was able to complete the ~29-step sandwich task within 5,000 episodes.
Sequential first-person frames demonstrating a human user interacting with a refrigerator to retrieve ingredients.

Discussion and Future Work

The failure of standard RL on complex tasks underscores the "RL Wall," highlighting the necessity of human demonstrations provided by the VRKitchen interface. The platform demonstrates that state changes—where the topology and geometry of objects are altered—are crucial for teaching AI the underlying physics of the world.

Future work will focus on expanding the variety of scenes beyond the current 16 kitchens and exploring more sophisticated hierarchical RL and imitation learning techniques to tackle long-horizon tasks. We also intend to broaden the scope of the simulation to encompass a wider array of general household activities.

Conclusion

VRKitchen provides a robust framework for training AI agents in complex, realistic environments. By combining high-fidelity physics with an intuitive VR demonstration system, it offers a path forward for developing robots capable of performing intricate, multi-step physical manipulations in the real world.

Summary updated

BibTeX
@misc{gao2019vrkitchen,
  author = {Xiaofeng Gao and Ran Gong and Tianmin Shu and Xu Xie and Shu Wang and Song-Chun Zhu},
  title = {{VRKitchen: an Interactive 3D Virtual Environment for Task-oriented Learning}},
  year = {2019},
  eprint = {1903.05757},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.05757},
}
Figure