[Paper Review] VirtualHome: Simulating Household Activities via Programs
This paper introduces VirtualHome, a 3D simulator that generates synthetic household activity videos using programs—symbolic sequences of atomic actions and interactions. By crowd-sourcing programs via a game-like interface, the authors train models to infer programs from natural language or video, enabling agents to execute complex tasks in simulation with high accuracy and executability, validated through human evaluation and rich video annotations.
In this paper, we are interested in modeling complex activities that occur in a typical household. We propose to use programs, i.e., sequences of atomic actions and interactions, as a high level representation of complex tasks. Programs are interesting because they provide a non-ambiguous representation of a task, and allow agents to execute them. However, nowadays, there is no database providing this type of information. Towards this goal, we first crowd-source programs for a variety of activities that happen in people's homes, via a game-like interface used for teaching kids how to code. Using the collected dataset, we show how we can learn to extract programs directly from natural language descriptions or from videos. We then implement the most common atomic (inter)actions in the Unity3D game engine, and use our programs to "drive" an artificial agent to execute tasks in a simulated household environment. Our VirtualHome simulator allows us to create a large activity video dataset with rich ground-truth, enabling training and testing of video understanding models. We further showcase examples of our agent performing tasks in our VirtualHome based on language descriptions.
Motivation & Objective
- To create a large-scale, program-based knowledge base of household activities for robotics.
- To develop a 3D simulator (VirtualHome) that generates high-fidelity video datasets with rich ground-truth annotations.
- To enable automatic program generation from natural language descriptions and video demonstrations.
- To evaluate the quality of program inference using both automated metrics and human evaluation.
- To provide a scalable, open-source platform for training and testing vision and robotics agents in simulated home environments.
Proposed method
- Crowd-source programs for household activities using a Scratch-inspired interface to convert natural language instructions into symbolic action sequences.
- Implement common atomic actions (e.g., pick-up, switch on) in the Unity3D game engine with physics, navigation, and kinematic models.
- Generate synthetic video datasets by animating programs with randomized environments, object placements, agent positions, and camera views.
- Train a neural model to predict programs from natural language using sequence-to-sequence learning with reinforcement learning (RL) to optimize for both program similarity (LCS) and executability.
- Use a probabilistic grammar to initialize program generation and refine it via RL with dual rewards: LCS for semantic accuracy and simulator feedback for executability.
- Annotate synthetic videos with rich supervisory signals: action timestamps, 2D/3D poses, class and instance segmentation, depth, and optical flow.
Experimental results
Research questions
- RQ1Can programs—symbolic sequences of atomic actions—effectively represent complex household activities in a way that is both unambiguous and executable by an agent?
- RQ2How accurately can a neural model infer a program from a natural language description of a household activity?
- RQ3Can a model learn to generate executable programs from video demonstrations of household activities?
- RQ4To what extent do automatically generated programs align with human-annotated ground-truth in terms of action sequence and object interactions?
- RQ5How well do automated metrics (e.g., LCS, executability) correlate with human judgments of program quality and task plausibility?
Key findings
- The proposed RL model with dual rewards (LCS and executability) outperforms all baselines on both language-based and video-based program generation, achieving higher LCS scores and significantly improved executability.
- The model trained with both LCS and simulator rewards achieves a 92.1% executability rate on the VirtualHome dataset, outperforming the LCS-only model (85.3%) and the MLE baseline (78.9%).
- Human evaluation shows strong agreement between automated metrics and human judgments: programs with LCS scores above 0.95 received high human ratings, confirming metric validity.
- The simulator enables the creation of a large-scale video dataset with rich annotations, including action timestamps, 3D poses, segmentation masks, depth, and optical flow, supporting downstream vision and robotics tasks.
- The system successfully generates plausible agent behaviors from natural language descriptions, as demonstrated in video examples where agents perform complex tasks like making a bed or cooking dinner.
- The model’s ability to generalize to unseen activities suggests that program-based representations can serve as a robust intermediate language for robot learning from human demonstrations.
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.