Home Knowledge Base Cutout

Cutout is a regularization technique for image classification that randomly masks out (occludes) square patches of the input image during training — forcing the model to make predictions based on partial information rather than relying on a single discriminative region (like always looking at the cat's face), which acts as spatial dropout at the input level and consistently improves generalization by teaching the model to use all available visual features rather than overfitting to the most dominant one.

What Is Cutout?

How Cutout Works

StepProcess
1. Sample a random center point (cx, cy)Uniform over the image
2. Create a square patch of size S×STypically 16×16 or 32×32 pixels
3. Fill the patch with zeros (or mean)The "cutout" region
4. Feed to model, label stays the sameThe image is still a "cat" even with part hidden

Hyperparameters

ParameterTypical ValueEffect
Patch size16×16 for CIFAR-10, 64×64 for ImageNetLarger = harder task, more regularization
Number of patches1 (original paper)Multiple patches increase difficulty
Fill value0 (black) or dataset meanMinimal difference in practice

Cutout vs Related Techniques

TechniqueWhat Is MaskedLabel HandlingKey Difference
CutoutRandom patch → black/zeroOriginal label unchangedSimplest, pure regularization
DropoutRandom neurons (hidden layers)N/A (applied to features)Feature-level, not input-level
CutMixRandom patch → replaced with another image's patchProportional soft labelMore informative — uses the patch for another class
Random ErasingRandom rectangle, variable aspect ratioOriginal label unchangedMore flexible shape than Cutout
GridMaskRegular grid pattern of squaresOriginal label unchangedStructured occlusion

Why Cutout Works

Results

DatasetModelWithout CutoutWith CutoutImprovement
CIFAR-10ResNet-184.72% error3.99% error-0.73%
CIFAR-100ResNet-1822.46% error21.96% error-0.50%
STL-10WRN14.47% error12.74% error-1.73%

Cutout is the simplest effective spatial regularization technique for image classification — requiring only a single hyperparameter (patch size), adding negligible computational cost, and consistently improving generalization by forcing models to learn from the entire image rather than overfitting to the single most discriminative region.

cutoutmaskregularize

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.