Curriculum By Smoothing

Samarth Sinha, Animesh Garg, Hugo Larochelle

TL;DR

"Curriculum by Smoothing" (CBS) is a lightweight, parameter-free training strategy that enhances Convolutional Neural Network (CNN) performance. By applying a Gaussian blur to internal feature maps and gradually "un-blurring" them as training progresses, CBS reduces early-stage noise. This curriculum helps networks learn more robust, transferable representations across a variety of vision tasks without adding a single trainable parameter.

The Problem: Noisy Beginnings in CNN Training

Training deep CNNs from scratch is an inherently noisy process. In the early stages of training, network weights are essentially random, causing the extracted features to be riddled with high-frequency distortion and aliasing artifacts. This noise can misguide the optimization process, leading the network toward sub-optimal local minima.

While "Curriculum Learning"—the concept of starting with easy examples and progressively introducing harder ones—has proven successful in domains like GAN training (e.g., progressively growing image resolution), applying it to general CNN representation learning has been less straightforward. The authors of this paper investigate how to design a curriculum that fundamentally improves a CNN's ability to learn robust representations directly from the data.

Method: Curriculum by Smoothing (CBS)

The authors propose treating the training process as a signal processing task. Their method, Curriculum by Smoothing (CBS), controls the frequency of information passing through the network.

  1. Gaussian Filtering: A Gaussian kernel layer is inserted after every convolutional layer. This acts as a low-pass filter, effectively blurring the internal feature maps.
  2. The Curriculum (Annealing): At the beginning of training, the standard deviation ($\sigma$) of the Gaussian kernel is set high. This ensures that only low-frequency information (coarse, global structures) passes through, shielding the network from high-frequency noise.
  3. Progressive Detail: As training advances, $\sigma$ is gradually annealed toward zero. This slowly reintroduces high-frequency details (fine textures and sharp edges) only after the earlier layers have stabilized and learned basic structural representations.
  4. Zero Overhead: Because the Gaussian kernels are deterministic functions of $\sigma$ and are not learned via backpropagation, CBS adds no additional trainable parameters to the network.

Mathematically, a standard CNN layer $h_i = \text{ReLU}(\text{pool}(\theta_w \ast x_i))$ is modified to: $$h_i = \text{ReLU}(\text{pool}(\theta_{G\sigma} \ast (\theta_w \ast x_i)))$$ where $\theta_{G\sigma}$ represents the Gaussian kernel.

Key Insights

  • Anti-Aliasing as a Regularizer: By filtering out high-frequency noise from untrained weights, CBS prevents the network from overfitting to random noise early on. It forces the model to grasp the "big picture" before focusing on intricate details.
  • Internal vs. External Smoothing: An ablation study revealed that smoothing the input image alone is insufficient. The true performance benefit arises from smoothing the internal feature maps produced throughout the convolutional hierarchy.
  • Architecture Agnostic: CBS is not tied to a specific network design. The authors demonstrated consistent gains across various architectures, including VGG-16, ResNet-18, Wide-ResNet-50, and ResNeXt-50.
  • Superior Feature Extraction: Models trained with CBS act as better feature extractors. When CBS-trained weights were frozen and used to train a simple linear classifier on new datasets, the resulting features significantly outperformed standard baselines.

Key Results

The authors evaluated CBS across a wide array of benchmarks, including image classification, transfer learning, generative modeling, and domain adaptation, observing consistent quantitative improvements.

Image Classification: CBS provides substantial boosts to standard classification benchmarks. On CIFAR-100, performance improved by over 4% on VGG-16 and 3% on ResNet-18.

Classification accuracy on SVHN, CIFAR-10, and CIFAR-100 showing consistent gains across multiple architectures when using CBS.

The improvements scale to massive datasets as well. On ImageNet, a ResNet-18 trained with CBS saw a ~3.1% jump in Top-1 accuracy, rising from 67.90% to 71.02%.

ImageNet Top-1 and Top-5 accuracy improvements for VGG-16 and ResNet-18 models trained with CBS.

Beyond Classification: * Transfer Learning: On Pascal VOC object detection, a CBS-pretrained backbone outperformed the standard CNN baseline (70.0% vs 67.9% mAP). * Generative Models: When applied to Variational Autoencoders (VAEs), CBS led to lower Negative Log-Likelihood (NLL) and higher Mutual Information, indicating a richer, more organized latent space.

Limitations and Future Work

  • Hyperparameter Tuning: Although CBS is parameter-free regarding network weights, it introduces new hyperparameters: the initial $\sigma$ and its decay schedule. The authors provide a robust default (start at $\sigma=1$, decay by 0.9 every 5 epochs), but optimal schedules may vary for highly specialized tasks.
  • Scope of Architectures: The paper focuses exclusively on CNNs. With the rise of Vision Transformers (ViTs), which rely on self-attention rather than local convolutions, it remains an open question how a smoothing curriculum might be adapted for non-convolutional architectures.
  • Future Directions: The authors suggest that deeper integration of traditional signal processing techniques with deep learning could yield further improvements in representation learning.

Source: Sinha, S., Garg, A., & Larochelle, H. (2020). Curriculum by Smoothing. 34th Conference on Neural Information Processing Systems (NeurIPS 2020).

Summary updated

BibTeX
@inproceedings{sinha2020curriculum,
  author = {Samarth Sinha and Animesh Garg and Hugo Larochelle},
  title = {{Curriculum By Smoothing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=-C95xdWJeM},
}
Figure