Surveillance Video Parsing with Single Frame Supervision

Si Liu, Changhu Wang, Ruihe Qian, Han Yu, Renda Bao, Yao Sun

Abstract

Human part segmentation in surveillance videos is often hindered by the high cost of pixel-wise annotation. We present the Single frame Video Parsing (SVP) network, a novel framework designed to achieve robust parsing using only one labeled frame per training video. By integrating image parsing, optical flow estimation, and temporal fusion into a unified end-to-end pipeline, SVP leverages unlabeled frames to propagate semantic information across time. Our approach outperforms traditional supervised methods by effectively utilizing temporal context as a regularizer.

Introduction

Human parsing—segmenting individuals into semantic parts like "face," "arms," and "pants"—is a cornerstone for higher-level tasks such as person re-identification and attribute prediction. However, surveillance video poses significant challenges, including low resolution, varied viewpoints, and massive data volumes. The primary bottleneck is the prohibitive cost of manual pixel-wise labeling for every video frame. Most existing methods require either massive labeled sets or rely on weak image-level tags.

The SVP framework uses a single labeled frame during training to enable parsing across video sequences during testing.

This research addresses the "extreme" supervision scenario: building a high-performing parser with only a single labeled frame per video. The core idea is to exploit the inherent temporal redundancy in video sequences to provide indirect supervision for unlabeled frames, forcing the model to align labels across time.

Proposed Method: The SVP Network

The SVP network processes a "triplet" of frames to parse a target frame ($I_t$): a long-range preceding frame ($I_{t-l}$), a short-range preceding frame ($I_{t-s}$), and the current frame ($I_t$).

The SVP architecture integrates image parsing, optical flow estimation via correlation layers, and confidence-weighted temporal fusion.

The architecture consists of three integrated sub-networks:

  1. Image Parsing Sub-network: Generates initial label maps for the triplet using a shared-weight DeepLab-based architecture to extract features.
  2. Optical Flow Estimation Sub-network: Computes dense correspondences between frames "on the fly" using correlation and upconvolutional layers, avoiding slow off-the-shelf estimators.
  3. Temporal Fusion Sub-network: Warps the initial parsing results from $I_{t-l}$ and $I_{t-s}$ onto $I_t$ using the estimated flow. To mitigate flow errors (e.g., misalignment or "ghosting"), pixel-wise confidence maps are calculated based on appearance differences. The final parse $P_t$ is a weighted fusion of the warped labels and the current frame's initial parse.

The system is trained using a four-step alternating algorithm to ensure stable convergence of both the parsing and flow components.

Datasets and Evaluation

As no public surveillance video parsing datasets were available, the authors established two new benchmarks:

  • Indoor Dataset: 700 videos (400 training, 300 testing) with 13 semantic categories (e.g., dress, hair, shoes).
  • Outdoor Dataset: 198 training and 109 testing videos, featuring more challenging dynamics and lower frame rates. Additionally, the Flying Chairs dataset was used to pre-train the optical flow sub-network since the surveillance datasets lack ground-truth flow data.

Key Insights

  • Temporal Context as a Regularizer: Forcing alignment across frames allows unlabeled data to act as indirect supervision, compensating for sparse labels.
  • The Triplet Advantage: The authors found that long-range frames provide pose diversity, while short-range frames offer higher flow accuracy. Combining both significantly improves robustness compared to using either alone.
  • Confidence-Weighted Fusion: Appearance-based confidence maps allow the network to filter out noise from imperfect optical flow warps, effectively ignoring bad alignments during fusion.

Results

SVP consistently outperformed state-of-the-art methods that were either fully supervised on the single labeled frame or used semi-supervised techniques. On the Indoor Dataset, SVP achieved an average F1-score of 60.20%, surpassing the DeepLab baseline (54.89%) and the semi-supervised EM-Adapt (56.40%). On the more difficult Outdoor Dataset, SVP reached an F1-score of 52.94%, a significant improvement over FCN-8s (44.33%) and DeepLab (47.75%). Qualitative results indicate that SVP better preserves the shapes of small parts (like bag straps) and correctly identifies extremities compared to single-frame methods.

Conclusion

The SVP framework demonstrates that high-quality video parsing is achievable with minimal supervision by leveraging temporal redundancy. While the training process is complex and requires a multi-step strategy, the resulting model provides a scalable solution for large-scale surveillance analysis. Future work includes optimizing for real-time performance and extending the framework to urban scene parsing for autonomous driving.

Summary updated

BibTeX
@inproceedings{liu2017surveillance,
  author = {Si Liu and Changhu Wang and Ruihe Qian and Han Yu and Renda Bao and Yao Sun},
  title = {{Surveillance Video Parsing with Single Frame Supervision}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.114},
}
Figure