Unsupervised Intuitive Physics from Visual Observations

Sebastien Ehrhardt, Aron Monszpart, Niloy Mitra, Andrea Vedaldi · DOI

Abstract

Humans possess an innate "physics engine" that allows us to predict how objects move and interact without needing explicit labels or coordinates. Replicating this capability in artificial intelligence typically requires extensive supervision or handcrafted simulators, both of which struggle to generalize to the complexities of the real world. We present a novel approach for learning intuitive physics directly from raw, unlabeled video. By combining temporal causality with geometric consistency, our system learns to track objects and extrapolate their trajectories across irregular, real-world terrains. Our results on the new Roll4Real benchmark demonstrate that models trained on raw visual observations can outperform traditional supervised methods in complex physical environments.

Introduction: The Gap in Intuitive Physics

The ability to foresee the outcome of physical events—knowing that a ball rolling toward a ledge will fall—is a cornerstone of human intelligence. In the field of AI, "intuitive physics" models often rely on two forms of "cheating" that limit their real-world applicability. First is the Supervision Gap: most models require ground-truth (x, y) coordinates for every frame, a labeling process that is prohibitively expensive and scales poorly. Second is the Reality Gap: models trained in idealized simulators often fail when confronted with the sensor noise, lighting variations, and non-ideal surfaces of the physical world.

This research addresses these gaps by asking: Can a machine learn to understand and predict physical motion simply by watching raw, unlabeled video? By leveraging the inherent structure of video data—specifically the arrow of time and spatial consistency—we demonstrate that explicit supervision is not a prerequisite for learning physical laws.

Methods: Unsupervised Tracking and Prediction

The proposed framework operates in two distinct stages: identifying the object's state and then predicting its future trajectory.

1. Unsupervised Tracking (The "What" and "Where")

To predict motion, the system must first localize the object of interest. We developed a tracker that learns without human-provided labels by utilizing three key principles:

  • Causality: A causal discriminator network is trained to distinguish between natural frame sequences and time-shuffled ones. For the discriminator to succeed, the object detector must produce a smooth, physically plausible trajectory in the natural sequence, effectively using the "arrow of time" as a supervisory signal.
  • Equivariance: Using a Siamese network architecture, the model is constrained such that if an input image is rotated or warped, the detected coordinates must transform in an identical manner.
  • Entropy Minimization: To prevent the model from trivially highlighting the entire frame, an entropy loss forces the detector to produce sharp, "peaky" heatmaps centered on a single object.
The unsupervised tracking pipeline architecture, featuring the position extractor, causal discriminator, and Siamese branch for equivariance.

2. Trajectory Extrapolation (The "How")

Once the tracker provides coordinates, they are fed into recurrent neural networks, specifically PosNet and DispNet. These models learn an internal, implicit representation of the environment's physics. By observing the initial frames of a sequence, they can "imagine" the future path of the object, accounting for complex factors like gravity, friction, and the specific geometry of the floor.

Datasets and the Roll4Real Benchmark

The approach was evaluated on both synthetic data (bouncing balls in simulated bowls) and a significant new real-world dataset called Roll4Real. This benchmark consists of 1,118 video sequences featuring various balls rolling on three types of complex, paper-mâché terrains: a flat pool table, an elliptical bowl, and a "random height-field" characterized by bumpy, irregular surfaces. These real-world environments are particularly challenging because the surfaces are slightly deformable and create vibrations that influence the ball's path.

The Roll4Real dataset setup, showing the complex heightfield terrain and the variety of objects used for evaluation.

Key Insights: Learning from the Wild

  • Time as the Teacher: The most profound insight is that temporal causality provides enough signal to learn object localization. If a trajectory looks "right" forward but "wrong" shuffled, the model naturally learns the constraints of physical motion.
  • Tensors Over Vectors: The research found that "tensor-based" representations, which preserve spatial information, handle environment interactions much better than "vector-based" ones. This allows the model to implicitly "map" the terrain it observes.
  • Robustness to Noise: Vision-based models trained on raw video were found to be more "graceful" at handling observation noise than models trained on perfect simulator data. The inherent "messiness" of the training data actually produced a more robust final predictor.

Results and Discussion

The unsupervised tracker proved remarkably stable, often outperforming traditional methods like Lucas-Kanade or FlowNet-based trackers, which frequently lost track of objects on complex terrains. On the Roll4Real dataset, the unsupervised models successfully predicted future trajectories even on highly irregular surfaces. Notably, they outperformed "Interaction Networks"—a popular supervised baseline—when applied to real-world data, proving that learning directly from pixels can be superior to learning from idealized coordinates.

Limitations and Future Directions

While a major step forward, several hurdles remain. Tracking multiple objects currently requires an iterative "suppression" technique, which is less elegant than simultaneous tracking. Additionally, the model still relies on objects being somewhat distinguishable from their backgrounds. Future work will explore end-to-end integration of the tracker and predictor, potentially allowing "physics" knowledge to improve "tracking" performance, much like how human intuition helps us track a falling object through visual obstructions.

Summary updated

BibTeX
@inproceedings{ehrhardt2018unsupervised,
  author = {Sebastien Ehrhardt and Aron Monszpart and Niloy Mitra and Andrea Vedaldi},
  title = {{Unsupervised Intuitive Physics from Visual Observations}},
  booktitle = {ACCV},
  year = {2018},
  doi = {10.1007/978-3-030-20893-6\_44},
}
Figure