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

Controlling the World by Sleight of Hand

Sruthi Sudhakar, Ruoshi Liu, Basile Van Hoorick, Carl Vondrick, Richard S. Zemel

Introduction

Generative models like DALL-E and Stable Diffusion have revolutionized image synthesis from text. However, these models often lack the precise spatial control required for physical interaction tasks. For instance, a text prompt like "squeeze a pillow horizontally" might produce a plausible image, but it lacks the fine-grained geometric accuracy needed for robotic planning. This "precision gap" arises because text is a low-bandwidth signal for high-dimensional physical actions.

To address this, the authors propose CoSHAND (Controlling the World by Sleight of Hand), a generative world model that predicts how an image changes after a specific hand interaction. By conditioning on binary hand masks instead of text, CoSHAND achieves physically plausible manipulations that generalize across objects and agents.

Methodology

CoSHAND is built upon a pre-trained Latent Diffusion Model (LDM). The core innovation lies in its conditioning mechanism. Instead of text, the model uses visual signals to define the action:

  1. Initial Image ($X_t$): The starting state of the scene.
  2. Initial Hand Mask ($h_t$): A binary mask of the hand's starting position.
  3. Query Hand Mask ($h_{t+1}$): A binary mask representing the target "action" or final hand pose.
The CoSHAND architecture uses channel conditioning on the initial image, current hand mask, and query hand mask to generate the next state.

These inputs are encoded and concatenated in the latent space. To preserve background details and semantic integrity, a frozen CLIP image encoder provides cross-attention conditioning on the original image. The model is trained on "before and after" frames from video datasets, learning to synthesize the resulting state of manipulated objects based on the spatial shift between masks.

Datasets and Evaluation

The model was trained on SomethingSomethingv2 (SSv2), a dataset containing 180,000 videos of humans performing basic actions like pushing, pulling, and opening. Hand masks were automatically extracted using the Segment Anything Model (SAM).

To test generalization, the authors evaluated CoSHAND on several challenging scenarios:

  • In-the-wild data: 45 self-recorded videos of complex interactions, such as kneading dough or erasing a whiteboard.
  • BridgeDataV2: A robotics dataset. Crucially, CoSHAND demonstrated zero-shot generalization to robot grippers, despite being trained only on human hands. This suggests the model learns universal spatial interactions rather than agent-specific features.

Key Results and Insights

CoSHAND significantly outperforms text-conditional and video-diffusion baselines. Quantitatively, it achieved an SSIM of 0.414 on the SSv2 validation set, compared to 0.340 for the best text-based baseline.

Qualitative comparison showing that CoSHAND's hand-mask conditioning provides much higher precision for physical deformations than text prompts.

Precision and Physical Understanding

As shown in the comparison with text-conditional models, CoSHAND accurately captures deformations like squeezing a ball or a pillow. It also exhibits an emergent understanding of "secondary contact"—predicting that an object will move if pushed by another object held by the hand. This spatial awareness is a significant step toward building robust world models for AI agents.

Probabilistic Future Prediction

Because it is a diffusion model, CoSHAND is inherently probabilistic. It can sample multiple possible outcomes for a single query. This is vital for modeling physical uncertainty, such as whether a pushed bottle will slide across a table or tip over.

Conclusion and Future Work

CoSHAND demonstrates that binary hand masks are a powerful, agent-agnostic language for world modeling. While the model occasionally struggles with complex semantic constraints (e.g., trying to "push" a building), it provides a robust foundation for visual "imagination" in robotics. Future research will focus on generating continuous video sequences and integrating these predictions into closed-loop robotic control systems.

Summary updated

BibTeX
@inproceedings{sudhakar2024controlling,
  author = {Sruthi Sudhakar and Ruoshi Liu and Basile Van Hoorick and Carl Vondrick and Richard S. Zemel},
  title = {{Controlling the World by Sleight of Hand}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73404-5\_24},
}
Figure