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

Tangent-Normal Adversarial Regularization for Semi-supervised Learning

Bing Yu, Jingfeng Wu, Zhanxing Zhu · DOI

Abstract

Compared with standard supervised learning, the key difficulty in semi-supervised learning is how to make full use of the unlabeled data. A recently proposed method, virtual adversarial training (VAT), smartly performs adversarial training without label information to impose a local smoothness on the classifier, which is especially beneficial to semi-supervised learning. In this work, we propose tangent-normal adversarial regularization (TNAR) as an extension of VAT by taking the data manifold into consideration. The proposed TNAR is composed by two complementary parts, the tangent adversarial regularization (TAR) and the normal adversarial regularization (NAR). In TAR, VAT is applied along the tangent space of the data manifold, aiming to enforce local invariance of the classifier on the manifold, while in NAR, VAT is performed on the normal space orthogonal to the tangent space, intending to impose robustness on the classifier against the noise causing the observed data deviating from the underlying data manifold. Demonstrated by experiments on both artificial and practical datasets, our proposed TAR and NAR complement with each other, and jointly outperforms other state-of-the-art methods for semi-supervised learning.

Introduction

In semi-supervised learning (SSL), the primary challenge lies in effectively leveraging large volumes of unlabeled data alongside limited labeled samples. Virtual Adversarial Training (VAT) has emerged as a powerful technique, promoting local smoothness by ensuring that small perturbations to an input do not drastically alter the model's predictions. However, standard VAT treats all perturbation directions uniformly, ignoring the underlying geometric structure of the data.

Real-world data, such as images, typically resides on a low-dimensional manifold embedded within a high-dimensional space. Perturbations along this manifold (tangent directions) often correspond to semantic variations, while perturbations off the manifold (normal directions) typically represent noise. By failing to distinguish between these directions, VAT may over-regularize or fail to capture essential data geometry.

Methodology

The proposed Tangent-Normal Adversarial Regularization (TNAR) addresses this by decomposing adversarial perturbations into two components based on the estimated data manifold $\mathcal{M}$.

Decomposition of perturbations into tangent ($r_{\parallel}$) and normal ($r_{\perp}$) components relative to the manifold $\mathcal{M}$.
  1. Tangent Adversarial Regularization (TAR): VAT is restricted to the tangent space of the manifold. This enforces the SSL assumption that nearby points on the manifold should share similar labels, promoting invariance to semantic-preserving transformations.
  2. Normal Adversarial Regularization (NAR): VAT is applied in the normal space, orthogonal to the tangent space. This enhances model robustness against noise that deviates from the ideal manifold.

To implement TNAR, generative models like Variational Autoencoders (VAE) or Localized GANs are employed to estimate the manifold structure. Efficient computation is achieved through power iteration and Taylor expansions, making the method scalable to deep neural networks.

Experiments and Results

TNAR was evaluated on several benchmarks, including a synthetic two-rings dataset, FashionMNIST, SVHN, and CIFAR-10.

Synthetic Two-Rings Dataset

On the two-rings dataset, TNAR demonstrated a clear advantage in capturing the underlying geometry. While VAT struggled with a 23.8% error rate due to its lack of manifold awareness, TNAR with an accurate manifold estimate achieved 0% error.

Comparison of decision boundaries on the two-rings dataset. TNAR methods better capture the manifold structure compared to VAT.

Image Classification Benchmarks

TNAR consistently outperformed VAT and other manifold-based methods on real-world datasets:

  • CIFAR-10 (4,000 labels): TNAR-VAE achieved an error rate of 12.06% (without data augmentation), compared to VAT's 13.15%. With augmentation, the error dropped to 8.85%.
  • SVHN (1,000 labels): TNAR-VAE reached a 3.80% error rate, surpassing VAT's 4.28%.

The results confirm that TAR and NAR are complementary; their combination yields superior performance compared to using either component in isolation.

Conclusion

TNAR advances semi-supervised learning by integrating manifold geometry into adversarial regularization. By distinguishing between tangent and normal perturbations, it achieves better generalization and robustness. Future work includes investigating the impact of different generative architectures on manifold estimation and conducting deeper theoretical analyses of manifold smoothness conditions.

Summary updated

BibTeX
@inproceedings{yu2018tangent,
  author = {Bing Yu and Jingfeng Wu and Zhanxing Zhu},
  title = {{Tangent-Normal Adversarial Regularization for Semi-supervised Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2019.01093},
}
Figure