Hindsight for Foresight: Unsupervised Structured Dynamics Models from Physical Interaction

Iman Nematollahi, Oier Mees, Lukas Hermann, Wolfram BurgardarXiv 2020

TL;DR

Hind4sight-Net is an unsupervised framework that allows robots to learn intuitive physics and predict 3D scene dynamics directly from unlabeled point clouds and images. By jointly training a forward and inverse dynamics model with cross-domain consistency constraints, the system autonomously decomposes scenes into objects and predicts their motion under applied actions without requiring human supervision or external trackers.

What Problem Does This Paper Address?

For a robot to successfully manipulate its environment, it needs "foresight"—the ability to predict how its actions will physically alter the world.

Existing approaches to learning these dynamics generally fall into two camps, both with significant drawbacks:

  1. Pixel-level predictive models: These try to predict future video frames directly. However, regressing high-dimensional pixels is computationally expensive and discards the inherent 3D structure of the physical world.
  2. Supervised object-centric models (like SE3-Nets): These explicitly model 3D object transformations but rely heavily on ground-truth point-wise data associations. In the real world, getting this data requires complex external tracking systems or tedious human labeling, making lifelong autonomous learning impossible.

The authors address this gap by asking: Can a robot learn a structured, object-centric 3D dynamics model entirely on its own, simply by interacting with the world and observing the results?

Fig. 2: We let a robot interact with objects by randomly poking at them to learn a structured dynamics model. Observational changes in point clouds and images caused by applied actions constitute the sole learning signals, enabling to improve a robot’s understanding of its environment’s physics in a lifelong learning manner.

Methods

The proposed architecture, Hind4sight-Net, combines a forward dynamics model (predicting the next state given the current state and an action) and an inverse dynamics model (predicting the action that caused a state transition) in a self-supervised loop.

Fig. 3: Structure of Hind4sight-Net: we jointly learn forward and inverse scene dynamics models from unlabeled interaction data. The forward model segments a 3D point cloud Pt of the scene into salient object parts mt and predicts their SE(3) motion under the effect of an applied poking action ut. These are then fed into a differentiable “Transform layer” that generates the predicted next point cloud ˆPt+1. A “Projection layer” back-projects the predicted 3D scene flow into the 2D image plane to retrieve the optical flow ˆwt. The inverse model takes two consecutive 3D point clouds as input and reason over the poking action produced in the form of heat-maps denoting the start ˆAt and end ˆBt point of the poking action.

1. The Forward Model (Object-Centric 3D Motion)

Given a raw 3D point cloud ($P_t$) and a poke action ($u_t$), the forward model decomposes the scene into $K$ distinct object masks and estimates a rigid body transformation ($[R, T] \in SE(3)$) for each mask to generate the predicted next point cloud ($\hat{P}_{t+1}$).

2. The Inverse Model (Action Regularization)

Taking two consecutive point clouds ($P_t$ and $P_{t+1}$), the inverse model predicts the start and end positions of the poke action as spatial heatmaps. This forces the network to learn highly informative latent features that bridge the states.

3. Unsupervised Loss Functions

To train without labels, the authors enforce consistency across 3D geometry and 2D vision:

  • 3D Point Cloud Alignment Loss: Instead of point-to-point tracking, they use the Chamfer Distance to measure the geometric discrepancy between the predicted and actual next point clouds.
  • 2D Image Reconstruction Loss: The predicted 3D scene flow is back-projected into the 2D image plane to generate an implicit optical flow. The network then uses backward warping to reconstruct the initial image from the subsequent image, minimizing photometric error.
  • Edge-Aware Smoothness: Regularization terms ensure that the predicted flow fields and distance transforms are piecewise smooth, respecting object boundaries.

Datasets

The model was validated using both simulated and real-world interaction data:

  • Synthetic Dataset: Built using the Bullet physics engine and 4 representative objects from the KIT kitchen object models database. It consists of 200K randomized poking interactions, augmented with simulated depth sensor noise and data-association errors to mimic real-world imperfections.
  • Real-World Dataset: Collected autonomously by a KUKA LBR iiwa manipulator paired with a fixed Azure Kinect RGB-D camera. The robot ran 24/7 without human intervention, collecting 40K interactions across an arena containing 3 to 7 objects chosen randomly from a set of 34 distinct items (varying in shape, material, mass, and friction).

Key Insights and Ideas

  • Cross-Domain Synergy: The core "aha moment" is that 3D geometric constraints (Chamfer distance) and 2D photometric constraints (image warping) complement each other perfectly. The 2D image loss prevents the 3D point cloud alignment from getting stuck in bad local minima caused by noisy depth data.
  • Emergent Properties: Object segmentation masks, action-conditioned 3D scene flow, and 2D optical flow all emerge naturally from the network as a byproduct of optimizing for cross-domain consistency, despite no explicit supervision for any of these tasks.
  • Robustness to Noise: By avoiding explicit point-to-point tracking and relying on global geometric/photometric consistency, the model inherently tolerates the sensor noise and occlusions typical of real-world environments.

Key Results

  • Superiority in Noisy Environments: In simulations with realistic depth and tracking noise, Hind4sight-Net achieved a 3D scene flow Mean Squared Error (MSE) of 1.63 cm, outperforming the fully-supervised SE3-Net baseline (2.20 cm), which degraded under data-association noise.
  • State-of-the-Art Optical Flow: When projecting its 3D predictions to 2D optical flow, Hind4sight-Net achieved an Average Endpoint Error (AEE) of 0.05, outperforming FlowNet 2.0 (0.11) on real-world data, largely because Hind4sight-Net was less distracted by visual artifacts like shadows.
  • Model-Predictive Control (MPC): Combined with the Cross Entropy Method (CEM) for planning, the learned model successfully guided the real robot to execute multi-object manipulation sequences, achieving complex goal configurations in roughly 10 pokes.

Limitations and Future Work

  • The "Poke" Limitation: The actions were restricted to small, discrete pokes. Because a poke's immediate impact is dominated by the robot arm's force, it is difficult for the model to infer latent physical properties like an object's mass or friction coefficient. The authors suggest moving toward variable-length pushing actions and adaptive curriculum learning to capture these nuances.
  • Dependence on Depth Sensors: The current model requires an RGB-D camera. A natural next step is extending the framework to infer depth maps directly from standard RGB images in a self-supervised manner, broadening its applicability to simpler hardware setups.

Summary updated

BibTeX
@misc{nematollahi2020hindsight,
  author = {Iman Nematollahi and Oier Mees and Lukas Hermann and Wolfram Burgard},
  title = {{Hindsight for Foresight: Unsupervised Structured Dynamics Models from Physical Interaction}},
  year = {2020},
  eprint = {2008.00456},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.00456},
}
Figure