Papers
Topics
Authors
Recent
Search
2000 character limit reached

Cutout Regularization Technique in CNNs

Updated 7 June 2026
  • Cutout is a data augmentation technique that randomly masks contiguous square regions in input images to promote robustness and reduce overfitting.
  • It operates at the input level without altering the CNN architecture, and is easily integrated with other augmentation and regularization methods.
  • Empirical evaluations show that Cutout improves generalization accuracy and aids in learning rare, label-dependent features in standard vision benchmarks.

Cutout is a data augmentation and regularization technique for convolutional neural networks (CNNs) that operates by randomly masking out a contiguous square region of the input image during training. Its primary effect is to encourage robustness to occlusion and reduce spatially localized overfitting by preventing the model from relying on any particular region of the input space. Cutout is implemented entirely at the input level, does not require architectural changes, and can be naturally combined with other augmentation strategies and regularization methods. Empirically, it achieves improved generalization performance and has been substantiated both in controlled theoretical setups and large-scale empirical benchmarks (DeVries et al., 2017, Oh et al., 2024, Vu et al., 2020, Choi et al., 2024).

1. Formal Algorithm and Mathematical Description

The standard Cutout routine operates on a mini-batch of images {x1,,xn}\{x_1, \ldots, x_n\}, each with shape (C,H,W)(C, H, W). For each image in the batch, a single square mask of side length \ell is placed at a random location, and the pixels inside the patch are zeroed. This yields the following pseudocode:

M{0,1}H×WM\in\{0,1\}^{H\times W}0

