Generative Point Tracking with Flow Matching

Mattie Tesfaldet, Adam W. Harley, Konstantinos G. Derpanis, Derek Nowrouzezahrai, Christopher Pal · DOI

TL;DR

This paper introduces GenPT, a novel generative point tracker that addresses the limitations of existing discriminative trackers by modeling multi-modal trajectories and uncertainty. By adapting a flow matching framework with iterative refinement and a specialized window-dependent prior, GenPT achieves state-of-the-art performance, particularly in challenging occlusion scenarios.

What Problem Does This Paper Address?

Tracking a point's trajectory across a video is crucial for many computer vision tasks, but it's inherently challenging due to visual ambiguities like appearance changes and occlusions. Current state-of-the-art methods are primarily discriminative, meaning they regress to a single, most likely trajectory. This approach fails to capture the inherent uncertainty and multi-modal nature of tracking, especially when points are occluded or visually ambiguous. For instance, a point might have several plausible future locations due to symmetry or repeated patterns. GenPT aims to overcome this by providing a generative framework that can predict a distribution of possible trajectories, better reflecting the true uncertainty.

Methods

GenPT builds upon the flow matching framework, a generative modeling technique that learns a probabilistic mapping between a data distribution and a simpler prior distribution. The authors introduce three key modifications to adapt flow matching for point tracking:

  1. Iterative Refinement: Inspired by discriminative trackers, GenPT incorporates an iterative refinement process during both training and inference. This allows the model to progressively improve its estimate of the ground truth trajectory.
  2. Window-Dependent Prior: To maintain temporal consistency across sliding windows, GenPT uses a prior that is conditioned on the previous window's predictions. This helps bootstrap estimates and ensures smoother trajectories.
  3. Specialized Variance Schedule: A carefully tuned variance schedule is used in the conditional probability path, specifically designed for point coordinates. This helps balance the learning challenge and allows the model to effectively learn from noisy samples.

The core of GenPT is a transformer architecture that processes point trajectories, visibilities, and confidences. It leverages factorized temporal and spatial attention blocks, similar to CoTracker, but with architectural improvements for efficiency.

Datasets

  • Training: PointOdyssey, Kubric (a variant provided by CoTracker3 authors).
  • Evaluation: TAP-Vid (Kinetics, RGB-S, DAVIS, RoboTAP datasets), PointOdyssey (test split), Dynamic Replica.
  • New Benchmark: A variant of TAP-Vid with added occlusions (a sliding black bar) was introduced to specifically assess occluded point tracking performance.

Key Insights and Ideas

  • Generative models are crucial for uncertainty: The paper strongly argues that discriminative models, by design, cannot capture the multi-modal nature of tracking under uncertainty. Generative models are essential for this.
  • Flow matching is a flexible generative framework: The authors demonstrate that flow matching can be adapted to complex tasks like point tracking by incorporating specific modifications.
  • Iterative refinement is key for performance: Even within a generative framework, iterative refinement, borrowed from discriminative methods, significantly boosts accuracy.
  • Window-dependent priors improve temporal coherence: Linking predictions across windows is vital for smooth and consistent tracking.
  • Confidence estimation matters for sampling: The model's own confidence in its predictions can be used to guide a "best-first search" strategy, improving accuracy by selecting the most plausible generated trajectories.

Key Results

  • State-of-the-art performance: GenPT achieves competitive or state-of-the-art accuracy on standard benchmarks like TAP-Vid, PointOdyssey, and Dynamic Replica, particularly excelling in occluded point tracking.
  • Improved accuracy on occluded points: On the TAP-Vid sliding occluder benchmark, GenPT shows a significant lead, demonstrating its ability to handle challenging occlusion scenarios.
  • Efficiency: GenPT uses fewer parameters (12M vs. 25M for CoTracker3) and achieves faster inference speeds.
  • Multi-modality capture: Qualitative results (Figures 1, 3, 6, 7) clearly show GenPT's ability to generate diverse, plausible trajectories in uncertain regions, unlike discriminative models.
  • Best-of-N sampling benefits: Using a "best-of-N" sampling strategy guided by confidence improves accuracy, though it comes with a runtime cost.

Limitations and Future Work

  • Memory and Compute Cost: Training GenPT, like other point trackers relying on iterative refinement and dense correlations, is computationally intensive and memory-demanding, limiting scalability.
  • Simulation-Free Limitation: While flow matching is generally "simulation-free," the iterative refinement during training reintroduces some computational complexity.
  • Future Work:
    • Developing more efficient training strategies.
  • Extending GenPT to forecast and backcast trajectories beyond the current window.
  • Adapting large video diffusion models for GenPT's capabilities.
  • Exploring applications requiring predictive capabilities, such as collision detection.

Summary updated

BibTeX
@misc{tesfaldet2025generative,
  author = {Mattie Tesfaldet and Adam W. Harley and Konstantinos G. Derpanis and Derek Nowrouzezahrai and Christopher Pal},
  title = {{Generative Point Tracking with Flow Matching}},
  year = {2025},
  eprint = {2510.20951},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.20951},
}
Figure