Robust Multilingual Part-of-Speech Tagging via Adversarial Training

Michihiro Yasunaga, Jungo Kasai, Dragomir R. Radev

Abstract

Adversarial training (AT) is a powerful regularization method for neural networks, aiming to achieve robustness to input perturbations. Yet, the specific effects of the robustness obtained from AT are still unclear in the context of natural language processing. In this paper, we propose and analyze a neural POS tagging model that exploits AT. In our experiments on the Penn Treebank WSJ corpus and the Universal Dependencies (UD) dataset (27 languages), we find that AT not only improves the overall tagging accuracy, but also 1) prevents over-fitting well in low resource languages and 2) boosts tagging accuracy for rare / unseen words. We also demonstrate that 3) the improved tagging performance by AT contributes to the downstream task of dependency parsing, and that 4) AT helps the model to learn cleaner word representations. 5) The proposed AT model is generally effective in different sequence labeling tasks. These positive results motivate further use of AT for natural language tasks.

Introduction

Neural networks are notoriously "brittle," where even imperceptible perturbations to an input can cause confident, incorrect predictions. While this is a known security risk in computer vision, its implications for Natural Language Processing (NLP) center on robustness and generalization. Standard Part-of-Speech (POS) tagging models often struggle with overfitting in low-resource languages and poor performance on rare or unseen words. This paper explores how Adversarial Training (AT)—training on "worst-case" perturbations—can address these fundamental challenges in sequence labeling.

Methodology

The proposed model utilizes a standard BiLSTM-CRF architecture that incorporates both word-level and character-level embeddings to capture morphological nuances. The core innovation is the application of AT to these embeddings. Instead of adding random noise, the authors use the Fast Gradient Method to generate targeted perturbations that maximize the model's loss. These perturbations are adaptive to the input dimensions and are applied to normalized embeddings to ensure the model learns local stability without simply increasing embedding magnitudes to mask noise.

The BiLSTM-CRF architecture with adversarial perturbations (η) applied to character and word embeddings.

Experimental Results

The model was evaluated on the Penn Treebank (WSJ) for English and the Universal Dependencies (UD) v1.2 dataset for 27 other languages. The results demonstrate that AT acts as a "super-regularizer," significantly outperforming standard techniques like Dropout, especially when training data is scarce.

As shown in the table below, the AT model achieved state-of-the-art (SOTA) results on 22 out of 27 languages. On average, AT provided a 0.25% improvement across all languages, with a more pronounced 0.35% jump in low-resource settings. Beyond raw accuracy, the model showed a significant boost for rare words (appearing 1–10 times in training), suggesting that AT forces the model to rely on more robust linguistic features rather than memorization.

Comparison of POS tagging accuracy across 27 languages, showing the AT model (Adversarial) consistently outperforming the baseline and prior state-of-the-art methods.

Discussion and Conclusion

Analysis of the learned latent spaces revealed that AT leads to cleaner word representations, with words of the same POS tag clustering more tightly in the vector space. Furthermore, the improved POS tags directly benefited downstream tasks, such as dependency parsing, by providing a more stable foundation for the NLP pipeline. While AT does not fully solve the problem of completely unseen words and introduces additional computational cost during training, its ability to improve generalization across diverse languages and rare vocabulary makes it a highly effective tool for robust sequence labeling.

Summary updated

BibTeX
@inproceedings{yasunaga2018robust,
  author = {Michihiro Yasunaga and Jungo Kasai and Dragomir R. Radev},
  title = {{Robust Multilingual Part-of-Speech Tagging via Adversarial Training}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  url = {https://openreview.net/forum?id=3UymCed1kGB},
}
Figure