Dense Optical Tracking: Connecting the Dots

Guillaume Le Moing, Jean Ponce, Cordelia Schmid

Abstract

Dense Optical Tracking (DOT) is a hybrid framework that unifies the long-term robustness of point tracking with the spatial efficiency of optical flow. By using a small set of sparse tracks to "seed" a dense refinement engine, DOT achieves state-of-the-art accuracy in motion estimation while being over 100x faster than existing dense point-tracking methods. This paper bridges the gap between sparse, long-term point tracking and dense, short-term optical flow, offering a scalable solution for high-resolution video analysis.

Introduction

In computer vision, understanding how pixels move over time usually falls into two camps. Optical Flow is excellent at providing dense motion (every pixel) between adjacent frames but struggles with large displacements, long time horizons, and occlusions. Conversely, Point Tracking is capable of following specific points through occlusions over many frames, but tracking every pixel in a high-resolution video is computationally expensive and slow.

The "holy grail" of motion estimation is a method that is dense (covers every pixel), robust (handles occlusions and long-range motion), and fast. Existing "universal" trackers like OmniMotion are accurate but can take hours to process a short clip. DOT aims to bridge this gap, providing dense, long-term tracking at a fraction of the computational cost.

Methodology

DOT operates in three distinct stages to achieve its efficiency and accuracy:

  1. Sparse Point Tracking: Instead of tracking every pixel, DOT uses an off-the-shelf tracker (such as CoTracker or TAPIR) to follow a small set of "key" points (approximately 1000–4000). Crucially, it samples these points more densely near motion boundaries—the edges of moving objects—where motion information is most critical.
  2. Nearest-Neighbor Interpolation: It creates a rough initial estimate of the dense flow field and a visibility mask by assigning every pixel the motion and visibility status of its nearest tracked neighbor. This creates a Voronoi-like initialization.
  3. Learnable Refinement: DOT feeds the source/target frames and the rough initial estimates into a refinement module inspired by RAFT. Unlike standard RAFT, which starts from zero motion, DOT starts with a "meaningful" initialization from the sparse tracks. It then iteratively refines the flow and predicts a soft visibility mask to handle occlusions.
The DOT pipeline: Sparse point tracking is followed by interpolation to create initial flow and visibility estimates, which are then refined by an optical flow engine.

Datasets and Evaluation

The authors evaluated DOT across several rigorous benchmarks to test its limits:

  • CVO (Common Visual Objects): A dataset of synthetic videos with ground-truth motion. The authors notably introduced CVO Extended, adding 500 new videos with more challenging, long-term motions and higher frame rates.
  • TAP-Vid: A standard benchmark for point tracking, including real-world datasets like DAVIS (video object segmentation), Kinetics (human actions), and RGB-Stacking (robotic manipulation).
  • MOVi-F: Used primarily for training the refinement module.

Key Insights

  • Initialization is Everything: Standard optical flow models often fail on large displacements because they start searching from a "zero-motion" assumption. By seeding the model with sparse tracks, DOT "warms up" the search, allowing it to resolve massive jumps in position that would baffle traditional flow algorithms.
  • Motion Boundaries Matter: The paper demonstrates that points near the edges of moving objects are far more informative for reconstructing dense motion than points in the middle of a flat, uniform surface.
  • Agnostic Design: DOT is "tracker-agnostic." As the community develops better sparse point trackers, DOT can simply swap them in to gain immediate performance boosts.

Results and Discussion

DOT demonstrates significant improvements over existing baselines in both speed and accuracy:

  • Speedup: DOT is at least 100x faster for dense prediction than point-tracking methods like CoTracker when they are optimized for individual queries.
  • Accuracy: On the challenging CVO Extended benchmark, DOT reduced the End Point Error (EPE) by a factor of 4 compared to state-of-the-art optical flow methods like RAFT and GMA.
  • Occlusion Handling: DOT significantly outperformed "universal" trackers like OmniMotion and traditional flow chaining (AccFlow) in predicting visibility masks, particularly in scenes with complex occlusions.
Comparison of DOT against optical flow and point tracking baselines. DOT achieves high accuracy while being significantly faster than dense point tracking methods.

Limitations and Future Work

While powerful, DOT’s performance is upper-bounded by the quality of the initial sparse tracks. If the initial tracker fails to capture a small, fast-moving object, the refinement stage may never "see" it. Additionally, while robust to occlusions, extreme changes in lighting or object deformation between very distant frames remain a challenge. Future directions include integrating more sophisticated temporal context into the refinement stage to further improve long-term consistency.

Summary updated

BibTeX
@inproceedings{moing2023dense,
  author = {Guillaume Le Moing and Jean Ponce and Cordelia Schmid},
  title = {{Dense Optical Tracking: Connecting the Dots}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure