Papers › Virtual Adversarial Training: A Regularization Method for Supervised and...

Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learning

13 Apr 2017arXiv:1704.03976archive 2025-07-28

Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, Shin Ishii

We propose a new regularization method based on virtual adversarial loss: a new measure of local smoothness of the conditional label distribution given input. Virtual adversarial loss is defined as the robustness of the conditional label distribution around each input data point against local perturbation. Unlike adversarial training, our method defines the adversarial direction without label information and is hence applicable to semi-supervised learning. Because the directions in which we smooth the model are only "virtually" adversarial, we call our method virtual adversarial training (VAT). The computational cost of VAT is relatively low. For neural networks, the approximated gradient of virtual adversarial loss can be computed with no more than two pairs of forward- and back-propagations. In our experiments, we applied VAT to supervised and semi-supervised learning tasks on multiple benchmark datasets. With a simple enhancement of the algorithm based on the entropy minimization principle, our VAT achieves state-of-the-art performance for semi-supervised learning tasks on SVHN and CIFAR-10.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1704.03976")

Code

Syntology Ran 11 of 13 code samples harvested from 6 repositories linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · violated contract; 5 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: community (archive-listed): 13 samples from 6 repositories, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

14 repositories listed; official and paper-mentioned ones first.

takerum/vat_chainer officialmentioned in papermentioned on GitHub report
takerum/vat_tf officialmentioned in papermentioned on GitHubtf report
9310gaurav/virtual-adversarial-training mentioned on GitHubpytorch report
JohnYKiyo/VAT mentioned on GitHubpytorch report
LYWH/oppo_face_vat mentioned on GitHubpytorch report
TOA-ZR/VATcode mentioned on GitHubtf report
cherise215/maxstyle mentioned on GitHubpytorch report
deepaks2112/vat_lds mentioned on GitHubtf report
likelion-hyeonjun/VAT_PYTORCH mentioned on GitHubpytorch report
lyakaap/VAT-pytorch mentioned on GitHubpytorch report
maxwell0027/pefat mentioned on GitHubpytorch report
rtavenar/keras_vat mentioned on GitHub report
reeered/VAT mindspore report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 11 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · violated contract
5ran · our draft was wrong
1ran · fixture could not drive it
3ran
2unverified

Licence: 11 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 6 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

VATLoss JohnYKiyo/VAT/vat.py community (archive-listed) ran no licence file found · pointer only · 8bf9288f27b1cdee · report
VATLoss likelion-hyeonjun/VAT_PYTORCH/vat.py community (archive-listed) ran no licence file found · pointer only · beee0131e9cc6d75 · report
VATLoss LYWH/oppo_face_vat/vat.py community (archive-listed) ran no licence file found · pointer only · 03e3536d888d36f6 · report
_disable_tracking_bn_stats likelion-hyeonjun/VAT_PYTORCH/vat.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 195da81a35fac4c0 · report
_kl_div JohnYKiyo/VAT/vat.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · 8783f770c09f42c0 · report
_l2_normalize JohnYKiyo/VAT/vat.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · e9ad1c524415f51a · report
_l2_normalize likelion-hyeonjun/VAT_PYTORCH/vat.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · a3bc3a948b4efb17 · report
_l2_normalize 9310gaurav/virtual-adversarial-training/utils.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 086369d12e1ad6a7 · report
kl_div_with_logit 9310gaurav/virtual-adversarial-training/utils.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 38eb87363cf326f2 · report
kl_divergence cherise215/maxstyle/src/models/custom_loss.py community (archive-listed) ran · fixture could not drive it fingerprinted licence not identified · pointer only · 6a0687b01242a053 · report
vat_loss 9310gaurav/virtual-adversarial-training/utils.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 5681c48489d856d1 · report
_virtual_adv_regularizer tensorflow/neural-structured-learning/neural_structured_learning/lib/regularizer.py community (archive-listed) unverified Apache-2.0 (permissive) · 0b20deecf73f5d12 · report
virtual_adv_regularizer tensorflow/neural-structured-learning/neural_structured_learning/lib/regularizer.py community (archive-listed) unverified Apache-2.0 (permissive) · cc264bc10208617d · report

Tasks

Semi-Supervised Image Classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Semi-Supervised Image Classification CIFAR-10, 250 Labels VAT Percentage error 36.03 #24 of 27 Archive leaderboard report
Semi-Supervised Image Classification CIFAR-10, 4000 Labels VAT+EntMin Percentage error 10.55 #41 of 49 Archive leaderboard report
Semi-Supervised Image Classification CIFAR-10, 4000 Labels VAT Percentage error 11.36 #43 of 49 Archive leaderboard report
Semi-Supervised Image Classification SVHN, 1000 labels VAT Accuracy 94.58 #15 of 17 Archive leaderboard report
Semi-Supervised Image Classification SVHN, 250 Labels VAT Accuracy 91.59 #13 of 15 Archive leaderboard report
Semi-Supervised Image Classification cifar10, 250 Labels VAT Percentage correct 63.97 #4 of 4 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections