Data Augmentation · Computer Vision
FLIP, CROP, ROTATE, COLOR — data augmentation creates bigger datasets for free
A cat is still a cat when flipped, slightly rotated, or slightly brighter — teach this
G
Geometric augmentations — changing position and shape
Geometric augmentations include horizontal/vertical flips, random crops, rotations, and perspective warps, all teaching the model that an object's identity doesn't change with these spatial transformations.
Example: horizontally flipping a training image of a cat, since a cat is still recognizably a cat when mirrored, effectively doubling that image's training value.
C
Color augmentations — changing appearance
Color augmentations include adjusting brightness, contrast, saturation, and hue, teaching the model that an object's identity doesn't change under different lighting or color conditions.
Example: slightly increasing the brightness of a training image, since a cat photographed in slightly brighter lighting is still the same cat.
A
Advanced augmentations — CutOut, MixUp, CutMix, AutoAugment
More advanced techniques include CutOut (masking random patches of the image), MixUp (blending two images and their labels together), CutMix (pasting patches from one image into another), and AutoAugment (a learned, automatically-discovered augmentation policy).
Example: MixUp blending a cat image and a dog image together at a 70/30 ratio, with the corresponding label also blended 70% cat / 30% dog, teaching the model more robust decision boundaries.
R
The standard recipe — augmentation as regularization
Data augmentation is fundamentally a form of regularization — it forces the model to be invariant to irrelevant variations, rather than memorizing exact pixel patterns from limited training images. The standard ImageNet recipe combines RandomResizedCrop(224), RandomHorizontalFlip, ColorJitter, and Normalize.
Example: applying the standard ImageNet training recipe — RandomResizedCrop(224) + RandomHorizontalFlip + ColorJitter + Normalize — as a well-established default augmentation pipeline for image classification tasks.
1
A team has a relatively small training dataset of cat and dog photos, and wants to improve their model's ability to generalize without collecting more real images.
2
They apply geometric augmentations (flips, crops, rotations) and color augmentations (brightness, contrast jitter) to artificially expand their effective training set.
3
Ask: why does this help the model generalize better, rather than just adding more of the same information? Because it forces the model to learn that a cat remains a cat despite these irrelevant variations, rather than overfitting to the exact pixel patterns of the limited original images.
4
This is exactly why data augmentation is considered a form of regularization — it directly combats overfitting by forcing invariance to variations that shouldn't actually change the model's prediction.

Exams test whether you can categorize specific augmentation techniques (geometric, color, advanced) and whether you understand the core principle that augmentation functions as regularization, forcing invariance to irrelevant variations rather than memorization of exact training images.

The most common trap is treating data augmentation as simply a way to add more raw data. Its deeper purpose is regularization — specifically forcing the model to become invariant to variations (flips, rotations, brightness changes) that shouldn't affect the correct prediction, which directly combats overfitting.

1. Name two geometric augmentation techniques.
Horizontal/vertical flip, random crop, rotation, or perspective warp (any two).
Tap to reveal / hide
2. Name two color augmentation techniques.
Brightness, contrast, saturation, or hue jitter (any two).
Tap to reveal / hide
3. What does MixUp do?
Blends two images and their labels together, teaching more robust decision boundaries.
Tap to reveal / hide
4. Why is data augmentation considered a form of regularization?
Because it forces the model to be invariant to irrelevant variations, rather than memorizing exact pixel patterns from limited training data.
Tap to reveal / hide
5. What four techniques make up the standard ImageNet training augmentation recipe?
RandomResizedCrop(224), RandomHorizontalFlip, ColorJitter, and Normalize.
Tap to reveal / hide