Low-Latency Video Semantic Segmentation

Yule Li, Jianping Shi, Dahua Lin

Abstract

Recent years have seen remarkable progress in semantic segmentation. Yet, it remains a challenging task to apply segmentation techniques to video-based applications. Specifically, the high throughput of video streams, the sheer cost of running fully convolutional networks, together with the low-latency requirements in many real-world applications, e.g. autonomous driving, present a significant challenge to the design of the video segmentation framework. To tackle this combined challenge, we develop a framework for video semantic segmentation, which incorporates two novel components: (1) a feature propagation module that adaptively fuses features over time via spatially variant convolution, thus reducing the cost of per-frame computation; and (2) an adaptive scheduler that dynamically allocate computation based on accuracy prediction. Both components work together to ensure low latency while maintaining high segmentation quality. On both Cityscapes and CamVid, the proposed framework obtained competitive performance compared to the state of the art, while substantially reducing the latency, from 360 ms to 119 ms.

Introduction

Semantic segmentation—the task of labeling every pixel in an image with a category like "road" or "pedestrian"—is a cornerstone of modern computer vision. However, its high computational cost makes it difficult to deploy in real-time video applications. While throughput (average frames per second) has been a focus of previous research, latency—the time it takes to process a single frame—is often the more critical metric for safety-critical systems like autonomous vehicles. A system that processes 30 FPS on average but has a 300ms delay for keyframes can be dangerous. This paper addresses the need for a low-latency framework that maintains high accuracy without the "stutter" caused by heavy per-frame computation.

Methodology: The Low-Latency Framework

The proposed framework achieves its efficiency through three primary architectural innovations:

1. Network Splitting and Fast-Track Scheduling

The system divides a standard deep network (e.g., ResNet-101) into a light "lower" part ($S_l$) and a heavy "higher" part ($S_h$). Every frame is processed by $S_l$ to extract basic features. When a keyframe is identified, $S_h$ runs in the background (the "slow track"). Crucially, the system does not wait for $S_h$ to finish; it uses a "fast-track" estimate for immediate output, ensuring a consistent low-latency response.

2. Adaptive Feature Propagation

Instead of using computationally expensive optical flow, the framework employs spatially variant convolutions. A small weight predictor generates unique kernels for every pixel location based on low-level features. These kernels are then used to "warp" and fuse high-level features from the previous keyframe to the current frame. This process is significantly faster than traditional methods, taking only about 5ms for the propagation step.

The framework architecture splits the network into light ($S_l$) and heavy ($S_h$) components, using a weight predictor for fast feature propagation.

3. Adaptive Keyframe Selection

Rather than using a fixed interval for keyframes, the system uses an intelligent scheduler. A tiny neural network monitors the deviation between the current frame's low-level features and those of the last keyframe. A keyframe update is only triggered when the scene has changed enough to warrant the extra computation, optimizing the balance between accuracy and speed.

Experimental Results

The framework was evaluated on the Cityscapes and CamVid datasets, which are standard benchmarks for urban scene understanding.

Speed and Accuracy Trade-offs

The most striking result is the reduction in latency. On Cityscapes, the framework slashed latency from 360ms to 119ms compared to a full-frame baseline (like PSPNet). Despite this 67% reduction in processing time, accuracy remained high at 75.89% mIoU. As shown in the comparison below, the proposed method significantly outperforms other low-latency approaches like Clockwork Net in terms of accuracy while maintaining a similar or better latency profile.

Accuracy (mIoU) vs. Latency (ms) on Cityscapes. Our method provides a superior balance of speed and precision compared to existing baselines.

Conclusion

By prioritizing latency over simple throughput, this framework offers a more practical solution for real-time robotics. The combination of network splitting, adaptive scheduling, and spatially variant convolution allows for high-quality segmentation with minimal delay. Future work may involve integrating model compression techniques to further reduce latency for deployment on mobile and edge hardware.

Summary updated

BibTeX
@inproceedings{li2018low,
  author = {Yule Li and Jianping Shi and Dahua Lin},
  title = {{Low-Latency Video Semantic Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=BkN-rkMd-B},
}
Figure