Deep Common Feature Mining for Efficient Video Semantic Segmentation

Yaoyan Zheng, Hongyu Yang, Di Huang · DOI

Abstract

Video semantic segmentation (VSS) is often hindered by the computational cost of processing every frame with heavy deep learning models. While existing methods leverage temporal redundancy through feature propagation or optical flow, these modules often introduce significant overhead. This paper presents Deep Common Feature Mining (DCFM), a framework that decouples video features into slow-changing "common" representations and fast-changing "independent" representations. By directly reusing high-level common features from keyframes, DCFM eliminates the need for expensive warping operations, enabling non-keyframe processing in just 5.8ms while achieving state-of-the-art accuracy and temporal consistency.

Introduction

Video semantic segmentation requires assigning class labels to every pixel across a video sequence. Standard image-based models applied per-frame are inefficient because adjacent frames contain highly redundant information. To address this, many VSS methods adopt a "keyframe" strategy: a heavy backbone processes a keyframe, and its features are then propagated to subsequent frames using optical flow or attention mechanisms. However, these propagation modules are often computationally intensive and prone to error accumulation during fast motion or occlusions.

DCFM addresses these challenges by questioning the necessity of explicit feature warping. Instead of recalibrating features, the authors propose a method to reuse high-level semantics directly, grounded by low-level spatial details extracted from the current frame.

Methodology

Feature Decomposition and Reuse

The core of DCFM is the architectural split of the backbone network into two distinct stages:

  1. Common Features: Deep layers extract high-level semantics (e.g., object identity) that remain relatively stable over short temporal windows.
  2. Independent Features: Shallow layers capture fine-grained spatial details and fast-moving boundaries that vary frame-to-frame.

During inference, full computation is performed only on keyframes. For non-keyframes, the model executes only the shallow layers to get independent features, which are then fused with the cached common features from the nearest keyframe via a lightweight Feature Fusion Module (FFM). This approach avoids the latency and complexity of optical flow.

Comparison of DCFM with existing VSS paradigms, highlighting the direct reuse of features without propagation.

Training Strategies

To ensure robust performance even on sparsely annotated datasets (like Cityscapes), the authors employ a Symmetric Training Strategy. By alternating the role of the labeled frame between a keyframe and a non-keyframe during training, the network learns to extract common features that are inherently reusable across time. Additionally, a Self-Supervised Consistency Loss ($L_C$) is introduced to minimize feature-space distances between pixels of the same class across adjacent frames, enhancing temporal stability.

Experiments and Results

DCFM was evaluated on the VSPW, Cityscapes, and CamVid benchmarks. A key highlight is the efficiency gain: processing a non-keyframe takes only 5.8ms (172 FPS), representing just 8% of the computational cost of a keyframe.

Performance comparison (mIoU vs. FPS) on the VSPW dataset, showing DCFM's superior speed-accuracy trade-off.

On the VSPW dataset, using a MiT-B5 backbone, DCFM achieved 49.3% mIoU at 25.4 FPS, a 1.8x speedup over the SegFormer baseline with improved accuracy. On Cityscapes, DCFM-50 reached 77.2% mIoU at 13.2 FPS, significantly outperforming prior keyframe-based methods like DCNet in both speed and precision.

Conclusion

Deep Common Feature Mining provides a highly efficient alternative to traditional feature propagation in video semantic segmentation. By decoupling and directly reusing semantic features, it achieves substantial inference speedups without sacrificing accuracy. While the current framework faces challenges with uneven latency due to heavy keyframe processing, it sets a new benchmark for efficient temporal modeling. Future work will focus on flattening the latency curve for ultra-low-latency real-time applications like autonomous driving.

Summary updated

BibTeX
@article{zheng2024deep,
  author = {Yaoyan Zheng and Hongyu Yang and Di Huang},
  title = {{Deep Common Feature Mining for Efficient Video Semantic Segmentation}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2024},
  doi = {10.1109/tcsvt.2024.3441036},
}
Figure