NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bootstrapping Video Semantic Segmentation Model via Distillation-assisted Test-Time Adaptation

Jihun Kim, Hoyong Kwon, Hyeokjun Kweon, Kuk-Jin Yoon

TL;DR

DiTTA (Distillation-assisted Test-Time Adaptation) is a novel framework that transforms a standard image semantic segmentation model into a temporally consistent video segmentation model without requiring any labeled video datasets. By distilling spatio-temporal knowledge from the SAM2 foundation model during a brief initial "warm-up" phase, DiTTA achieves high accuracy and temporal smoothness while running up to 10 times faster than zero-shot refinement methods during inference.

What Problem Does This Paper Address?

Video Semantic Segmentation (VSS) is crucial for applications like autonomous driving and robotics, but training these models typically requires massive, densely annotated video datasets. Labeling every frame of a video pixel-by-pixel is incredibly tedious and expensive.

To bypass this, researchers often apply pre-trained Image Semantic Segmentation (ISS) models to videos frame-by-frame. However, because these models process each frame in isolation, they ignore temporal continuity, leading to distracting flickering and inconsistent predictions over time. While modern foundation models like SAM2 excel at tracking masks across frames, they lack deep semantic category knowledge and are too computationally heavy to run on every single frame during real-time deployment.

Overview of different VSS inference strategies compared to DiTTA

Methods

The authors introduce a practical evaluation protocol called Warm-Up then Freeze (W2F). Instead of adapting the model continuously, DiTTA optimizes the pre-trained ISS model on just the first fraction (e.g., 10%) of a test video and then freezes it for standalone inference on the rest of the video.

The DiTTA framework consists of three core components:

  1. Attention-based Temporal Fusion Add-on: A lightweight cross-attention module is inserted into the ISS decoder to bridge consecutive frames ($I_{t-1}, I_t$). It aggregates temporal context, using an entropy-based pixel-wise reliability map to dynamically blend the current frame's predictions with the attention-fused features from the previous frame.
  2. SAM2-Assisted Distillation Targets: During the warm-up phase, highly reliable pixels from the ISS model's initial predictions are sampled as prompts for SAM2. SAM2 propagates these masks across the warm-up frames. DiTTA then uses a soft-scoring function to assign semantic labels to these masks, creating high-quality pseudo-labels that guide logit-level cross-entropy loss.
  3. Mask-based Contrastive Alignment: To ensure feature-level consistency across time, DiTTA employs a momentum encoder framework. It computes object-wise prototype vectors from a momentum branch and applies a contrastive loss to encourage the main model to produce consistent representations for the same object over time.

Once the warm-up phase is complete, SAM2 is discarded entirely, leaving a lightweight, temporally-aware VSS model.

Overview of the DiTTA framework showing the temporal fusion add-on and mask-based contrastive alignment

Datasets

The authors evaluated DiTTA across several prominent benchmarks:

  • VSPW: The primary benchmark used for evaluation; a large-scale video scene parsing dataset containing over 124 semantic categories annotated at 15 fps.
  • Cityscapes: Used to evaluate the model's generalizability in a cross-dataset scenario (transferring a VSPW-trained model directly to Cityscapes without target-domain retraining).
  • ADE20K: A purely static image dataset used to pre-train an ISS baseline, verifying that DiTTA's performance gains do not rely on hidden temporal biases from video-based pre-training.

Key Insights and Ideas

  • Strategic Division of Labor: Instead of forcing one model to do everything, DiTTA splits the bill: the ISS model provides semantic category grounding, while SAM2 provides spatial-temporal consistency.
  • The "Warm-Up then Freeze" Paradigm: Adapting a model on just the first 10% of a video sequence is sufficient to bootstrap an image model into a video model. This completely eliminates the need for expensive offline video dataset annotations.
  • Model-Agnostic Architecture: The lightweight temporal fusion module and distillation process can be applied to various underlying image segmentation architectures (the authors successfully validated it on both SegFormer and OCRNet).

Key Results

  • Superior Accuracy: On the VSPW dataset with a 10% warm-up ratio, DiTTA improved mean IoU (mIoU) by +2.1%p over the SegFormer baseline and even outperformed fully supervised VSS models like CFFM++.
  • Massive Speedup: DiTTA achieves an inference speed of 13.45 FPS on a single NVIDIA RTX 3090 GPU. This is nearly 10x faster than zero-shot refinement methods that repeatedly invoke SAM2 at inference time (1.41 FPS).
  • Robust Domain Adaptation: In cross-dataset tests (VSPW $\rightarrow$ Cityscapes), DiTTA achieved a +2.7%p mIoU and +3.7%p wIoU improvement over the ISS baseline, demonstrating an exceptional ability to stabilize object boundaries under severe domain shifts.
Qualitative comparison of VSS results under the W2F protocol

Limitations and Future Work

While DiTTA is highly efficient compared to zero-shot refinement, the addition of the cross-attention temporal fusion module does introduce a minor computational overhead, reducing the inference speed from the pure ISS baseline's 18.58 FPS to 13.45 FPS.

Additionally, because the framework relies on the initial frames to distill knowledge, its performance remains bounded by the quality of SAM2's mask tracking and the initial ISS semantic predictions during the brief warm-up phase. Future work could explore more robust prompt selection strategies to mitigate errors in highly cluttered or fast-moving scenes.

Summary updated

BibTeX
@inproceedings{kim2026bootstrapping,
  author = {Jihun Kim and Hoyong Kwon and Hyeokjun Kweon and Kuk-Jin Yoon},
  title = {{Bootstrapping Video Semantic Segmentation Model via Distillation-assisted Test-Time Adaptation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=6GwJ8wfiEM},
}
Figure