Unsupervised Batch Normalization

Mustafa Taha Koçyigit, Laura Sevilla-Lara, Timothy M. Hospedales, Hakan BilenWorkshops @ CVPR 2020 · DOI

TL;DR

This paper introduces Unsupervised Batch Normalization (UBN), a simple yet effective method to improve neural network training on small datasets by leveraging readily available unlabeled data. UBN calculates batch normalization statistics using a combined set of labeled and unlabeled samples, reducing statistical bias and acting as a form of regularization, leading to significant accuracy gains in challenging tasks like monocular depth estimation.

What Problem Does This Paper Address?

Modern deep learning models thrive on large amounts of labeled data. However, many real-world computer vision problems, such as monocular depth estimation or semantic segmentation, suffer from a scarcity of high-quality labeled data due to the expense and difficulty of obtaining annotations. While techniques like transfer learning and semi-supervised learning exist, they often require problem-specific adaptations or don't fully exploit the potential of abundant unlabeled data. Batch Normalization (BN), a standard technique for improving training stability and generalization, is particularly sensitive to small, potentially biased batch statistics, which can hinder performance when labeled data is limited. This paper aims to address this by making BN more robust and effective in low-data regimes.

Methods

The core innovation is Unsupervised Batch Normalization (UBN). Standard Batch Normalization calculates statistics (mean and variance) from the current mini-batch of labeled data. UBN modifies this by creating a combined mini-batch that includes both labeled data (from dataset L) and unlabeled data (from dataset U). The normalization statistics (mean and variance) are then computed over this combined batch. This approach has two key benefits:

  1. Reduced Bias: By incorporating a larger pool of unlabeled data, the computed statistics are less likely to be biased by the limited labeled samples, providing a more representative view of the data distribution.
  2. Regularization: The paper posits that UBN introduces a form of regularization. The noise induced by using unlabeled data statistics makes the network more invariant to variations, effectively acting as an implicit data augmentation that aligns with the data manifold.

The UBN process involves two steps: first, updating the normalization statistics using the combined batch; second, performing a forward-backward pass using only the labeled data to update the network's weights. This is a minor modification to the standard BN implementation, making it computationally inexpensive and easy to integrate.

Datasets

  • Spiral Dataset: A toy dataset used for illustrative purposes to demonstrate the principles of UBN and its difference from standard BN.
  • KITTI Dataset: A real-world dataset for monocular depth estimation, used for evaluating the performance of UBN. The authors specifically mention using the Kitti Raw dataset with 42304 training images and 2480 testing images.

Key Insights and Ideas

  • Unlabeled Data as a Statistical Stabilizer: The most significant insight is that unlabeled data, even without explicit labels, can be invaluable for computing more robust and less biased statistics for normalization layers.
  • Implicit Data Augmentation: UBN acts as a form of implicit data augmentation by introducing noise derived from the data manifold, which helps the network generalize better. This is particularly useful in scenarios where explicit augmentation might be difficult or less effective.
  • General Applicability: The method is designed to be general and not require problem-specific adaptations, making it a versatile tool for various computer vision tasks.
  • Addressing the "Small Dataset" Bottleneck: UBN directly tackles the performance degradation of standard BN on small datasets, offering a straightforward solution to a common challenge.

Key Results

  • Monocular Depth Estimation on KITTI: UBN achieved an increase in accuracy of more than 6% compared to traditional BN when trained on the KITTI dataset.
  • Improved Decision Boundaries (Toy Example): On the Spiral dataset, UBN learned decision boundaries that better interpolated between labeled examples and aligned with the underlying data manifold, unlike standard BN which tended to create "islands" around labeled points.
  • Performance Scales with Label Availability: The paper shows that UBN's advantage becomes more pronounced as the number of labeled examples decreases, suggesting its suitability for extremely low-data scenarios.

Limitations and Future Work

  • Limitations: The paper doesn't explicitly detail limitations beyond the inherent challenges of the tasks it's applied to. The effectiveness of UBN might depend on the quality and representativeness of the unlabeled data.
  • Future Work: The authors express hope that UBN will become a useful component in future learning systems. The general nature of the method suggests it could be explored in a wider range of computer vision tasks beyond depth estimation. Further investigation into the precise regularization mechanisms and the impact of different unlabeled dataset sizes and distributions could be fruitful.

Summary updated

BibTeX
@inproceedings{kocyigit2020unsupervised,
  author = {Mustafa Taha Koçyigit and Laura Sevilla-Lara and Timothy M. Hospedales and Hakan Bilen},
  title = {{Unsupervised Batch Normalization}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00467},
}
Figure