Maxout Networks

Ian J. Goodfellow, David Warde-Farley, Mehdi Mirza, Aaron C. Courville, Yoshua BengioICML 2013

TL;DR

This paper introduces "maxout" networks, a novel activation function designed to work synergistically with dropout, a popular regularization technique. By creating models that are more amenable to dropout's approximate model averaging, maxout networks achieve state-of-the-art results on several benchmark image classification tasks, demonstrating improved accuracy and optimization.

What Problem Does This Paper Address?

Dropout is a powerful technique for training deep neural networks by randomly dropping units during training, effectively training an ensemble of models. While highly effective, dropout's "model averaging" is an approximation, especially in deep architectures. The authors argue that instead of applying dropout to existing models, it's more beneficial to design models that are inherently better suited for this approximate averaging. Specifically, they aim to improve both the optimization process and the accuracy of dropout's model averaging, particularly in deep networks where the approximation error can be significant.

Methods

The core contribution is the maxout activation function. Unlike traditional activation functions like ReLU (which outputs max(0, z)) or tanh, a maxout unit computes the maximum of several linear functions: h_i(x) = max_{j \in [1,k]} (x^T W_{ij} + b_{ij}). This means a maxout unit learns not only the relationship between its inputs but also its own activation function.

Key aspects of the method include:

  • Synergy with Dropout: Maxout units are designed to be "locally linear almost everywhere" and avoid the constant zero output of ReLU when inputs are negative. This property makes them more robust to the random dropping of units by dropout, allowing gradients to flow more consistently.
  • Model Averaging: The paper posits that maxout networks facilitate more accurate model averaging with dropout. The intuition is that maxout units, by having larger linear regions, are less likely to "escape" these regions when dropout masks are applied, leading to a more stable and accurate averaging of sub-models.
  • Universal Approximator: The authors prove that a maxout network with just two hidden units can approximate any continuous function, similar to standard MLPs.

Datasets

The paper evaluates maxout networks on the following datasets:

  • MNIST: Standard 28x28 grayscale handwritten digit dataset.
  • CIFAR-10: 32x32 color images from 10 classes.
  • CIFAR-100: 32x32 color images from 100 classes.
  • SVHN (Street View House Numbers): 32x32 color images of house numbers.

They also compare their results against existing benchmarks on these datasets.

Key Insights and Ideas

  • Dropout Needs a Buddy: The paper strongly suggests that dropout isn't a universal plug-and-play solution. Designing network architectures specifically to leverage dropout's strengths can yield significantly better results than applying it to arbitrary models.
  • Maxout's Smoothness is Key: The "max of linear functions" structure of maxout, compared to the hard zero cutoff in ReLU, allows gradients to flow more consistently. This is crucial for dropout, which relies on gradients to explore different model configurations.
  • Deeper Networks, Better Optimization: Maxout networks seem to be more robust to increasing network depth when trained with dropout, outperforming rectifier networks in deeper configurations.
  • Model Averaging is More Accurate: The paper provides empirical evidence (KL divergence) that maxout networks lead to a more accurate approximation of true model averaging by dropout compared to other activation functions like tanh.

Key Results

  • State-of-the-Art Performance: Maxout networks, when combined with dropout, achieved state-of-the-art test error rates on all four benchmark datasets:
  • MNIST (permutation invariant): 0.94%
    • MNIST (general): 0.45%
    • CIFAR-10: 11.68% (9.35% with data augmentation)
    • CIFAR-100: 38.57%
    • SVHN: 2.47%
  • Improved Optimization: Maxout networks showed better optimization performance, especially in deeper networks and when trained with dropout, compared to rectifier units. For example, they observed a significant difference in filter utilization and gradient variance in lower layers.
  • Dropout Benefits: Figure 5 shows a dramatic improvement in validation error on CIFAR-10 when using dropout with maxout, highlighting the synergy.

Limitations and Future Work

  • Approximation of Model Averaging: While maxout improves the accuracy of dropout's model averaging, it's still an approximation. The paper suggests further research into designing models that minimize this approximation error.
  • Hyperparameter Tuning: The paper mentions that extensive cross-validation was not performed for all datasets due to time constraints, implying that further tuning might yield even better results.
  • Comparison to Rectifiers: While maxout outperforms rectifiers, the paper notes that preprocessing and larger models also contribute to improved performance, suggesting that future work could explore optimal combinations of these factors.
  • Future Directions: The authors are motivated to design further models explicitly intended to perform well when combined with inexpensive approximations to model averaging.

Summary updated

BibTeX
@inproceedings{goodfellow2013maxout,
  author = {Ian J. Goodfellow and David Warde-Farley and Mehdi Mirza and Aaron C. Courville and Yoshua Bengio},
  title = {{Maxout Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2013},
  url = {https://openreview.net/forum?id=rkWiCiWObH},
}
Figure