Adversarial Multitask Learning for Joint Multi-Feature and Multi-Dialect Morphological Modeling

Nasser Zalmout, Nizar Habash

Introduction

Morphologically Rich Languages (MRLs), such as Arabic, present significant challenges for Natural Language Processing. A single Arabic word can encapsulate a complex array of linguistic information, including stems, prefixes, and suffixes that denote part-of-speech, gender, number, person, and various clitics. Traditional morphological taggers often encounter two primary obstacles: the sparsity problem, where predicting "mega-tags" (combinations of all features) leads to an unmanageable tag set, and the resource gap, where spoken dialects like Egyptian Arabic (EGY) lack the extensive annotated data available for Modern Standard Arabic (MSA).

This paper proposes a novel framework that addresses these issues by combining multitask learning (MTL) and adversarial training. The goal is to leverage high-resource MSA data to improve the performance of morphological tagging in low-resource EGY by learning a shared, dialect-agnostic representation.

Methodology

The core of the proposed system is a neural architecture based on a Bidirectional LSTM (Bi-LSTM). The model incorporates several key innovations:

Multitask Learning (MTL)

Instead of training independent models for each morphological feature (e.g., gender, tense, person), the authors utilize a single shared Bi-LSTM backbone. This approach allows the model to capture inter-feature dependencies; for instance, identifying a word as a "verb" significantly narrows the possible values for "tense."

Adversarial Dialect Adaptation

To facilitate effective knowledge transfer between MSA and EGY, the authors introduce an adversarial discriminator. This component attempts to identify the dialect of the input text based on internal feature representations. By employing a Gradient Reversal Layer (GRL), the model is trained to generate features that are indistinguishable between dialects, effectively creating a "universal" morphological representation.

Adversarial Multitask Bi-LSTM architecture featuring the Gradient Reversal Layer (GRL) for dialect-agnostic feature learning.

Hybrid Embeddings and Shared Layers

The input layer combines word-level embeddings, character-level LSTMs for sub-word patterns, and candidate tag embeddings from traditional analyzers. Furthermore, the authors found that shared output layers—using the same prediction "heads" for both dialects—yielded the best results, suggesting a consistent underlying morphological logic across Arabic variants.

Key Results and Discussion

The proposed models achieved state-of-the-art performance for both MSA and EGY, demonstrating up to a 10% relative error reduction over existing baselines. The most significant finding, however, lies in the model's performance under data-constrained conditions.

Accuracy comparison for Egyptian Arabic (EGY) across varying training set sizes, highlighting the impact of Adversarial (ADV) and Multitask Learning (MTL).

As shown in the learning curve experiments, the adversarial multitask approach acts as a "low-resource lifesaver." In an extreme scenario with only 2,000 EGY training tokens, the Adversarial MTL model achieved 71.1% accuracy, a massive improvement over the 29.7% achieved by a model trained solely on EGY data. This indicates that the adversarial framework allows a small dataset to perform as effectively as a dataset eight times its size used in a standard configuration.

Conclusion

This research demonstrates that joint morphological modeling and adversarial adaptation are powerful tools for MRLs. By forcing the model to learn dialect-agnostic features, the authors successfully bridged the resource gap between MSA and EGY. While the framework excels at closed-set features, future work will focus on integrating lexicalized features like lemmatization and extending these techniques to other Arabic dialects.

Summary updated

BibTeX
@inproceedings{zalmout2019adversarial,
  author = {Nasser Zalmout and Nizar Habash},
  title = {{Adversarial Multitask Learning for Joint Multi-Feature and Multi-Dialect Morphological Modeling}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1173},
}
Figure