Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Adversarial Training Methods for Semi-Supervised Text Classification

About

Adversarial training provides a means of regularizing supervised learning algorithms while virtual adversarial training is able to extend supervised learning algorithms to the semi-supervised setting. However, both methods require making small perturbations to numerous entries of the input vector, which is inappropriate for sparse high-dimensional inputs such as one-hot word representations. We extend adversarial and virtual adversarial training to the text domain by applying perturbations to the word embeddings in a recurrent neural network rather than to the original input itself. The proposed method achieves state of the art results on multiple benchmark semi-supervised and purely supervised tasks. We provide visualizations and analysis showing that the learned word embeddings have improved in quality and that while training, the model is less prone to overfitting. Code is available at https://github.com/tensorflow/models/tree/master/research/adversarial_text.

Takeru Miyato, Andrew M. Dai, Ian Goodfellow• 2016

Related benchmarks

TaskDatasetResultRank
Sentiment AnalysisIMDB (test)
Accuracy94.1
248
Text ClassificationAG News (test)--
210
Sentiment ClassificationIMDB (test)
Error Rate5.9
144
Topic ClassificationDBPedia (test)--
64
Machine Translation (Chinese-to-English)NIST 2003 (MT-03)
BLEU44.68
52
Machine Translation (Chinese-to-English)NIST MT-05 2005
BLEU45.32
42
Machine TranslationNIST MT 06 2006 (test)
BLEU45.28
27
Machine TranslationNIST MT 04 2004 (test)
BLEU0.4599
27
Text CategorizationRCV1 (test)
Error Rate6.68
24
Text ClassificationEmojiEval (test)
Macro F1 Score32
20
Showing 10 of 21 rows

Other info

Code

Follow for update