Tracktention: Leveraging Point Tracking to Attend Videos Faster and Better

Zihang Lai, Andrea Vedaldi
3/25/2025
cs.CVcs.LG

No official code found. Best implementation: Nazim-fad/Tracktention (0 stars, last commit 2026-03-16).

Abstract

Temporal consistency is critical in video prediction to ensure that outputs are coherent and free of artifacts. Traditional methods, such as temporal attention and 3D convolution, may struggle with significant object motion and may not capture long-range temporal dependencies in dynamic scenes. To address this gap, we propose the Tracktention Layer, a novel architectural component that explicitly integrates motion information using point tracks, i.e., sequences of corresponding points across frames. By incorporating these motion cues, the Tracktention Layer enhances temporal alignment and effectively handles complex object motions, maintaining consistent feature representations over time. Our approach is computationally efficient and can be seamlessly integrated into existing models, such as Vision Transformers, with minimal modification. It can be used to upgrade image-only models to state-of-the-art video ones, sometimes outperforming models natively designed for video prediction. We demonstrate this on video depth prediction and video colorization, where models augmented with the Tracktention Layer exhibit significantly improved temporal consistency compared to baselines.

View on arXivView PDF

Code Implementations(1)

This repository is based on the paper "Tracktention: Leveraging Point Tracking to Attend Videos Faster and Better"

00PythonFeb 26, 20267 months ago

Similar Papers

Cite this paper

@article{lai2025tracktention,
  title  = {Tracktention: Leveraging Point Tracking to Attend Videos Faster and Better},
  author = {Zihang Lai and Andrea Vedaldi},
  year   = {2025},
  eprint = {2503.19904},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.19904v1},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.19904.svg)](https://codeofpaper.com/paper/2503.19904)

Discussion