Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learning
Takeru MiyatoShin-ichi MaedaMasanori KoyamaShin Ishii
Introduces Virtual Adversarial Training, a computationally efficient regularization technique that enforces prediction smoothness against label-free perturbations, successfully extending adversarial training to unlabeled data to improve semi-supervised classification performance.
This paper introduces virtual adversarial training (VAT), a regularization technique designed to improve the generalization of neural networks in both supervised and semi-supervised settings. In practice, models often overfit finite training samples because their output distributions remain sensitive to small input perturbations in specific directions. Standard approaches such as random noise injection or adversarial training mitigate this issue only partially: the former applies isotropic smoothing that leaves models vulnerable to targeted perturbations, while the latter requires labeled data and therefore cannot be used when most examples are unlabeled.
The work sets out to define and evaluate a label-free regularization term that forces the conditional label distribution to be locally smooth around every input point, labeled or not. The method identifies the single direction of greatest sensitivity—the virtual adversarial direction—by maximizing distributional divergence from the model’s current prediction at that point, then penalizes sensitivity along that direction. An efficient approximation based on one power iteration of the Hessian allows the penalty to be computed with only two additional forward-backward passes per example, keeping the added cost modest. Experiments were performed on the standard MNIST, SVHN, and CIFAR-10 benchmarks using both fully connected networks and convolutional architectures, with repeated runs under varied random seeds to report means and standard deviations.
VAT consistently reduced test error relative to random-perturbation baselines and to contemporary regularization methods. On supervised MNIST it reached 0.64 percent error, outperforming dropout and both L2- and L∞-constrained adversarial training. In the semi-supervised regime with only 1,000 labeled MNIST examples it achieved 1.36 percent error; on SVHN and CIFAR-10 with 1,000 and 4,000 labels respectively, the combination of VAT and conditional-entropy minimization produced state-of-the-art results (4.28 percent and 13.15 percent) without data augmentation. Adding moderate translation and flip augmentation further lowered these figures to 3.86 percent and 10.55 percent. A single power iteration proved sufficient in all reported settings, and the method required tuning of only one scalar hyper-parameter—the perturbation radius—while the regularization coefficient could be held at unity.
These gains arise because VAT directly regularizes the output distribution rather than the parameters, rendering the procedure invariant to reparameterization and allowing it to operate on unlabeled data. The resulting models also exhibit markedly lower error rates on virtual adversarial examples that remain visually indistinguishable from clean inputs. Limitations include restriction to image-classification benchmarks, dependence on appropriate choice of the perturbation radius, and the absence of direct comparisons against the strongest contemporary generative-model approaches on every task. Further work is warranted to combine VAT with generative semi-supervised methods, to test larger-scale architectures and non-image domains, and to develop adaptive schemes for selecting the perturbation radius without a held-out validation set.
- Paper: Explaining and Harnessing Adversarial Examples, Ian J. Goodfellow et al. (2015). Reading this foundational work on adversarial examples provides the baseline threat model and linear explanation of vulnerability that virtual adversarial training builds upon.
- Paper: Theoretically Principled Trade-off between Robustness and Accuracy, Hongyang Zhang et al. (2019). This subsequent work extends the study of adversarial robustness by analyzing the theoretical trade-off between natural accuracy and robust error.
