Home Knowledge Base Patch Dropout

Patch Dropout is the regularization technique that randomly removes a subset of image patches during training so Vision Transformers cannot rely on a fixed grid of tokens — similar to dropping units in fully connected layers, this method encourages redundancy and robustness by forcing the model to perform inference with missing regions.

What Is Patch Dropout?

Why Patch Dropout Matters

Dropout Patterns

Uniform Patch Drop:

Block Drop:

Head-Wise Drop:

How It Works / Technical Details

Step 1: Generate a binary mask for the patch grid using Bernoulli sampling; optionally apply dropout before positional encodings to keep alignment.

Step 2: Multiply the mask with patch embeddings and pass the reduced set through the transformer, treating missing tokens as zeros; gradient flows only through surviving patches.

Comparison / Alternatives

AspectPatch DropoutToken PruningData Augmentation
PurposeRegularizationEfficiencyRobustness
Tokens ProcessedReduced per batchReduced permanentlyFull grid
StochasticityYesOptional
ComplementarityHighModerate

Tools & Platforms

Patch dropout is the resilience trick that teaches transformers to thrive even when parts of the scene disappear — by training with random holes, the network learns to rely on the narrative of the image rather than single pixels.

patch dropoutcomputer vision

Explore 500+ Semiconductor & AI Topics

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