NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

OSVI-WM: One-Shot Visual Imitation for Unseen Tasks using World-Model-Guided Trajectory Generation

Raktim Gautam Goswami, Prashanth Krishnamurthy, Yann LeCun, Farshad Khorrami

Abstract

One-Shot Visual Imitation (OSVI) aims to enable robots to replicate tasks from a single video demonstration, even across different environments or embodiments. We introduce OSVI-WM, a framework that leverages a learned world model to "foresee" future latent states and actions. By imagining trajectories in a compact latent space and decoding them into robust 3D waypoints, OSVI-WM achieves significant performance gains on unseen tasks, outperforming previous state-of-the-art methods by over 30% in success rate.

Introduction

Most current imitation learning systems are "specialists," trained on specific tasks and struggling to generalize to novel scenarios—even those with similar semantic structures. Key challenges include the lack of environmental dynamics modeling, which prevents long-term reasoning, and embodiment mismatch between human experts and robotic agents.

Overview of the OSVI-WM framework where the agent foresees future observations to guide action.

OSVI-WM addresses these issues by shifting from direct pixel-to-action mapping to a "predict-then-act" pipeline. The system learns to "imagine" the steps required to complete a task based on an expert's intent, represented in a shared latent space.

Methodology: World-Model-Guided Trajectory Generation

The OSVI-WM architecture consists of several integrated components designed to bridge the gap between visual observation and physical control.

Detailed architecture of OSVI-WM showing the latent encoding, trajectory generation, and waypoint prediction pipeline.
  1. Latent Encoding: A ResNet-18 encoder maps both the expert demonstration and the robot's current observation into a shared latent space.
  2. Trajectory Generation: Using a causal transformer, the model recursively predicts a sequence of future latent states and actions. This world model allows the agent to simulate the environment's evolution based on the expert's demonstration.
  3. Waypoint Decoding: The predicted latent trajectory is processed through a spatial pooling layer and a Multi-Layer Perceptron (MLP) to produce physical 3D waypoints and gripper states.
  4. Closed-Loop Re-planning: To handle execution errors, the system performs real-time re-planning by generating new waypoints from the current state if the initial trajectory fails.

A critical training detail is the use of a "stop-gradient" operation. This prevents the waypoint prediction loss from degrading the ground-truth latent representations, ensuring the world model remains physically grounded.

Experimental Evaluation

The framework was evaluated across diverse benchmarks including Meta-World (50 manipulation tasks), Pick-and-Place (embodiment mismatch testing), and custom Real-World Benchmarks involving human-to-robot imitation.

Key Results

OSVI-WM significantly outperformed baselines like AWDA and T-OSVI:

  • Meta-World "Hard" Tasks: OSVI-WM achieved a 71.5% success rate, compared to just 11% for the previous best baseline.
  • Real-World Success: In human-to-robot pushing tasks, OSVI-WM reached a 100% success rate.
  • Re-planning Boost: The re-planning mechanism provided a ~30-point success rate gain on the most challenging tasks, proving that iterative "thinking" is vital for robotics.

Discussion and Insights

The success of OSVI-WM highlights the importance of modeling environment dynamics. By explicitly "foreseeing" the future, the agent can plan for long-term goals rather than merely reacting to visual stimuli. Furthermore, using 3D waypoints instead of raw motor torques provides robustness against hardware differences (embodiment mismatch).

Current limitations include a lack of orientation control for complex rotations and a focus on single-stage tasks. Future work will explore multi-stage task execution and broader manipulator families.

Summary updated

BibTeX
@inproceedings{goswami2025osvi,
  author = {Raktim Gautam Goswami and Prashanth Krishnamurthy and Yann LeCun and Farshad Khorrami},
  title = {{OSVI-WM: One-Shot Visual Imitation for Unseen Tasks using World-Model-Guided Trajectory Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=eXO6g7BmOA},
}
Figure