Interpolation consistency training for semi-supervised learning

Vikas Verma, Kenji Kawaguchi, Alex Lamb, Juho Kannala, Arno Solin, Yoshua Bengio, David Lopez-Paz · DOI

Abstract

We introduce Interpolation Consistency Training (ICT), a simple and computation efficient algorithm for training Deep Neural Networks in the semi-supervised learning paradigm. ICT encourages the prediction at an interpolation of unlabeled points to be consistent with the interpolation of the predictions at those points. In classification problems, ICT moves the decision boundary to low-density regions of the data distribution. Our experiments show that ICT achieves state-of-the-art performance when applied to standard neural network architectures on the CIFAR-10 and SVHN benchmark dataset.

Introduction

In deep learning, labeled data is often a scarce and expensive resource. Semi-Supervised Learning (SSL) addresses this by leveraging a small set of labeled examples alongside a much larger pool of unlabeled data. A fundamental assumption in SSL is the low-density separation assumption: decision boundaries between classes should ideally pass through regions where data density is low.

Existing methods often use Consistency Regularization, which involves perturbing unlabeled data points and requiring the model to produce consistent predictions. However, random noise perturbations are often inefficient in high-dimensional spaces, and adversarial perturbations (like Virtual Adversarial Training) are computationally expensive. Interpolation Consistency Training (ICT) offers a simpler, more efficient alternative by utilizing the "mixup" operation on unlabeled data.

Methodology

ICT moves away from noise-based perturbations and instead uses interpolation between random pairs of unlabeled points. The core training loop involves minimizing a combined loss function consisting of a supervised loss and a consistency loss.

Overview of the ICT training loop, combining supervised Mixup with unlabeled consistency loss.

The Mixup Operation

Given two unlabeled points $u_j$ and $u_k$, ICT creates a mixed point: $u_m = \text{Mix}_\lambda(u_j, u_k)$. The consistency requirement dictates that the model's prediction on this mixed point should match the mixture of the predictions on the original points: $$f_\theta(u_m) \approx \text{Mix}_\lambda(f_{\theta'}(u_j), f_{\theta'}(u_k))$$ To ensure stable targets, ICT utilizes a Mean Teacher framework, where the target predictions are generated by a teacher model ($f_{\theta'}$) that is an exponential moving average of the student model's weights.

Low-Density Separation Intuition

By forcing the model to behave linearly between data points, ICT effectively "flattens" the model's output over large regions of the input space. This pushes non-linear decision boundaries away from data clusters and into the gaps between them, satisfying the low-density separation assumption more effectively than supervised learning alone.

Evolution of decision boundaries for ICT vs. Supervised learning on a toy dataset over 100, 500, and 1000 updates.

Experimental Results

The authors evaluated ICT on standard benchmarks, including CIFAR-10 and SVHN, using various label budgets. ICT demonstrated significant gains, particularly in scenarios with extremely scarce labeled data:

  • CIFAR-10 (4000 labels): ICT achieved a test error of 7.29%, significantly outperforming the previous state-of-the-art (SNTG) at 10.93%.
  • CIFAR-10 (1000 labels): The performance gap widened, with ICT reaching 15.48% error compared to Mean Teacher's 21.55%.
  • SVHN: ICT remained highly competitive, achieving a 3.89% error rate with only 1,000 labels.

Beyond accuracy, ICT is computationally efficient. Unlike adversarial methods that require extra gradient computations for every unlabeled point, ICT’s interpolation strategy is essentially "free" in terms of additional compute time per iteration.

Conclusion

Interpolation Consistency Training provides a unified and efficient framework for semi-supervised learning. By leveraging the synergy between supervised Mixup and unlabeled interpolation consistency, it effectively pushes decision boundaries into low-density regions. Future work may explore extending this principle to hidden mathematical representations (Manifold Mixup) to further enhance performance.

Summary updated

BibTeX
@article{verma2019interpolation,
  author = {Vikas Verma and Kenji Kawaguchi and Alex Lamb and Juho Kannala and Arno Solin and Yoshua Bengio and David Lopez-Paz},
  title = {{Interpolation consistency training for semi-supervised learning}},
  journal = {Neural Networks},
  year = {2019},
  doi = {10.1016/j.neunet.2021.10.008},
}
Figure