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 180∘ 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 T(x) that should leave the label y unchanged, forcing the model to be invariant to T and effectively expanding the dataset. Applying a non-label-preserving transform teaches the network contradictory labels.

Steps

  1. Definition and regularising effect: during training, each input x is randomly transformed (e.g., small crops, colour jitter, slight translations) while keeping label y, increasing sample diversity and penalising sensitivity to nuisance variations.
  2. Example 1 (handwritten digits / OCR): rotating a “6” by 180∘ turns it into a “9”, and horizontally flipping a “b” turns it into a “d”.
  3. 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”.
  4. 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

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 c)?
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?