Mixup & CutMix: Blending Data for Robustness
Mixing-based techniques like Mixup and CutMix enhance model generalization by combining multiple images and their labels to create new training examples. Mixup linearly interpolates pixel values and labels of two images, while CutMix cuts a patch from one image and pastes it onto another, proportionally adjusting labels, which helps models learn from partial views and improves feature localization.
The top 3
- Mixup's 2017 Origin: Linear Blending for Robustness: Introduced in October 2017, Mixup linearly interpolates input features and their corresponding one-hot labels to create synthetic training samples, significantly improving model generalization, reducing memorization of corrupt labels, and enhancing robustness against adversarial examples. [3, 7, 13, 16]
- CutMix's Spatial Blending Edge for Vision Tasks: Introduced in May 2019, CutMix enhances robustness by cutting a rectangular patch from one image and pasting it onto another, mixing labels proportionally to the area. This spatial blending creates more natural augmented samples than Mixup, proving highly effective for computer vision tasks like image classification and object localization. [1, 2, 8, 10, 11, 14]
- Mixup vs. CutMix: Best Use Cases: Mixup generally boosts performance across diverse data types by encouraging linear behavior, while CutMix, by preserving spatial integrity of patches, often delivers superior results for complex computer vision tasks like object detection and segmentation.
Open the full topic