NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Region Mixup

Saptarshi Saha, Utpal Garain

TL;DR

Region Mixup is a simple yet effective evolution of the popular "mixup" data augmentation technique. Instead of blending two entire images together, it divides images into a grid and performs soft interpolation at the level of individual tiles, leading to better generalization and higher accuracy on standard visual recognition benchmarks.

What Problem Does This Paper Address?

Deep neural networks are notorious for overfitting to their training data. To combat this, researchers use data augmentation—techniques that create "new" training examples from existing ones.

One of the most successful methods is Mixup, which creates a new image by taking a weighted average of two random training images (e.g., 70% of a cat and 30% of a dog). While effective, vanilla Mixup blends the entire image, which can sometimes result in suboptimal regularization because the model only learns to interpolate in a single direction between two data points.

Another popular method, CutMix, addresses this by cutting a rectangular patch from one image and pasting it onto another. However, CutMix is a "hard" operation—it doesn't interpolate the pixel values; it just replaces them. The authors of "Region Mixup" sought to bridge this gap by creating a method that performs soft interpolation at a local, regional level.

Methods

The core idea of Region Mixup is to move from global blending to local blending. Here is how the algorithm works:

  1. Grid Division: Every image is divided into a $k \times k$ grid of non-overlapping tiles (for example, a $2 \times 2$ grid creates 4 regions).
  2. Multi-Image Sampling: For a base image $x_A$, the algorithm selects $k^2$ other random images from the mini-batch (one for each tile).
  3. Regional Interpolation: For each tile $j$, a mixing weight $\lambda_j$ is sampled from a Beta distribution. The tile in the new image is a blend of the corresponding tile from the base image and the tile from the randomly selected "partner" image for that specific region.
Example of an image divided into a 2x2 grid, highlighting region M1 and its specific mixing weight.
Another example showing region M3 with a different mixing weight.
  1. Label Blending: The label for this new composite image is the weighted average of the labels of all images involved in the mix.
  2. Loss Function: The model is trained using a combined cross-entropy loss that looks at both the original, un-augmented image and the new Region Mixup version.

If you set $k=1$, the method mathematically collapses back into standard vanilla Mixup, making this a true generalization of the original technique.

Datasets

The authors evaluated their method using the PreAct ResNet-18 architecture across three widely-used computer vision benchmarks:

  • CIFAR-10: 60,000 small images across 10 classes.
  • CIFAR-100: Similar to CIFAR-10 but with 100 more specific classes.
  • Tiny ImageNet: A subset of the massive ImageNet dataset, containing 200 classes at a higher resolution (64x64) than CIFAR.

Key Insights and Ideas

  • Granularity is Key: By interpolating at the region level, the model is forced to learn more robust features. It can't just rely on global statistics; it has to make sense of conflicting or blended information in different parts of its "field of view."
  • Increased Complexity, Minimal Overhead: While Region Mixup can technically involve many more images in a single training sample than vanilla Mixup (up to $k^2 + 1$ images), the authors note that it adds "minimal to no computational overhead" and requires only a few extra lines of code.
  • Bridging the Gap: The method successfully combines the spatial awareness of CutMix (focusing on specific regions) with the smoothing effect of Mixup (softly interpolating values), providing a "best of both worlds" approach to regularization.

Key Results

The researchers compared Region Mixup ($k=2$) against CutMix and Vanilla Mixup. The results showed consistent improvements:

  • CIFAR-10: Region Mixup achieved 96.19% accuracy, outperforming both Vanilla Mixup (95.89%) and CutMix (95.82%).
  • Tiny ImageNet: Region Mixup reached 66.16% accuracy, a significant jump over Vanilla Mixup (65.45%) and CutMix (65.76%).
  • CIFAR-100: Region Mixup (78.75%) beat Vanilla Mixup (78.1%) but slightly trailed CutMix (79.03%).

These results suggest that for many tasks, the regional blending approach provides a superior regularization signal that helps the model generalize better to unseen test data.

Limitations and Future Work

As a "Tiny Paper," the scope of the study is naturally focused. Some areas for future exploration include:

  • Stochastic Region Selection: The current work uses a rigid $k \times k$ grid. The authors suggest that introducing more randomness into how regions are selected or shaped could be an "intriguing avenue."
  • Hyperparameter Sensitivity: The paper primarily focuses on $k=2$. It remains to be seen how performance scales with larger $k$ values or different $\alpha$ parameters for the Beta distribution on larger, more complex datasets like ImageNet-1k.
  • Task Variety: The evaluation is limited to image classification. Future work could test if Region Mixup provides similar benefits for object detection or semantic segmentation.

Summary updated

BibTeX
@inproceedings{saha2024region,
  author = {Saptarshi Saha and Utpal Garain},
  title = {{Region Mixup}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=2qPBw8OuU7},
}
Figure