BSUV-Net 2.0: Spatio-Temporal Data Augmentations for Video-Agnostic Supervised Background Subtraction

M. Ozan Tezcan, Prakash Ishwar, Janusz KonradarXiv 2021

TL;DR

BSUV-Net 2.0 introduces a suite of novel spatio-temporal data augmentations to help supervised background subtraction (BGS) models generalize to completely unseen videos. By simulating real-world challenges like camera jitter, zooming, and stopped objects during training, the authors achieve a ~5% F-score improvement over state-of-the-art methods and provide a real-time variant capable of 29 FPS.

What Problem Does This Paper Address?

Background subtraction (BGS)—the process of separating moving foreground objects from a static or dynamic background—is a cornerstone of video surveillance and autonomous navigation. While deep learning has pushed BGS performance to near-perfection on specific videos, these models often fail miserably when applied to "unseen" videos (scenes not present in the training set).

The core issue is generalization. Most supervised BGS algorithms are "video-optimized," meaning they are trained and tested on the same footage. Furthermore, standard data augmentation techniques (like random crops or rotations) are purely spatial. They ignore the temporal dynamics of video, such as lighting changes over time, camera shake, or objects that enter a scene and then stop for a long period.

Methods

The authors build upon BSUV-Net, a U-Net-based architecture that takes three inputs: a manually selected "empty" background frame, a "recent" background (median of the last 100 frames), and the current frame.

To improve generalization, they introduce four key spatio-temporal augmentations:

  1. Randomly-Shifted Crop (RSC): Simulates camera jitter by applying different random spatial shifts to the background models relative to the current frame.
  2. PTZ Camera Crop: Mimics Pan-Tilt-Zoom operations by simulating zooming (resizing background crops) and moving (shifting crops) to train the network to handle non-static cameras.
  3. Intermittent-Object Addition (IOA): Synthetically "pastes" foreground pixels from one video into another to simulate objects that stop and remain static, challenging the network not to absorb them into the background model.
  4. Illumination Difference (ID): Applies random RGB offsets to simulate changing light conditions.
Visual examples of the proposed spatio-temporal augmentations, including simulated camera jitter and intermittent object addition.

Additionally, they developed Fast BSUV-Net 2.0, which removes a computationally expensive semantic feature map channel, allowing the model to run at real-time speeds (~29 FPS) on a single GPU.

Datasets

  • CDNet-2014: The primary benchmark for BGS. The authors propose a new 4-fold cross-validation strategy (splitting the 53 videos into four groups) to ensure a fair, video-agnostic evaluation that prevents "cheating" by training on test scenes.
  • LASIESTA: Used for cross-dataset evaluation to prove the model's ability to generalize to entirely different environments and camera setups.

Key Insights and Ideas

  • Temporal Matters: Spatial augmentations aren't enough for video. By forcing the network to deal with simulated temporal "noise" (like jitter or zoom) during training, it learns to rely on more robust features that translate to new scenes.
  • The "Stopped Object" Trap: One of the hardest BGS tasks is identifying an object that stops (e.g., a car at a red light). Standard models often start treating it as background. The IOA augmentation specifically targets this failure mode.
  • Standardizing Fairness: The proposed 4-fold split for CDNet-2014 is a significant contribution to the research community, providing a clear protocol for evaluating "video-agnostic" performance without the complexity of previous 18-fold approaches.

Key Results

  • Superior Accuracy: BSUV-Net 2.0 achieved an overall F-score of 0.8387 on CDNet-2014, outperforming the previous state-of-the-art (0.7986) by roughly 5%.
  • Real-Time Performance: Fast BSUV-Net 2.0 reaches 29 FPS while maintaining an F-score of 0.81, which still beats most non-real-time competitors.
  • Generalization: When trained on CDNet-2014 and tested on the completely different LASIESTA dataset, the model maintained high performance (F-score of 0.82), significantly outperforming unsupervised methods.
Table 2. Comparison of different spatio-temporal augmentations on CDNet-2014 based on F-score. SAC: spatialy-aligned crop, RSC: randomly-shifted crop, PTZ: PTZ camera crop, ID: illumination difference, IOA: intermittent object addition. The values in boldface font show the best performance for each category.

Qualitatively, the model shows a marked reduction in false positives in challenging scenarios like shaking trees (Dynamic Background) or vibrating cameras (Camera Jitter).

Figure 2. Visual comparison of different spatio-temporal augmentations on sample frames. Columns 1 and 2 show the current frame and its ground truth. The subsequent columns show predictions of our network trained with augmentations listed at the top of each column. The last column shows predictions of BSUV-Net 2.0 trained using a combination of all proposed augmentations. The dark-gray areas of ground-truth images represent pixels outside of CDNet-2014 regions of interest.

Limitations and Future Work

  • Augmentation Trade-offs: The authors noted that combining all augmentations sometimes slightly decreased performance in specific categories (like "Night") compared to using only one targeted augmentation. This suggests a complex interaction between different types of simulated noise.
  • IOA Requirements: The Intermittent-Object Addition requires a library of known intermittent objects to paste, which might limit its use in completely novel domains without some prior data.
  • Future Directions: The authors suggest exploring more sophisticated ways to balance these augmentations during training to minimize performance trade-offs.

Summary updated

BibTeX
@misc{tezcan2021bsuv,
  author = {M. Ozan Tezcan and Prakash Ishwar and Janusz Konrad},
  title = {{BSUV-Net 2.0: Spatio-Temporal Data Augmentations for Video-Agnostic Supervised Background Subtraction}},
  year = {2021},
  eprint = {2101.09585},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.09585},
}
Figure