How does Mixup work?
mediumAnswer
- Sample two examples , and a mixing coefficient λ ~ Beta(α, α) with α ~ 0.2.
- Train on the interpolation: , .
- Forces linearity between examples — smoother decision boundaries, better calibration, robustness to adversarial noise.
- Widely used in vision.
- Doesn't work as well on text without variants.
Check yourself — multiple choice
- Mixup concatenates two images
- Linearly interpolate inputs and labels with λ ~ Beta — smoother decision boundaries and better calibration
- Only augments images, not labels
- Same as CutMix
Mixup: linearly blend both inputs and labels → smoother, better-calibrated decisions.
#augmentation#mixup#regularization
Practise Deep Learning
214 interview questions in this topic.