Curriculum By Texture

Samarth Sinha, Animesh Garg, Hugo Larochelle

Abstract

Training deep Convolutional Neural Networks (CNNs) from scratch is often hindered by noise and "aliasing" artifacts generated by untrained weights in the early stages of learning. This paper introduces Curriculum by Smoothing (CBS), a simple yet powerful technique that uses Gaussian low-pass filters to gradually introduce high-frequency details to the network. By preventing the network from seeing fine-grained, noisy details too early, CBS forces the model to learn stable, coarse-grained structures first. This leads to significantly better feature representations and performance across classification, generative modeling, and transfer learning without adding any trainable parameters.

Introduction: The Problem of Internal Noise

When a CNN is initialized, its weights are random. During the initial epochs, these weights convolve with input data to produce feature maps filled with high-frequency noise. This noise acts as a "distortion artifact" that can lead the optimization process toward suboptimal local minima. While traditional "Curriculum Learning" focuses on the complexity of training examples, CBS focuses on feature frequency. The goal is to smooth the optimization landscape by controlling the spectral content of internal representations.

Methodology: Gaussian Kernel Annealing

The core of the CBS approach is the insertion of a Gaussian Kernel Layer after convolutional layers. This layer acts as a deterministic low-pass filter that "blurs" internal feature maps.

  1. Smoothing: A Gaussian filter is applied to the output of convolutions to suppress high-frequency noise.
  2. Curriculum (Annealing): The standard deviation ($\sigma$) of the Gaussian kernel starts at a maximum value (high blur) and is gradually decreased (annealed) toward zero as training progresses.
  3. Recovery: By the end of the training cycle, $\sigma \approx 0$, making the Gaussian kernel an identity operation. The network thus recovers its standard architecture for inference.

This method is "plug-and-play," requiring no auxiliary loss functions and adding zero trainable parameters to architectures like VGG, ResNet, or ResNeXt.

Key Insights and Ablations

A critical finding of this work is that smoothing the input images alone is insufficient to stabilize training. The detrimental noise is generated inside the network by the untrained parameters themselves.

Ablation study on CIFAR datasets comparing CBS against input-only smoothing ("Image Only") and other baselines. CBS consistently outperforms simpler smoothing strategies.

As shown in the ablation study, applying smoothing only to the image or using a constant $\sigma$ does not yield the same benefits as the full CBS curriculum. This confirms that the internal "anti-aliasing" effect is the primary driver of performance gains.

Experimental Results

The authors evaluated CBS across a wide range of standard benchmarks, including CIFAR-10/100, SVHN, and ImageNet.

Performance comparison of standard architectures versus their CBS-enhanced versions across SVHN, CIFAR-10, and CIFAR-100.

Image Classification

The performance gains are consistent across various backbones. For instance, on CIFAR-100, a VGG-16 network improved from 57.0% to 61.4% accuracy. On the large-scale ImageNet dataset, a ResNet-18 saw a significant Top-1 accuracy boost from 67.9% to 71.0%.

Transfer Learning and Robustness

Models trained with CBS serve as superior feature extractors. When used as backbones for downstream tasks like object detection on Pascal VOC, CBS-pretrained models outperformed standard ones (e.g., mAP increased from 67.9 to 70.0). Furthermore, in zero-shot domain adaptation tasks (e.g., MNIST to USPS), CBS-trained models showed better generalization, suggesting they learn more fundamental structural features rather than over-fitting to domain-specific textures.

Conclusion

Curriculum by Smoothing provides a robust, parameter-free method to improve CNN training. By treating the early stages of learning as a signal processing problem, CBS effectively regularizes the network to prioritize global structure over local noise. Future work may explore automated annealing schedules or the application of similar frequency curricula to Vision Transformers (ViTs).

Summary updated

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