Self-Supervised Learning of Motion Concepts by Optimizing Counterfactuals
Stefan Stojanov, David Wendt, Seungwoo Kim, Rahul Venkatesh, Kevin Feigelis, Jiajun Wu, Daniel LK Yamins
TL;DR
Opt-CWM addresses real-world motion estimation by replacing hand-crafted, domain-specific perturbations with a learnable counterfactual perturbation generator and bootstrapping training that couples flow estimation to next-frame prediction without using labeled data. It leverages Counterfactual World Modeling with an asymmetric masking-trained RGB-conditioned predictor and introduces Gaussian perturbations conditioned on local appearance, learned via end-to-end reconstruction loss with a flow-conditioned predictor. The approach achieves state-of-the-art performance on TAP-Vid First, demonstrates robustness to large frame gaps, and can be distilled into efficient RAFT-family architectures for faster inference. These results highlight a scalable path to self-supervised, counterfactual-based extraction of motion and related visual properties from unrestricted video data.
Abstract
Estimating motion in videos is an essential computer vision problem with many downstream applications, including controllable video generation and robotics. Current solutions are primarily trained using synthetic data or require tuning of situation-specific heuristics, which inherently limits these models' capabilities in real-world contexts. Despite recent developments in large-scale self-supervised learning from videos, leveraging such representations for motion estimation remains relatively underexplored. In this work, we develop Opt-CWM, a self-supervised technique for flow and occlusion estimation from a pre-trained next-frame prediction model. Opt-CWM works by learning to optimize counterfactual probes that extract motion information from a base video model, avoiding the need for fixed heuristics while training on unrestricted video inputs. We achieve state-of-the-art performance for motion estimation on real-world videos while requiring no labeled data.
