Skip to main content
QUICK REVIEW

[Paper Review] PatchUp: A Regularization Technique for Convolutional Neural Networks

Mojtaba Faramarzi, Mohammadreza Amini|arXiv (Cornell University)|Jun 14, 2020
Adversarial Robustness in Machine LearningComputer Science13 references17 citations
TL;DR

PatchUp is a block-level regularization technique for CNNs that mixes contiguous feature map blocks from two random training samples in the hidden layer, improving generalization and robustness. It reduces the manifold intrusion problem seen in Mixup and CutMix, achieving state-of-the-art performance on CIFAR-10, CIFAR-100, and SVHN with improved robustness to affine transformations and adversarial attacks.

ABSTRACT

Large capacity deep learning models are often prone to a high generalization gap when trained with a limited amount of labeled training data. A recent class of methods to address this problem uses various ways to construct a new training sample by mixing a pair (or more) of training samples. We propose PatchUp, a hidden state block-level regularization technique for Convolutional Neural Networks (CNNs), that is applied on selected contiguous blocks of feature maps from a random pair of samples. Our approach improves the robustness of CNN models against the manifold intrusion problem that may occur in other state-of-the-art mixing approaches like Mixup and CutMix. Moreover, since we are mixing the contiguous block of features in the hidden space, which has more dimensions than the input space, we obtain more diverse samples for training towards different dimensions. Our experiments on CIFAR-10, CIFAR-100, and SVHN datasets with PreactResnet18, PreactResnet34, and WideResnet-28-10 models show that PatchUp improves upon, or equals, the performance of current state-of-the-art regularizers for CNNs. We also show that PatchUp can provide better generalization to affine transformations of samples and is more robust against adversarial attacks.

Motivation & Objective

  • To address the high generalization gap in deep CNNs trained on limited labeled data.
  • To mitigate the manifold intrusion problem inherent in existing data mixing methods like Mixup and CutMix.
  • To improve model robustness against affine transformations and adversarial attacks.
  • To explore the benefits of mixing in high-dimensional hidden feature spaces rather than input space.
  • To develop a regularization technique that enhances diversity and generalization through block-level feature mixing.

Proposed method

  • PatchUp selects two random training samples and randomly samples a contiguous block of feature maps from each in the hidden layer.
  • It performs element-wise averaging of the selected feature map blocks from the two samples to create a new mixed sample.
  • The mixing is applied at the feature map level, operating on high-dimensional hidden representations rather than input pixels.
  • The technique is applied during training and does not require architectural changes or additional hyperparameters beyond standard training.
  • The method preserves spatial coherence within the mixed block, avoiding the artifacts common in patch-based mixing approaches.
  • It leverages the richer representational capacity of hidden layers to generate more diverse and semantically meaningful training samples.

Experimental results

Research questions

  • RQ1Can mixing feature maps at the block level in the hidden space improve generalization in CNNs compared to input-space mixing methods?
  • RQ2How does PatchUp compare to Mixup and CutMix in terms of robustness to manifold intrusion?
  • RQ3Does mixing in high-dimensional feature space lead to better generalization under distribution shifts and affine transformations?
  • RQ4To what extent does PatchUp improve robustness against adversarial attacks compared to baseline regularizers?
  • RQ5Can PatchUp achieve state-of-the-art performance across multiple benchmark datasets without architectural modifications?

Key findings

  • PatchUp achieves performance on par with or better than state-of-the-art regularizers on CIFAR-10, CIFAR-100, and SVHN datasets.
  • The method improves generalization under affine transformations, demonstrating stronger invariance to geometric perturbations.
  • PatchUp shows increased robustness against adversarial attacks compared to standard training and baseline data augmentation methods.
  • The model trained with PatchUp generalizes better than Mixup and CutMix, particularly in scenarios with limited labeled data.
  • The use of contiguous block mixing in hidden layers reduces the manifold intrusion problem, leading to more stable and meaningful data interpolation.

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.