A New Approach to Lexical Disambiguation of Arabic Text

Rushin Shah, Paramveer S. Dhillon, Mark Liberman, Dean P. Foster, Mohamed Maamouri, Lyle H. UngarEMNLP 2010

Abstract

We describe a model for the lexical analysis of Arabic text, using the lists of alternatives supplied by a broad-coverage morphological analyzer, SAMA, which include stable lemma IDs that correspond to combinations of broad word sense categories and POS tags. We break down each of the hundreds of thousands of possible lexical labels into its constituent elements, including lemma ID and part-of-speech. Features are computed for each lexical token based on its local and document-level context and used in a novel, simple, and highly efficient two-stage supervised machine learning algorithm that overcomes the extreme sparsity of label distribution in the training data. The resulting system achieves accuracy of 90.6% for its first choice, and 96.2% for its top two choices, in selecting among the alternatives provided by the SAMA lexical analyzer. We have successfully used this system in applications such as an online reading helper for intermediate learners of the Arabic language, and a tool for improving the productivity of Arabic Treebank annotators.

Introduction

Arabic presents a significant challenge for standard Natural Language Processing (NLP) taggers. Unlike English, where a word typically has few interpretations, a single Arabic string can have hundreds of potential analyses. This complexity stems from three primary factors: extreme inflectional morphology, the frequent use of clitics (prepositions, articles, and pronouns attached directly to words), and orthographic ambiguity caused by the omission of short vowels in standard writing.

Traditional approaches, such as Conditional Random Fields (CRFs), struggle with Arabic because the "label space"—the total number of possible tags—can reach into the tens of thousands. This leads to extreme data sparsity, where most possible tags never appear in training data, making standard models computationally infeasible. To address this, the proposed system utilizes the Standard Arabic Morphological Analyzer (SAMA) to provide candidate analyses, which the model then disambiguates.

Example of the complex, unranked output provided by the SAMA analyzer, illustrating the high degree of lexical ambiguity.

Methodology

The researchers developed a two-stage supervised learning algorithm designed to handle massive label spaces efficiently without the computational overhead of complex structured models.

Label Factorization

A core innovation is the decomposition of full morphological analyses into 16 "Label Elements" (LEs), such as the lemma, prefix, gender, number, and mood. By learning correlations between features and these individual elements rather than entire labels, the model can make intelligent predictions about tag combinations it has never encountered during training.

Two-Stage Estimation

The system employs a novel estimation technique:

  1. Stage 1 (Counting): Simple co-occurrence frequencies between features (local context and document-level topic features) and labels are calculated using a large portion of the training data. This provides a fast but noisy initial estimate.
  2. Stage 2 (Shrinkage/Correction): Using a smaller data subset, the system learns weights ($\alpha$) via Regression SVMs to "shrink" or correct the initial estimates. This stage identifies which features are truly reliable indicators for specific labels.

Results

The system was evaluated using the Penn Arabic Treebank (ATB1, ATB2, and ATB3), which contains roughly 350,000 words of labeled newswire text. Candidate analyses were generated using SAMA v3.1.

The full model, $M_{full}$, achieved an accuracy of 90.6% for its top choice and 96.2% for its top two choices. This significantly outperforms existing baselines like MADA. Analysis of error rates across different label elements shows that while basic parts of speech are relatively easy to resolve, the "lemma" and "case" remain the most challenging aspects of Arabic disambiguation.

Error rates (E1 and E2) for individual label elements and the combined full model ($M_{full}$).

Conclusion

This approach demonstrates that simultaneous lemma and morphological disambiguation is highly effective for Arabic. By factoring complex labels and employing a computationally lean two-stage estimation technique, the system achieves high accuracy while remaining orders of magnitude faster to train than traditional models. While the system is currently bounded by the coverage of the underlying morphological analyzer, it has already proven useful in practical applications like reading aids and annotation tools.

Summary updated

BibTeX
@inproceedings{shah2010new,
  author = {Rushin Shah and Paramveer S. Dhillon and Mark Liberman and Dean P. Foster and Mohamed Maamouri and Lyle H. Ungar},
  title = {{A New Approach to Lexical Disambiguation of Arabic Text}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2010},
  url = {https://openreview.net/forum?id=rJZ5xfGdZS},
}
Figure