smoothmix
**SmoothMix** is a **data augmentation technique that creates soft, gradual transitions between mixed image regions** — instead of the hard rectangular boundary of CutMix, SmoothMix applies Gaussian-smoothed masks to create more natural blending between two images.
**How Does SmoothMix Work?**
- **Binary Mask**: Generate a rectangular mask like CutMix.
- **Smooth**: Apply Gaussian blur to the binary mask, creating soft transition edges.
- **Mix**: $ ilde{x} = M odot x_A + (1-M) odot x_B$ where $M$ is the smoothed mask.
- **Labels**: Mix proportionally to the area under the smoothed mask.
**Why It Matters**
- **Smoother Boundaries**: Eliminates the hard edge artifacts of CutMix that can confuse the model.
- **Better Gradients**: Smooth masks produce smoother gradient signals during backpropagation.
- **Natural**: The blended images look more natural, providing more realistic training scenarios.
**SmoothMix** is **CutMix with soft edges** — blending images with gradual transitions instead of sharp rectangular boundaries.