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

Refining Pre-Trained Motion Models

Xinglong Sun, Adam W. Harley, Leonidas J. Guibas · DOI

Introduction

Motion estimation—the computational tracking of pixel movement across video frames—is a cornerstone of computer vision, essential for tasks ranging from autonomous navigation to video editing. Currently, the most effective models, such as RAFT for optical flow and PIPs for point tracking, are trained primarily on synthetic, CGI-generated datasets. While these synthetic environments provide perfect ground-truth labels, they create a significant "sim-to-real gap." When deployed on real-world footage, these models often struggle with complex lighting, textures, and occlusions that were absent in their training data.

The Challenge of Self-Supervision

To bridge the sim-to-real gap, researchers typically turn to self-supervision, which uses unlabeled real-world video to fine-tune models. A common approach involves minimizing "warp error"—the difference in color between a pixel in one frame and its predicted location in the next.

However, researchers from Stanford University have identified a counter-intuitive phenomenon: applying standard self-supervised losses to state-of-the-art (SOTA) pre-trained models often causes their performance to degrade. The self-supervised signals (like photometric consistency) act as a "noisy teacher." For a highly optimized model, these imprecise signals provide gradients that lead away from the optimal weights, effectively "unlearning" the robust features acquired during synthetic training.

Methodology: The Two-Stage Refinement Framework

To overcome the noise problem, the authors propose a two-stage "bootstrapping" method designed to refine models using only their most reliable predictions.

Stage 1: Pseudo-label Generation and Filtering

Instead of supervising every pixel with a noisy signal, the framework first runs the pre-trained model on unlabeled video to generate initial motion estimates. These estimates are then subjected to a rigorous filtering process based on two primary criteria:

  1. Cycle-Consistency: The model tracks a point forward in time and then backward; if the point does not return to its original starting position within a strict threshold, the prediction is discarded.
  2. Color Constancy: The visual features of the tracked point must remain relatively stable across frames.

This process yields a sparse but highly accurate set of "pseudo-labels," typically covering only about 10% of the pixels but ensuring that the training signal is of the highest quality.

Stage 2: Motion Refinement via Data Augmentation

In the second stage, the model is fine-tuned to reproduce these high-confidence pseudo-labels. Crucially, the researchers introduce heavy data augmentations—such as random cropping, color jittering, and artificial occlusions—to the input video. By forcing the model to predict its own "best hits" under much more difficult visual conditions, the model learns to generalize its confident knowledge to the noisier, more complex domains of real-world video.

Experimental Results

The refinement process was evaluated across several diverse benchmarks, demonstrating consistent improvements over supervised SOTA baselines:

  • CroHD (Pedestrian Tracking): The method improved the Average Track Error (ATE) by approximately 10% compared to the base PIPs model.
  • MPI-Sintel (Optical Flow): On the "Clean" split of this standard benchmark, the End-Point Error (EPE) was reduced from 1.46 to 1.32, a ~10% gain.
  • Horse30 (Animal Pose): The ATE decreased from 12.31 to 10.81, showing the method's efficacy on non-human subjects.
  • General Point Tracking: On the Tap-Vid-DAVIS dataset, the refinement outperformed other self-supervised techniques (such as DINO-based tracking), which often failed to improve upon the initial pre-trained weights.

Key Insights

  • Sparse is Better than Noisy: The research suggests that for high-quality pre-trained models, a small amount of clean data is far more valuable than a large amount of noisy data.
  • The "Goldilocks Zone": Success depends on finding the right filtering threshold. If the filter is too strict, there is insufficient data to learn; if it is too loose, the noise corrupts the model's weights.
  • Augmentation as a Bridge: Fine-tuning a model on its own outputs is only effective when paired with augmentation. This forces the model to find new, more robust ways to reach the correct answer.

Limitations and Future Work

While effective, the method requires careful hyperparameter tuning for filtering thresholds, which can vary based on video resolution and domain. Additionally, the process is dependent on a strong initial model; if the pre-trained model cannot produce any cycle-consistent tracks, there is no signal to bootstrap from. Future research may explore "densification" techniques to expand the sparse pseudo-labels into a more comprehensive training signal without reintroducing noise.

Summary updated

BibTeX
@inproceedings{sun2024refining,
  author = {Xinglong Sun and Adam W. Harley and Leonidas J. Guibas},
  title = {{Refining Pre-Trained Motion Models}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  url = {https://openreview.net/forum?id=FKghUzp0tq},
}
Figure