What is data augmentation, why does it reduce overfitting without collecting new labelled examples, and what are two concrete examples where a standard image augmentation like horizontal flipping or rotation breaks the ground-truth label?
Deep learning, Regularisation
Level L1 Beginner. Length Short. Nature Th Theoretical.
What's being asked
Whether you understand data augmentation as encoding domain invariances and know when transformations violate label invariance.
Key idea
Data augmentation creates synthetic training examples by applying transformations that should leave the label unchanged, forcing the model to be invariant to and effectively expanding the dataset. Applying a non-label-preserving transform teaches the network contradictory labels.
Steps
- Definition and regularising effect: during training, each input is randomly transformed (e.g., small crops, colour jitter, slight translations) while keeping label , increasing sample diversity and penalising sensitivity to nuisance variations.
- Example 1 (handwritten digits / OCR): rotating a “6” by turns it into a “9”, and horizontally flipping a “b” turns it into a “d”.
- Example 2 (directional labels): horizontally flipping a road sign pointing “Turn Left” or an image labelled “hand raising left arm” turns it into “Turn Right” or “right arm”.
- Takeaway: always choose augmentations matched to the task’s true invariances, and never apply random training augmentations at test time (unless doing deliberate test-time augmentation).
Common mistakes
- Applying horizontal flips blindly to every vision task without checking chiral or directional labels.
- Using data augmentation on the validation or test split when measuring standard evaluation loss.
How long your answer should be
4–5 sentences with two concrete counterexamples.
Last checked on 4 December 2026.
Read this
Previous in Deep learning: What goes wrong if you initialise every weight in a multi-layer perceptron to zero (or to the same non-zero constant )?
Next in Deep learning: You plot training and validation loss against epochs. What do the curves look like for (a) underfitting, (b) overfitting and (c) a learning rate that is too high, and what would you do in each case?