Track Everything Everywhere Fast and Robustly

Yunzhou Song, Jiahui Lei, Ziyun Wang, Lingjie Liu, Kostas Daniilidis

Introduction

Tracking specific pixels across long video sequences is a cornerstone of computer vision, enabling applications from 3D reconstruction to advanced video editing. While traditional methods like optical flow provide dense tracking, they often fail over long horizons or during occlusions. Recent optimization-based approaches, such as OmniMotion, have shown promise by representing videos as 3D volumes. However, these methods suffer from prohibitive optimization times (often hours per video), extreme sensitivity to random initialization, and a lack of long-term global consistency.

This paper introduces a novel test-time optimization framework that is over 10x faster and significantly more robust than previous state-of-the-art methods. By leveraging a new invertible deformation network and visual foundation models, the proposed approach achieves high-precision, dense, long-term tracking that handles complex motions and occlusions without the need for prohibitively long training times.

The proposed method achieves significantly higher accuracy in a fraction of the time compared to OmniMotion, while maintaining high stability across different random seeds.

Methodology: Fast and Expressive Optimization

The core of the system is a shift away from slow, global MLP-based architectures toward efficient, localized representations and strong geometric priors.

CaDeX++: Invertible Deformation Network

The authors introduce CaDeX++, an invertible deformation network that utilizes a local spatial-temporal feature grid. By factorizing the video into 1D temporal and 2D spatial grids, the model can be queried much faster than global MLPs. This "divide and conquer" approach localizes the learning process; the model does not need to re-evaluate the entire video volume to update a single pixel's trajectory, which is the primary driver of the 10x speedup.

To increase expressivity without sacrificing mathematical invertibility, CaDeX++ employs non-linear coupling blocks based on monotonic piece-wise linear functions. Standard invertible networks often use simple affine transformations ($y = ax + b$), which can be limiting. The use of piece-wise linear functions allows for much more complex deformations while remaining mathematically invertible, ensuring that forward and backward tracking remain perfectly consistent.

Foundation-Model-Powered Priors

Rather than learning scene geometry from scratch for every video, the framework incorporates "visual foundation models" as strong inductive biases:

  • Geometric Initialization: The system uses ZoeDepth to provide initial metric depth maps for every frame. These maps are treated as optimizable parameters, giving the optimization a significant geometric "head start" and reducing ambiguity in 3D structure.
  • Semantic Supervision: To prevent tracking drift over long durations, the model integrates DINOv2 features. By identifying mutually consistent nearest neighbors in the feature space, the system establishes reliable long-range "anchor points" that guide the optimization and maintain consistency across the entire video sequence.

Experimental Results

The method was evaluated on the TAP-Vid suite, specifically the DAVIS (real-world) and RGB-Stacking (synthetic) datasets.

Efficiency and Performance

The proposed optimization converges approximately 10 times faster than OmniMotion on the DAVIS dataset. Despite this speedup, it achieves superior precision. On DAVIS, the method reached a precision ($\delta^x_{avg}$) of 77.4, compared to OmniMotion's 67.5, placing it on par with top feed-forward models like CoTracker (79.0).

Accuracy vs. Fitting Time: The proposed method (green) converges to a higher accuracy in under an hour, whereas OmniMotion (red) requires over 10 hours to reach a lower plateau.

Robustness and Stability

A major "pain point" of previous optimization methods is their sensitivity to random seeds. In comparative tests, the proposed method demonstrated remarkable stability with a standard deviation of only 0.5 in precision across different seeds, whereas OmniMotion exhibited a high variance of 26.1. This robustness ensures that the tracker produces reliable, high-quality results consistently regardless of initialization.

Conclusion

By combining efficient feature-grid-based architectures with the power of pre-trained foundation models, this work demonstrates that dense long-term tracking can be both fast and robust. While the current implementation is optimized for 2D pixel tracking, the underlying 3D-aware architecture opens doors for future extensions into full 3D scene reconstruction, object pose estimation, and video content generation.

Summary updated

BibTeX
@inproceedings{song2024track,
  author = {Yunzhou Song and Jiahui Lei and Ziyun Wang and Lingjie Liu and Kostas Daniilidis},
  title = {{Track Everything Everywhere Fast and Robustly}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72646-0\_20},
}
Figure