Abstract
Video Semantic Segmentation (VSS) is a critical task for autonomous driving and robotics, yet its progress is hindered by the immense cost of per-pixel mask annotations. We introduce WeClick, a novel weakly-supervised pipeline that utilizes ultra-low-cost "click" annotations—requiring only a single point per object. By integrating a Gated CRF-based training scheme with a temporal self-distillation strategy called Memory Flow Knowledge Distillation (MFD), WeClick effectively leverages unlabeled adjacent frames to refine segmentation boundaries. Our approach enables lightweight student models to achieve accuracy comparable to heavy, fully-supervised teachers while maintaining real-time inference speeds.
Introduction
Assigning a class label to every pixel in a video sequence is a foundational requirement for environmental perception. However, the manual effort required to produce fine annotations is staggering, often exceeding 1.5 hours for a single frame. While weak supervision using bounding boxes or image tags has been explored, click-based annotations represent a more efficient alternative. The primary challenge lies in the sparsity of the signal: a single click provides no inherent information regarding an object's boundaries.
The WeClick Pipeline
To bridge the gap between sparse clicks and dense masks, the WeClick pipeline employs three distinct training phases:
- Weakly Training Scheme: A heavy "Teacher" network is initially trained using only click annotations. To propagate semantic labels from single points to object regions, a Gated Conditional Random Field (CRF) loss is utilized, encouraging the model to respect local image boundaries.
- Memory Flow Knowledge Distillation (MFD): This core component exploits the temporal continuity of video. Using a pre-trained optical flow network, the system estimates motion between unlabeled adjacent frames and the target frame. Predictions from these unlabeled frames are warped onto the target frame to serve as additional supervision. A "consistency matrix" is implemented to filter out noise caused by optical flow inaccuracies.
- Knowledge Distillation (KD): To ensure practical utility, the refined knowledge from the heavy Teacher is distilled into lightweight "Student" architectures (e.g., ResNet18 or MobileNetV2). During inference, the Teacher and optical flow components are discarded, leaving only the efficient Student model.
Experimental Results
WeClick was evaluated on the Cityscapes and CamVid benchmarks. On Cityscapes, a DeepLabV3+ student with a ResNet18 backbone achieved 58.30% mIoU, a significant +5.42% improvement over the baseline. This performance nearly matches that of a much heavier ResNet101 teacher (58.35%).
In terms of efficiency, the MobileNetV2-based student achieves real-time performance at 26.0 FPS on Cityscapes and up to 128.3 FPS on CamVid. Comparisons with existing weakly-supervised and unsupervised domain adaptation methods show that WeClick provides a superior accuracy-to-speed trade-off, outperforming some baselines by over 30% mIoU.
Discussion and Future Work
A key insight from this research is that temporal data in video acts as a "free lunch" for weak supervision. By intelligently warping predictions across frames, the model multiplies its learning signal without additional human labor. However, the reliance on external optical flow remains a limitation, as errors can accumulate over longer temporal distances. Future research may focus on end-to-end temporal modeling to further reduce dependence on pre-trained motion estimators and improve long-range consistency.
Summary updated