Image Diffusion Models Exhibit Emergent Temporal Propagation in Videos

Youngseo Kim, Dohyun Kim, Geonhee Han, Paul Hongsuck SeoarXiv 2025 · DOI

Abstract

Video Object Segmentation (VOS) typically requires extensive training on annotated video sequences to learn temporal dynamics. This paper introduces DRIFT (Diffusion-based Region Inference with cross-Frame attention for Tracking), a novel framework demonstrating that large-scale image diffusion models—trained exclusively on static images—possess an emergent capability for temporal object propagation. By reinterpreting internal self-attention layers as cross-frame propagation kernels and employing test-time optimization techniques, DRIFT achieves state-of-the-art zero-shot VOS performance. Our results on benchmarks like DAVIS and YouTube-VOS show that diffusion-based features are remarkably robust for long-term tracking, rivaling some supervised methods.

Introduction

The challenge in Video Object Segmentation lies in maintaining object identity and mask consistency across changing frames. While supervised models excel by learning from millions of video frames, zero-shot approaches often struggle with "identity drift" or rely on noisy feature similarities. This research investigates whether the deep semantic understanding inherent in image diffusion models, such as Stable Diffusion, can be repurposed for video tasks. The hypothesis is that the same internal mechanisms used to generate coherent spatial structures in images can implicitly track those structures across time.

The DRIFT Framework

The core of the proposed method, DRIFT, leverages the self-attention mechanism of diffusion models. In a standard image generation task, self-attention relates different spatial regions. DRIFT extends this temporally: by using the "Query" from a target frame and the "Key" from a reference frame, it generates a cross-frame attention map. This map serves as a propagation kernel to warp the object mask from the previous frame to the current one.

The DRIFT pipeline: from the original image (a) and a coarse initial map (b), the model uses self-attention affinity (c) to produce a propagated mask (d), which closely matches the ground truth (e).

To ensure high-fidelity tracking, DRIFT incorporates three optimization strategies:

  1. DDIM Inversion: Maps the image to a specific noise space that preserves semantic identity.
  2. Mask-Specific Textual Inversion: Optimizes a unique text token to act as a feature filter for the specific object of interest.
  3. Adaptive Head Weighting: Dynamically selects and weights the most informative attention heads for the current tracking task.

Because diffusion features are inherently low-resolution, the Segment Anything Model (SAM) is used as a final refinement step to produce sharp, pixel-accurate boundaries.

Experimental Evaluation

DRIFT was evaluated across several rigorous benchmarks, including DAVIS-2016/2017, YouTube-VOS 2018, and a specialized Long Videos dataset designed to test robustness against drift over extended sequences.

Key Results

DRIFT establishes a new state-of-the-art for zero-shot video tracking. On DAVIS-2017, it achieved a J&F score of 81.3, significantly outperforming prior zero-shot methods like SegGPT (75.6) and DINO (71.4). Notably, on the Long Videos benchmark, DRIFT's score of 49.1 more than doubled that of SegGPT (21.2), highlighting the superior temporal stability of diffusion-based features. Remarkably, this zero-shot approach performs within striking distance of models specifically trained on millions of video frames.

Discussion and Insights

A critical finding is that self-attention is superior to cosine similarity for tracking. Learned projections in attention layers act as semantic filters, ignoring background clutter that often confuses simpler similarity metrics. Furthermore, the "textual inversion" process does not learn a linguistic concept but rather optimizes the internal attention flow for a specific mask. This suggests that the model's "common sense" about image structure is highly adaptable to specific visual instances.

Limitations and Future Work

The primary drawback of DRIFT is its computational overhead. The initial test-time optimization (textual inversion and head weighting) takes approximately 141 seconds per object on an H100 GPU. While the subsequent tracking is efficient, this "startup lag" prevents real-time application. Future research aims to use amortized prompt learning to predict optimal tokens instantly, potentially enabling real-time, zero-shot video tracking.

Summary updated

BibTeX
@misc{kim2025image,
  author = {Youngseo Kim and Dohyun Kim and Geonhee Han and Paul Hongsuck Seo},
  title = {{Image Diffusion Models Exhibit Emergent Temporal Propagation in Videos}},
  year = {2025},
  eprint = {2511.19936},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.19936},
}
Figure