Mathematically, for input xRC×H×Wx\in\mathbb{R}^{C\times H\times W}, the mask M{0,1}H×WM\in\{0,1\}^{H\times W} with a single square hole is defined as: Mij={0,if ii0/2 and jj0/2 1,otherwiseM_{ij} = \begin{cases} 0,& \text{if } |i - i_0| \le \lfloor \ell / 2 \rfloor \text{ and } |j - j_0| \le \lfloor \ell / 2 \rfloor \ 1,& \text{otherwise} \end{cases} where (i0,j0)(i_0, j_0) is the center sampled uniformly from all spatial positions. The augmented input is x=xMx' = x \odot M, with mask broadcast over channels (DeVries et al., 2017, Vu et al., 2020, Choi et al., 2024).

2. Hyperparameter Selection and Patch Sampling

The selection of \ell (patch size) and pp (probability of cutout application) is critical:

  • Patch center (C,H,W)(C, H, W)0: Uniformly sampled over all (C,H,W)(C, H, W)1 positions. Allow the region to clip at the borders, permitting partially unmasked images.
  • Side length (C,H,W)(C, H, W)2: Fixed per dataset, determined by grid search for maximal validation performance. Exemplary values:
    • CIFAR-10: (C,H,W)(C, H, W)3 (on (C,H,W)(C, H, W)4)
    • CIFAR-100: (C,H,W)(C, H, W)5 (on (C,H,W)(C, H, W)6)
    • SVHN: (C,H,W)(C, H, W)7 (on (C,H,W)(C, H, W)8)
  • Probability (C,H,W)(C, H, W)9: Conventionally \ell0 (apply to every image); \ell1 can be used to maintain a fraction of clean samples.
  • Tuning: Oversized masks (\ell2 or \ell3) degrade learning, while undersized masks provide no regularization. Performance exhibits a single-peaked dependency on \ell4 (DeVries et al., 2017, Vu et al., 2020).

3. Theoretical Insights and Learning Dynamics

Theoretically, cutout regularizes feature learning at the input level by simulating occlusion. A recent analysis in a two-layer, two-neuron convolutional setup demonstrates that Cutout enables the learning of features that occur with intermediate frequency (rare features), which are not captured by standard empirical risk minimization (ERM) due to noise-memorization at the patch level. The main result is:

  • Augmentation-averaged loss:

\ell5

where \ell6 is a random subset of patches to mask, and \ell7 is corresponding masked input.

  • Feature recovery: Cutout forces reliance on label-dependent rare features by randomly masking out dominant (noisy or confounding) patches in some augmented views. Under high-dimensional regimes, this mechanism increases the coefficients corresponding to rare features in the learned weights, while extremely rare features remain unlearned due to insufficient gradient signal.
  • Learning phases: In conventional ERM, the model first latches onto common features, then shifts to memorizing noise for rare instances, stalling rare-feature representation. Cutout “breaks” this by decoupling noise from the label in a subset of augmented samples, enabling optimization on rarer features (Oh et al., 2024).

This suggests that Cutout shifts the feature learning regime towards greater robustness and diversity, especially under label imbalance or hierarchical feature salience.

4. Empirical Results and Resource Efficiency

Cutout has been extensively validated on standard vision benchmarks. The original study achieved state-of-the-art test errors:

  • CIFAR-10 (Shake-Shake net, standard augmentation): \ell8 (vs. \ell9 baseline)
  • CIFAR-100: xRC×H×Wx\in\mathbb{R}^{C\times H\times W}0 (vs. xRC×H×Wx\in\mathbb{R}^{C\times H\times W}1 baseline)
  • SVHN: xRC×H×Wx\in\mathbb{R}^{C\times H\times W}2 (vs. xRC×H×Wx\in\mathbb{R}^{C\times H\times W}3 baseline)

Further experiments on ResNet variants revealed accuracy improvements up to xRC×H×Wx\in\mathbb{R}^{C\times H\times W}4 percentage points in top-1 error, with no increase in FLOPs, as cutout affects only the training data (DeVries et al., 2017, Vu et al., 2020). When combined with soft filter pruning, cutout facilitates simultaneous reductions in test error and inference cost, surpassing the capabilities of either regularization or pruning in isolation.

Model Baseline Acc (%) +Cutout Acc (%) +Cutout+Prune Acc (%) FLOPs Reduction
ResNet-20 91.63 93.00 92.87 15%
ResNet-56 92.49 93.01 94.52 15%
ResNet-110 92.58 92.76 94.57 15%

This demonstrates that cutout not only improves robustness and accuracy but also serves as an effective companion to pruning strategies for resource-constrained inference scenarios (Vu et al., 2020).

5. Variants and Extensions: Colorful Cutout and Curriculum Schedules

Extensions to the basic cutout paradigm have been developed to introduce additional diversity or control over augmentation difficulty. Notably, "Colorful Cutout" generalizes the masked region to carry random colors instead of zeros. In conjunction with curriculum learning, the number and complexity of colored regions are increased across epochs. For an epoch xRC×H×Wx\in\mathbb{R}^{C\times H\times W}5, the number of sub-regions xRC×H×Wx\in\mathbb{R}^{C\times H\times W}6; each sub-region is filled with an independent random color xRC×H×Wx\in\mathbb{R}^{C\times H\times W}7. The curriculum variant schedules augmentation difficulty using an increasing function of training progress, and has shown incremental gains in test accuracy over vanilla cutout (Choi et al., 2024).

This suggests a growing research direction merging input-level occlusion, color perturbation, and structured curriculum into unified regularization schemes.

6. Relationship to Other Regularization Strategies

Cutout differs from but complements several other prominent approaches:

  • Dropout: Zeros individual hidden unit activations; less effective in convolutional layers due to spatial correlation. Cutout applies spatially contiguous masking at the input (DeVries et al., 2017).
  • Random Erasing: Erases possibly multiple, randomly-shaped regions with random values or colors. Cutout is strictly a single, square, zero-valued hole (DeVries et al., 2017).
  • Mixup: Forms convex combinations of pairs of images and labels, encouraging linearity in class transitions. Cutout enforces robustness only to partial missing information; both can be used in tandem (DeVries et al., 2017, Choi et al., 2024).
  • Pruning: Model compression strategy, structurally removes weights or filters. Cutout can be stacked with pruning for joint accuracy and efficiency gains (Vu et al., 2020).
  • Self-supervised methods (Context Encoders, Denoising Autoencoders): Require reconstruction losses; cutout requires only standard supervised learning objectives.

7. Implementation Practices, Pitfalls, and Recommendations

Optimal use of cutout depends on rigorous handling of data normalization, mask size, and augmentation composition:

  • Always normalize images to zero mean/unit variance before application; otherwise, zero-masks may skew batch statistics.
  • Integrate cutout at the data loader level (e.g., torchvision transforms) to avoid GPU overhead.
  • Use a single square mask with recommended patch size (xRC×H×Wx\in\mathbb{R}^{C\times H\times W}8 near xRC×H×Wx\in\mathbb{R}^{C\times H\times W}9 image-side) for most tasks. Overlarge masks impede training; undersized masks have minimal effect (DeVries et al., 2017, Vu et al., 2020).
  • Combine with other augmentations and regularizers; cutout is orthogonal to flip, crop, mixup, and weight decay routines.
  • Monitor convergence and batch-normalization dynamics; improper normalization or aggressive masking can hinder optimization (DeVries et al., 2017, Vu et al., 2020, Choi et al., 2024).

Practical guidelines indicate that cutout is a robust, general-purpose regularizer compatible with a wide range of CNN architectures and training regimens. Its simplicity, zero inference overhead, and empirical efficacy under diverse conditions have led to its widespread adoption in the computer vision community.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Cutout Regularization Technique.