[Paper Review] AuxAdapt: Stable and Efficient Test-Time Adaptation for Temporally Consistent Video Semantic Segmentation
AuxAdapt proposes a stable, efficient test-time adaptation method for video semantic segmentation that enhances temporal consistency without relying on optical flow or cross-frame features. By using a lightweight auxiliary network (AuxNet) that updates in real time while the main network remains frozen, AuxAdapt achieves significant improvements in temporal consistency with only 5× less computational overhead than state-of-the-art methods.
In video segmentation, generating temporally consistent results across frames is as important as achieving frame-wise accuracy. Existing methods rely either on optical flow regularization or fine-tuning with test data to attain temporal consistency. However, optical flow is not always avail-able and reliable. Besides, it is expensive to compute. Fine-tuning the original model in test time is cost sensitive. This paper presents an efficient, intuitive, and unsupervised online adaptation method, AuxAdapt, for improving the temporal consistency of most neural network models. It does not require optical flow and only takes one pass of the video. Since inconsistency mainly arises from the model's uncertainty in its output, we propose an adaptation scheme where the model learns from its own segmentation decisions as it streams a video, which allows producing more confident and temporally consistent labeling for similarly-looking pixels across frames. For stability and efficiency, we leverage a small auxiliary segmentation network (AuxNet) to assist with this adaptation. More specifically, AuxNet readjusts the decision of the original segmentation network (Main-Net) by adding its own estimations to that of MainNet. At every frame, only AuxNet is updated via back-propagation while keeping MainNet fixed. We extensively evaluate our test-time adaptation approach on standard video benchmarks, including Cityscapes, CamVid, and KITTI. The results demonstrate that our approach provides label-wise accurate, temporally consistent, and computationally efficient adaptation (5+ folds overhead reduction comparing to state-of-the-art test-time adaptation methods).
Motivation & Objective
- To address the challenge of temporal inconsistency in video semantic segmentation, especially when relying on unreliable or expensive optical flow.
- To develop an efficient, unsupervised, and online adaptation method that improves consistency without modifying the main segmentation network.
- To reduce computational cost compared to existing test-time adaptation methods like DVP, which require extensive retraining on test videos.
- To enable stable adaptation using only one forward pass per frame, leveraging model uncertainty and confidence-based sampling.
Proposed method
- AuxAdapt introduces a small auxiliary segmentation network (AuxNet) that works in tandem with a pre-trained main network (MainNet), which remains frozen during inference.
- At each frame, only AuxNet is updated via back-propagation using a loss based on the discrepancy between MainNet’s predictions and the aggregated output of MainNet and AuxNet.
- The final segmentation is computed as a weighted sum of MainNet and AuxNet outputs, where AuxNet corrects for inconsistencies in MainNet’s predictions.
- AuxAdapt employs confidence-based spatial sampling to reduce computation by updating only low-confidence pixels, improving efficiency without sacrificing performance.
- It uses motion-adaptive momentum to dynamically adjust the learning rate of AuxNet, balancing temporal consistency and accuracy across diverse video sequences.
- The method is applied in an online, streaming fashion, requiring only a single pass through the video and no optical flow or feature matching.
![Figure 1 : Segmentations of two pairs of consecutive video frames. Columns 1 and 3 show the results of the state-of-the-art HRNet-w48 model [ 40 ] . Columns 2 and 4 are obtained by applying our efficient AuxAdapt to HRNet-48. As visible, AuxAdapt improves the temporal consistency significantly.](https://ar5iv.labs.arxiv.org/html/2110.12369/assets/figures/motivation.png)
Experimental results
Research questions
- RQ1Can we achieve stable and efficient test-time adaptation for video semantic segmentation without relying on optical flow or cross-frame correspondence?
- RQ2How can we improve temporal consistency using only the model’s own predictions during inference?
- RQ3Can a lightweight auxiliary network effectively correct inconsistencies in a frozen main network with minimal computational overhead?
- RQ4What is the impact of spatial sub-sampling and adaptive momentum on efficiency and performance in test-time adaptation?
Key findings
- AuxAdapt achieves a 75.8% temporal consistency (TC) score on Cityscapes and 63.5% on KITTI using HRNet-w48-s4, significantly outperforming baseline methods.
- The method reduces computational overhead by over 5× compared to state-of-the-art test-time adaptation methods like DVP, with only 189 GMACs/F on KITTI.
- Confidence-based sampling reduces the number of updated pixels by up to 82% on KITTI while maintaining high TC improvement, enhancing efficiency.
- Motion-adaptive momentum improves the balance between TC and mIoU, outperforming fixed momentum settings across datasets.
- Even with intermittent adaptation (updating every 10 frames), AuxAdapt maintains strong TC gains (74.7% on Cityscapes, 59.9% on KITTI), showing robustness to update frequency.
- On cross-dataset adaptation (Cityscapes to KITTI), AuxAdapt preserves mIoU (65.8%) while improving TC from 57.4% to 63.5%, avoiding overfitting seen in full fine-tuning.
![Figure 2 : Left: Deep Video Prior (DVP) [ 25 ] first applies the original network to all video frames. The outputs, together with the corresponding inputs, are collected to form a training set. A new network is then trained based on this set using at least 25 epochs. Finally, the retrained network i](https://ar5iv.labs.arxiv.org/html/2110.12369/assets/x1.png)
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.