Robust Multilingual Part-of-Speech Tagging via Adversarial Training

Michihiro Yasunaga, Jungo Kasai, Dragomir R. Radev

Abstract

Michihiro Yasunaga, Jungo Kasai, Dragomir Radev. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers).

2018.

Introduction

Neural networks are often "brittle," where small, imperceptible changes to input—known as adversarial perturbations—can lead to incorrect predictions. While extensively studied in computer vision, the impact of adversarial training (AT) on Natural Language Processing (NLP) tasks like Part-of-Speech (POS) tagging is less explored. Researchers from Yale University demonstrate that AT, the process of training a model on "worst-case" perturbed inputs, acts as a powerful regularizer. This approach addresses two major hurdles: overfitting in low-resource languages and the "rare word" problem, where taggers struggle with infrequent vocabulary.

Methods

The researchers utilized a standard high-performing architecture: the BiLSTM-CRF. This model employs a character-level BiLSTM to capture word morphology and a word-level BiLSTM for context, followed by a Conditional Random Field (CRF) layer for sequence prediction.

The core innovation is the integration of Adversarial Training (AT):

  • Generating Perturbations: Using the Fast Gradient Method (FGM), the model calculates the "worst-case" direction—a small change to input embeddings that maximizes model loss.
  • Adaptive Scaling: An adaptive perturbation size ($\epsilon$) scales with embedding dimensions, ensuring noise is significant without destroying semantic meaning.
  • Training Objective: The model trains on a 50/50 mixture of clean and adversarial examples, forcing it to learn stable representations.
Architecture of the BiLSTM-CRF model with adversarial perturbations applied to character and word embeddings.

Datasets and Evaluation

The model was evaluated on the English Wall Street Journal (WSJ) portion of the Penn Treebank and the Universal Dependencies (UD v1.2) dataset, covering 27 languages. A specific focus was placed on low-resource languages (fewer than 60,000 training tokens), such as Irish and Estonian.

Key Results

The adversarial training approach achieved state-of-the-art (SOTA) performance on 22 out of 27 languages in the UD dataset.

Comparison of POS tagging accuracy across various languages, showing the Adversarial model outperforming the baseline and prior state-of-the-art methods.

Key findings include:

  • Low-Resource Gains: Improvements were most pronounced in low-resource scenarios, with an average accuracy boost of 0.35% compared to 0.20% for high-resource languages.
  • Rare Word Robustness: For words appearing only 1-10 times during training, accuracy rose significantly (e.g., from 94.05% to 94.88% in French).
  • Sentence-Level Accuracy: The model showed notable increases in sentence-level accuracy, a critical metric for downstream tasks like dependency parsing.

Discussion and Insights

AT acts as a form of continuous data augmentation, allowing the model to "see" a more varied embedding space. Analysis revealed that AT leads to "tighter" word clusters, where words with the same POS tag are closer together, indicating the learning of more distinct, tag-relevant features. Furthermore, the improved tags directly boosted the accuracy of downstream dependency parsers.

While highly effective, the model did not outperform certain multi-task models on some morphologically rich languages like Finnish. Future work may involve combining AT with pretrained language models or exploring its utility in more complex semantic tasks.

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