Fully supervised Video Semantic Segmentation (VSS) relies heavily on densely annotated video data, limiting practical applicability. Alternatively, applying pre-trained Image Semantic Segmentation (ISS) models frame-by-frame avoids annotation costs but ignores crucial temporal coherence. Recent foundation models such as SAM2 enable high-quality mask propagation yet remain impractical for direct VSS due to limited semantic understanding and computational overhead. In this paper, we propose DiTTA (Distillation-assisted Test-Time Adaptation), a novel framework that converts an ISS model into a temporally-aware VSS model through efficient test-time adaptation (TTA), without annotated videos. DiTTA distills SAM2's temporal segmentation knowledge into the ISS model during a brief, single-pass initialization phase, complemented by a lightweight temporal fusion module to aggregate cross-frame context. Crucially, DiTTA achieves robust generalization even when adapting with highly limited partial video snippets (e.g., initial 10%), significantly outperforming zero-shot refinement approaches that repeatedly invoke SAM2 during inference. Extensive experiments on VSPW and Cityscapes demonstrate DiTTA's effectiveness, achieving competitive or superior performance relative to fully-supervised VSS methods, thus providing a practical and annotation-free solution for real-world VSS tasks.
Figures & tables
Figure 1: VSS using ISS model and SAM2. I and S are frames and their semantic segmentation results, respectively. In (C), DiTTA adapts the ISS model to the VSS model at test time by distilling temporal knowledge from SAM2 over a few initial frames. The pink arrow denotes an temporal fusion add-on.
Figure 2: Overview of our DiTTA (Distillation-assisted Test-Time Adaptation) framework. It comprises a lightweight add-on for temporal fusion (left blue box) and a mask-based contrastive alignment (right green block).
Figure 3: Qualitative comparison of VSS results across various methods under W2F protocol. Only the initial 10% of frames are used for distillation, with evaluation on the remaining. The frames shown are entirely unseen.
Ratio
Approach
Methods
FPS ↑
mIoU ↑
wIoU ↑
mVC 8 ↑
mVC 16 ↑
10%
ISS
SegFormer [ 59 ]
18.58
49.0
66.3
88.3
84.3
VSS
CFFM [ 45 ]
5.98
49.4
66.5
90.8
87.3
CFFM++ [ 46 ]
5.85
49.6
66.1
90.4
86.8
TV3S [ 15 ]
5.71
49.8
66.4
91.5
88.0
ISS+TTA
TENT [ 53 ]
18.45
49.6
66.5
90.3
87.2
AuxAdapt [ 41 ]
18.56
48.7
65.5
89.4
85.9
Table 1: Performance comparison of ISS, VSS, ISS+TTA, zero-shot refinement, and DiTTA under the W2F protocol. DiTTA does not involve SAM2 inference during evaluation, unlike zero-shot refinement.
Exp.
Add-on
Distill. Targets
Contrast.
mIoU ↑
ISS
48.7
A
✓
49.9
B
✓
50.8
C
✓
50.2
DiTTA
✓
✓
✓
52.3
Table 2: Ablation studies of DiTTA’s three components. Experiments are conducted under the 50% W2F protocol.
ISS
CFFM
CoTTA
DiTTA (Ours)
mIoU ↑
44.2
46.1
46.3
46.9 (+2.7)
wIoU ↑
74.2
76.4
76.9
77.9 (+3.7)
Table 3: Comparison on Cross-dataset setting. Methods are trained on VSPW [ 37 ] and evaluated on Cityscapes [ 7 ] .