RotationOut as a Regularization Method for Neural Network

Kai Hu, Barnabás PóczosarXiv 2019

TL;DR

This paper introduces RotationOut, a novel regularization technique for neural networks that randomly rotates entire feature vectors instead of dropping individual neurons like Dropout. This approach aims to reduce co-adaptation between neurons by introducing noise that depends on the activations of other neurons, leading to improved robustness and performance across various deep learning tasks.

What Problem Does This Paper Address?

Overfitting is a persistent challenge in training deep neural networks, leading to models that perform poorly on unseen data. Dropout, a popular regularization method, addresses this by randomly zeroing out neurons during training, preventing co-adaptation. However, Dropout treats each neuron independently. This paper proposes that by introducing noise that considers the interactions between neurons, such as through random rotations of feature vectors, a more effective regularization can be achieved, potentially leading to better generalization and robustness.

Methods

The core of the paper is the RotationOut regularization method. Instead of dropping individual neurons, RotationOut treats the input to a layer as a vector and applies a random rotation matrix to it. This rotation is achieved efficiently using Givens rotations, reducing the computational complexity. The authors also propose a theoretical framework for analyzing the effect of noise on co-adaptations, using correlation coefficients as a proxy for mutual information. This analysis helps to understand why RotationOut might be more effective than Dropout and how it can be combined with other techniques like Batch Normalization.

Datasets

  • CIFAR100: Used for image classification experiments and ablation studies.
  • ImageNet (ILSVRC 2012): Used for large-scale image classification.
  • COCO: Used for object detection tasks.
  • Wall Street Journal (WSJ) corpus: Used for speech recognition experiments with LSTMs.

Key Insights and Ideas

  • Co-adaptation Reduction: RotationOut reduces co-adaptation by making each neuron dependent on the activations of other neurons through random rotations, unlike Dropout's independent neuron dropping.
  • Feature Direction Matters: The authors argue that the direction of feature vectors is important, and random rotations directly introduce noise into these directions, which is crucial for models that rely on dot products (e.g., with Batch Normalization).
  • Theoretical Analysis of Noise: A novel noise analysis method is proposed to quantify co-adaptation reduction, providing a theoretical basis for understanding regularization techniques.
  • RotationOut + Batch Normalization: The paper shows how RotationOut can be effectively combined with Batch Normalization, addressing potential issues that arise when using Dropout with BN.
  • Robustness to Noise: RotationOut is shown to improve the robustness of neural networks, making them less sensitive to variations in input.

Key Results

  • Image Classification: RotationOut achieved competitive or better results than Dropout on CIFAR100 and ImageNet datasets, particularly when applied to convolutional layers.
  • Object Detection: On the COCO dataset, RotationOut improved the generalization of object detection models, outperforming standard Dropout and even DropBlock.
  • Speech Recognition: RotationOut demonstrated competitive performance with existing RNN dropout methods on the Wall Street Journal corpus.
  • Theoretical Analysis: The analysis suggests that RotationOut can reduce co-adaptations more effectively than Dropout, especially when considering the relationship between feature vectors and weights.

Limitations and Future Work

  • Theoretical Analysis: The authors acknowledge that their correlation-based co-adaptation metric is an approximation and not optimal. Further theoretical analysis of co-adaptations is suggested, particularly to explain the differences between various noise-based regularization methods.
  • Computational Complexity: While Givens rotations reduce complexity, the paper notes that generating random rotation matrices and performing matrix multiplication can still be more computationally intensive than Dropout in some scenarios.
  • Hyperparameter Tuning: The optimal distribution for sampling the rotation angle $\theta$ and its range are not exhaustively explored, though the paper reports good results with Gaussian distributions.

Summary updated

Abstract

In this paper, we propose a novel regularization method, RotationOut, for neural networks. Different from Dropout that handles each neuron/channel independently, RotationOut regards its input layer as an entire vector and introduces regularization by randomly rotating the vector. RotationOut can also be used in convolutional layers and recurrent layers with small modifications. We further use a noise analysis method to interpret the difference between RotationOut and Dropout in co-adaptation reduction. Using this method, we also show how to use RotationOut/Dropout together with Batch Normalization. Extensive experiments in vision and language tasks are conducted to show the effectiveness of the proposed method. Codes are available at \url{https://github.com/RotationOut/RotationOut}.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
COCO · val2017RetinaNet, RotationOut (Block)AP38.7+0.3 vs baselineObject Detection · split: val · backbone=ResNet-50 FPN · initialization=ImageNet
Source quote
L344: RetinaNet, RotationOut (Block) │ ImageNet │ 38.7 │ 56.6 │ 41.4
WSJ · eval92 test setRotationOutedit distance (table label: Distance)6.8-0.5 vs baselineSpeech Recognition · split: eval92 · model=four-layer bidirectional LSTM CTC
Source quote
L366: RotationOut │ 6.8
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
COCO · val2017RetinaNet, DropBlock (keep_prob=0.9, block_size=5) baselineAP38.4Object Detection · split: val · backbone=ResNet-50 FPN · keep_prob=0.9 · block_size=5 · initialization=random
Source quote
L341: RetinaNet, \text{keep}\_\text{prob}=0.9, \text{block}\_\text{size}=5 │ Random │ 38.4 │ 56.4 │ 41.2
WSJ · eval92 test setLocked Drop (kp=0.7) baselineedit distance (table label: Distance)7.3Speech Recognition · split: eval92 · model=four-layer bidirectional LSTM CTC · method=Locked Drop · keep_prob=0.7
Source quote
L363: Locked Drop(kp=0.7) │ 7.3
BibTeX
@misc{hu2019rotationout,
  author = {Kai Hu and Barnabás Póczos},
  title = {{RotationOut as a Regularization Method for Neural Network}},
  year = {2019},
  eprint = {1911.07427},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.07427},
}

Loading related content...

Figure