Skip to main content
QUICK REVIEW

[Paper Review] PatchShuffle Regularization

Guoliang Kang, Xuanyi Dong|arXiv (Cornell University)|Jul 22, 2017
Neural Networks and ApplicationsComputer Science62 citations
TL;DR

PatchShuffle is a CNN regularization technique that randomly shuffles pixels within local patches in images or feature maps during training, providing local variation and robustness without significantly increasing computation. It complements other regularizers and improves generalization, especially with scarce data.

ABSTRACT

This paper focuses on regularizing the training of the convolutional neural network (CNN). We propose a new regularization approach named ``PatchShuffle`` that can be adopted in any classification-oriented CNN models. It is easy to implement: in each mini-batch, images or feature maps are randomly chosen to undergo a transformation such that pixels within each local patch are shuffled. Through generating images and feature maps with interior orderless patches, PatchShuffle creates rich local variations, reduces the risk of network overfitting, and can be viewed as a beneficial supplement to various kinds of training regularization techniques, such as weight decay, model ensemble and dropout. Experiments on four representative classification datasets show that PatchShuffle improves the generalization ability of CNN especially when the data is scarce. Moreover, we empirically illustrate that CNN models trained with PatchShuffle are more robust to noise and local changes in an image.

Motivation & Objective

  • Motivate regularization to reduce overfitting in CNNs when training data is limited.
  • Introduce PatchShuffle as a lightweight, transferable regularizer applicable to images and feature maps.
  • Demonstrate that PatchShuffle complements existing regularizers and improves robustness to noise and occlusions.
  • Show improvements across multiple datasets and architectures.

Proposed method

  • Define PatchShuffle as a stochastic transformation applied with probability epsilon to either keep the image/feature map or shuffle pixels within non-overlapping n x n patches.
  • Apply PatchShuffle to both input images and to feature maps across convolutional layers, treating each patch with independent random permutations.
  • Model the training objective as a mixture: Ls(X,y,θ) = (1−r)L(X,y,θ) + rL(T(X),y,θ) where r ~ Bernoulli(epsilon).
  • Relate PatchShuffle to model averaging and weight sharing within patches, providing a regularization effect without discarding hidden units.
  • Provide algorithm for applying PatchShuffle on feature maps and a backward gradient mapping via the saved patch permutation indices.
  • Experiment with patch sizes Hp x Wp and shuffle probability ε, validating on CIFAR-10, SVHN, STL-10, and MNIST.

Experimental results

Research questions

  • RQ1Does PatchShuffle improve generalization of CNNs on standard image classification benchmarks?
  • RQ2How do patch size and shuffle probability affect performance and bias–variance trade-offs?
  • RQ3Is PatchShuffle effective when applied to input images, intermediate feature maps, or both?
  • RQ4Does PatchShuffle enhance robustness to noise and occlusions in images?
  • RQ5How does PatchShuffle interact with other regularization methods (e.g., dropout, weight decay, batch normalization)?

Key findings

  • PatchShuffle consistently improves accuracy over standard back-propagation across CNN architectures like NIN and ResNet variants on CIFAR-10.
  • On CIFAR-10, PatchShuffle achieves up to 0.67 percentage points lower error than standard BP under selected settings.
  • PatchShuffle applied to feature maps (including higher layers) yields notable gains, and applying it to more layers yields larger improvements on STL-10.
  • PatchShuffle improves robustness to salt-and-pepper noise and occlusion on MNIST, with larger performance gaps as noise increases.
  • PatchShuffle remains effective over a wide range of hyper-parameters; optimal results are obtained with small patch sizes (e.g., 2x2) and modest shuffle probabilities (e.g., ε ≈ 0.05).
  • Compared to data augmentation alone, PatchShuffle acts as a regularizer and complements other regularization techniques, often without increasing training data volume.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.