Abstract
MixUp is an effective data augmentation method that regularizes deep neural networks via random linear interpolations between pairs of samples and their labels. While successful, the random nature of mixing can lead to "manifold intrusion," where corrupted samples degrade performance. We propose MetaMixUp, a meta-learning based online optimization approach to dynamically learn the interpolation policy in a data-adaptive way. By using validation set performance to refine the mixing policy, MetaMixUp avoids underfitting and improves generalization. Our experiments demonstrate that MetaMixUp outperforms vanilla MixUp and its variants in both supervised and semi-supervised learning (SSL) configurations.
Introduction: The Manifold Intrusion Problem
MixUp creates virtual training samples by linearly interpolating pairs of images and labels: $x = \lambda x_i + (1-\lambda)x_j$. Typically, the interpolation weight $\lambda$ is sampled from a predefined Beta distribution. However, this random sampling can cause manifold intrusion: a poorly chosen $\lambda$ might produce a virtual sample that overlaps with the feature space of a different class but carries a confusing, mixed label. This noise can lead to underfitting as the network attempts to memorize contradictory signals.
The MetaMixUp Framework
To address this, MetaMixUp treats the interpolation policy as a learnable hyperparameter optimized via meta-learning. Instead of relying on a fixed distribution, the model learns an interpolation policy $\lambda$ that minimizes expected loss on a held-out validation set.
The process involves a bilevel optimization:
- Inner Loop: The model (Train-State) is updated using mixed data generated by the current policy.
- Outer Loop: The interpolation policy $\lambda$ is updated by calculating the gradient of the validation loss (Meta-Loss) with respect to $\lambda$.
To maintain efficiency, the authors employ an online approximation, performing a single gradient descent step on the validation set to update $\lambda$ before each main training step. This "validation as a teacher" approach ensures that the generated samples are beneficial for generalization.
Experimental Evaluation
The authors evaluated MetaMixUp across standard benchmarks including MNIST, CIFAR-10/100, SVHN, and ImageNet.
Supervised Learning Results
MetaMixUp consistently outperformed vanilla MixUp and state-of-the-art variants like AdaMixUp across various architectures such as PreAct-ResNet and Wide-ResNet.
As shown in the table above, MetaMixUp achieves significant error reduction. For instance, on CIFAR-100 with PreActResNet18, MetaMixUp reached an error rate of 20.36%, compared to 21.35% for vanilla MixUp. On ImageNet, the improvement was even more pronounced, with MetaMixUp achieving a 47.35% top-1 error versus 55.06% for vanilla MixUp.
Semi-Supervised Learning (SSL)
For SSL, the authors introduced Asynchronous Pseudo Labeling (APL), which uses a time-varying confidence threshold to ensure high-quality mixing of unlabeled samples. MetaMixUp + APL achieved an error rate of 11.50% on CIFAR-10 (4k labels), significantly better than the 15.04% achieved by standard MixUp + Pseudo-Labeling. When combined with the MixMatch framework, it further improved results to 6.21% error.
Conclusion
MetaMixUp provides a robust, data-adaptive solution to the limitations of random data augmentation. By leveraging meta-learning to optimize the interpolation policy, it effectively mitigates manifold intrusion and enhances model performance across a variety of tasks and datasets. While it introduces some computational overhead, the gains in accuracy and robustness make it a compelling choice for modern deep learning pipelines.
Summary updated