TAPTRv3: Spatial and Temporal Context Foster Robust Tracking of Any Point in Long Video

Jinyuan Qu, Hongyang Li, Shilong Liu, Tianhe Ren, Zhaoyang Zeng, Lei Zhang

TL;DR

TAPTRv3 is a robust, online point-tracking framework that significantly improves long-video performance by integrating spatial and temporal context into a DETR-like architecture. By replacing traditional RNN-based temporal modeling with Visibility-aware Long-Temporal Attention (VLTA) and enhancing spatial querying with Context-aware Cross-Attention (CCA), it achieves state-of-the-art results while remaining efficient enough for real-time applications.

What Problem Does This Paper Address?

Tracking Any Point (TAP) involves localizing specific pixels across a video sequence, even through occlusions and significant appearance changes. While recent DETR-like models like TAPTRv2 work well for short clips, they struggle with long videos for three main reasons:

  1. Feature Drifting: TAPTRv2 uses RNN-like temporal modeling where features are updated frame-by-frame. In long sequences, small errors accumulate, causing the tracker to "drift" away from the target.
  2. Local Ambiguity: Standard attention mechanisms often rely on point-level features. These are highly susceptible to noise, especially in regions with repetitive patterns or uniform textures where a single pixel doesn't provide enough context.
  3. Scene Cuts: Sudden transitions in edited videos cause large, discontinuous motions that local trackers cannot recover from.

Methods

TAPTRv3 introduces three core architectural innovations to solve these issues:

  • Context-aware Cross-Attention (CCA): Instead of comparing a single point-level query to individual pixels, CCA leverages patch-level similarity. It samples an $N \times N$ grid of features around the target to compute more stable attention weights, effectively providing the model with a larger spatial receptive field.
  • Visibility-aware Long-Temporal Attention (VLTA): The authors ditch the RNN in favor of a global attention mechanism over past frames. To prevent "poisoning" the query with features from frames where the point is occluded, VLTA reweights the temporal attention scores using predicted visibility scores. It also incorporates Rotary Positional Embeddings (RoPE) to help the model prioritize recent frames.
  • Auto-triggered Global Matching: To handle scene cuts, the model includes a global matching module that is only activated when a cut is detected (using tools like PySceneDetect). This allows the tracker to re-initialize the point's position globally without the computational overhead of running global matching on every single frame.
Figure 1: Overview (a) and core components (b) (c) of TAPTRv3. After the user specifies the point to track, the point query preparation stage prepares the content and spatial context features for this point in the initial frame. When TAPTRv3 receives a new frame, the sequential point tracking stage uses the content feature and the specified location as the point query, and regards the new frame’s image feature map as keys and values. The points query, keys, and values are fed into a multi-layer transformer decoder to detect the tracking point in the new frame. The predicted location then updates the point query’s positional part, providing a better initial position for tracking in the next frame. For clarity, the global matching module is not plotted.

Datasets

The model was trained on the synthetic TAP-Vid-Kubric dataset (11,000 videos). Evaluation was conducted across several challenging benchmarks:

  • TAP-Vid-Kinetics: Real-world YouTube videos averaging 250 frames, often containing scene cuts.
  • TAP-Vid-DAVIS: Short, high-quality real-world videos.
  • RGB-Stacking: Synthetic robotic manipulation videos.
  • RoboTAP: Real-world robotic videos with sequences up to 1,300 frames.

Key Insights and Ideas

  • Context is King: The move from point-level to patch-level features (CCA) is a crucial "aha" moment. It bridges the gap between object detection (which looks at regions) and point tracking (which looks at pixels), making the tracker much more resilient to local noise.
  • Don't Trust Occluded Features: In temporal modeling, not all past frames are equal. By using visibility scores to gate the temporal attention (VLTA), the model avoids incorporating "garbage" features from frames where the target is hidden behind another object.
  • Efficiency through Simplicity: Despite adding sophisticated attention modules, TAPTRv3 is faster than its predecessor. The authors achieved this by switching to a lighter backbone (ResNet-18 vs. ResNet-50) and reducing the number of decoder layers, proving that architectural design often outweighs raw model depth.
Figure 2: Illustration of patch- level similarity calculation.

Key Results

TAPTRv3 demonstrates a massive leap in performance over TAPTRv2, with an average improvement of 9.2 AJ (Average Jaccard) across datasets.

  • State-of-the-Art: It achieves top-tier results on Kinetics (54.9 AJ) and RoboTAP (64.5 AJ), outperforming models like CoTracker3 and Track-On.
  • Data Efficiency: Remarkably, TAPTRv3 remains competitive with (and often beats) models like BootsTAPIR, which are trained on 15 million real-world videos—roughly 1,360 times more data than TAPTRv3 uses.
  • Speed: It runs at 57.2 FPS on a single RTX 3090, making it significantly faster than CoTracker (26.4 FPS) and TAPTRv2 (41.9 FPS).

Limitations and Future Work

The primary limitation is the model's online nature. Because it processes frames sequentially to maintain low latency and memory usage, it cannot take full advantage of GPU parallelism in the same way offline, batch-based trackers can. While this makes it ideal for live streaming or robotics, it may appear slower than offline methods when processing large datasets in a non-real-time environment. The authors suggest that a sliding window approach could be explored in the future to balance parallelism with tracking stability.

Summary updated

BibTeX
@inproceedings{qu2026taptrv,
  author = {Jinyuan Qu and Hongyang Li and Shilong Liu and Tianhe Ren and Zhaoyang Zeng and Lei Zhang},
  title = {{TAPTRv3: Spatial and Temporal Context Foster Robust Tracking of Any Point in Long Video}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=N3WAcxTX6J},
}
Figure