Abstract
Video semantic segmentation often suffers from temporal inconsistency, where pixel labels flicker between frames due to independent frame processing. Existing solutions like optical flow are computationally heavy, while test-time adaptation methods like Deep Video Prior are too slow for real-time use. We present AuxAdapt, a lightweight, unsupervised online adaptation method that utilizes a tiny auxiliary network to refine a frozen main model's predictions. AuxAdapt significantly improves temporal consistency by reinforcing confident decisions through a single-pass adaptation loop, achieving state-of-the-art stability with minimal overhead.
Introduction
In video semantic segmentation, assigning categorical labels to every pixel across a sequence of frames is a core challenge. While modern deep learning models excel at segmenting static images, they frequently lack temporal consistency when applied to video. This manifests as distracting visual flickering, where a pixel's classification might flip-flop between categories (e.g., "road" to "sidewalk") in successive frames.
Current approaches to mitigate this issue generally fall into two categories:
- Optical Flow-based Methods: These attempt to track pixels across time but are often computationally expensive and sensitive to tracking errors.
- Test-Time Adaptation (TTA): Methods like Deep Video Prior (DVP) retrain models on specific test videos. Although effective at improving consistency, they are prohibitively slow, requiring multiple passes over the video data.
Methods
AuxAdapt introduces a "sidecar" architecture to enable efficient, real-time adaptation. The system consists of two primary components:
- MainNet: A large, high-accuracy, pre-trained segmentation model (e.g., HRNet) that remains frozen during the adaptation process to prevent catastrophic forgetting.
- AuxNet: A tiny, lightweight auxiliary network that is updated online.
During the adaptation loop, both networks process the incoming frame. Their outputs (logits) are fused to produce a final segmentation map. The "hard" decision (argmax) from this fusion serves as a pseudo-label. A single backward pass is then performed to update only the AuxNet. By training on its own confident decisions, the model reinforces visual patterns over time, leading to more stable predictions in subsequent frames. To further enhance efficiency, the authors employ intermittent adaptation, confidence-based sampling, and adaptive momentum based on inter-frame motion.
Results
The method was evaluated on Cityscapes, CamVid, and KITTI datasets.
Key findings include:
- Consistency Improvements: On Cityscapes, AuxAdapt improved the Temporal Consistency (TC) metric from 72.1 to 75.8 without sacrificing mean Intersection-over-Union (mIoU) accuracy.
- Efficiency: AuxAdapt is approximately 70x faster than Deep Video Prior and requires significantly less memory, making it suitable for streaming applications.
- Cross-Dataset Robustness: When transferring a model from Cityscapes to KITTI, AuxAdapt recovered significant consistency (improving TC from 57.4 to 63.5), demonstrating its ability to adapt to new environments on the fly.
Conclusion
AuxAdapt demonstrates that temporal consistency in video segmentation can be achieved without the complexity of optical flow or the latency of multi-pass adaptation. By leveraging a lightweight auxiliary network for online reinforcement, it provides a practical path toward stable, real-time video understanding. Future research may extend this auxiliary adaptation framework to other temporal tasks such as object detection and depth estimation.
Summary updated