Proceedings of the Second Workshop on Subword/Character LEvel Models

Pamela Shapiro, Kevin Duh, Philipp Koehn, Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico, Nicola Bertoldi, Brooke Cowan, Ahmed El-Kishky, Frank F. Xu, Aston Zhang, Stephen Macke, Jiawei Han, Wafia Adouane, Simon Dobnik, Jean-Philippe Bernardy, Nasredine Semmar, Bofang Li, Aleksandr Drozd, Tao Liu, Xiaoyong Du, Nelson F. Liu, Gina‐Anne Levow, Noah A. Smith, Paul Allen, Tamali Banerjee, Pushpak Bhattacharya, Alexandre Salle, Aline Villavicencio, Miguel Ballesteros, Chris Dyer, Yonatan Belinkov, Nadir Durrani, Fahim Dalvi, Hassan Sajjad, James Glass, Piotr Bojanowski, Edouard Grave, Armand Joulin, Tomas Mikolov, Jan Botha, Phil Blunsom, Mauro Cettolo, Christian Girardi, Jonathan Clark, Alon Lavie, Marta Costa-Juss, A Jos, Fonollosa, Richard Johansson, Victoria Bobicev, Hctor Martnez, Alonso, Barbara Plank, Rie Kubota, Ando, Tong Zhang, Utsab Barman, Amitava Das, Joachim Wagner, Jennifer Foster, Heba Elfardy, Mohamed Al-Badrashiny, Mona Diab, Jeffrey Elman, Sepp Hochreiter, Juergen Schmidhuber, Tom Kocmi, Ondej Bojar, Kamal Nigam, Andrew Mccallum, Sebastian Thrun, Tom Mitchell, Jialin Sinno, Qiang Pan, Yang, David Pierce, Claire Cardie, Shana Poplack, Marjory Meechan, Younes Samih, Suraj Maharjan, Mohammed Attia, Laura Kallmeyer, Thamar SolorioOpenalex Unknown 2018 · OpenAlex

Pamela Shapiro and Kevin Duh
Proceedings of the Second Workshop on Subword/Character LEvel Models (SCLeM) at NAACL-HLT 2018

Abstract

Neural machine translation (NMT) has achieved impressive results in recent years, but its success is often contingent on the availability of large-scale parallel corpora. In low-resource settings, NMT performance degrades significantly. One strategy to mitigate this is initializing models with pretrained word embeddings. However, in morphologically rich languages like Arabic, rare word forms suffer from poor embedding quality when trained with standard word-level objectives. This paper introduces word embeddings that incorporate explicit morphological resources and compares them to purely unsupervised alternatives. Using Arabic-to-English translation on a small corpus of TED subtitles, the study finds that embeddings utilizing subword and morphological information consistently outperform standard word embeddings in both word similarity tasks and as initialization for NMT systems.

Introduction

Neural Machine Translation (NMT) is currently the state-of-the-art approach for automated translation. However, NMT models are notoriously data-hungry, requiring millions of parallel sentences to generalize effectively. When data is scarce—a "low-resource" scenario—models struggle to learn accurate representations for infrequent words.

This problem is exacerbated in morphologically rich languages (MRLs) such as Arabic. In Arabic, a single root can generate dozens of surface forms through complex prefixes, suffixes, and internal changes (templatic morphology). Standard models like word2vec treat each unique surface string as an independent entity. Consequently, rare morphological variants of common words suffer from "data sparsity," resulting in low-quality embeddings that hinder the model's ability to translate effectively. This research explores whether injecting morphological knowledge directly into the embedding process can bridge this gap.

Methodology

The researchers compared three distinct approaches to generating word embeddings to determine which best captures the nuances of Arabic morphology:

  1. word2vec (Baseline): A standard skip-gram model that treats words as atomic units, ignoring internal structure.
  2. fastText (Unsupervised Subword): An approach that represents words as a "bag of character n-grams." This allows the model to capture subword patterns (e.g., prefixes and suffixes) without requiring external linguistic tools.
  3. Morph (Proposed): A linguistically informed model that modifies the skip-gram objective. It utilizes both the surface word form and its lemma (the dictionary base form) to predict context. The authors used the MADAMIRA morphological analyzer to extract these lemmas. The final "Morph" embedding is a concatenation of the word vector and the lemma vector.

These embeddings were evaluated through two primary lenses: an intrinsic word similarity task (Arabic WordSim353) to measure semantic capture, and an extrinsic NMT task (Arabic-to-English) to measure translation utility. In the NMT experiments, the embeddings were used to initialize the source-side encoder, testing both "fixed" (frozen) and "unfixed" (trainable) configurations.

Experimental Setup

  • Monolingual Data: Pretraining was conducted on Arabic Wikipedia (~80 million tokens).
  • Parallel Data: The NMT system was trained on a small corpus of TED Talk subtitles containing approximately 175,000 sentences (2.9 million tokens), representing a typical low-resource environment.
  • NMT Architecture: A standard attentional encoder-decoder model.

Results and Analysis

Intrinsic Evaluation: Word Similarity

The "Morph" model, specifically the lemma-based component, achieved the highest performance on the WordSim353 task with a Spearman correlation of 0.60. This outperformed both fastText (0.55) and the word2vec baseline (0.52). This suggests that explicit lemmatization is superior at capturing the core semantic meaning of words, particularly when dealing with "broken plurals" where internal word structures change significantly.

Extrinsic Evaluation: Translation Performance

In the translation task, all subword-aware methods outperformed the baseline and the standard Byte Pair Encoding (BPE) approach:

  • Baseline (Random Init): 26.55 BLEU
  • BPE: 27.80 BLEU
  • Morph (Proposed): 28.76 BLEU
  • fastText (Unfixed): 29.10 BLEU

While the Morph model excelled in semantic similarity, fastText achieved the highest BLEU score. This indicates that while lemmas capture meaning, character n-grams may be more effective at capturing functional or syntactic nuances—such as case endings or conjunctions—that are critical for fluent translation.

Key Insights

  • BPE vs. Pretrained Embeddings: In this low-resource Arabic setup, initializing the model with subword-aware embeddings (fastText or Morph) proved more effective than the standard BPE approach.
  • Handling Sparsity: The gains from subword information were most pronounced when the authors isolated sentences containing rare morphological variants. This confirms that the primary value of these methods lies in their ability to handle the "long tail" of the vocabulary.
  • Linguistic vs. Statistical: Explicit linguistic resources (lemmas) provide the best semantic grounding, but statistical subword models (fastText) offer a robust fallback for words not covered by morphological analyzers.

Conclusion

Incorporating morphological information into word embeddings significantly improves NMT performance in low-resource settings for languages like Arabic. While explicit lemmatization provides the strongest semantic representations, unsupervised subword models like fastText offer highly competitive translation results due to their ability to capture syntactic patterns and their universal coverage. Future work may involve hybrid models that combine the semantic precision of lemmas with the broad coverage of character n-grams.

Summary updated

BibTeX
@inproceedings{shapiro2018proceedings,
  author = {Pamela Shapiro and Kevin Duh and Philipp Koehn and Hieu Hoang and Alexandra Birch and Chris Callison-Burch and Marcello Federico and Nicola Bertoldi and Brooke Cowan and Ahmed El-Kishky and Frank F. Xu and Aston Zhang and Stephen Macke and Jiawei Han and Wafia Adouane and Simon Dobnik and Jean-Philippe Bernardy and Nasredine Semmar and Bofang Li and Aleksandr Drozd and Tao Liu and Xiaoyong Du and Nelson F. Liu and Gina‐Anne Levow and Noah A. Smith and Paul Allen and Tamali Banerjee and Pushpak Bhattacharya and Alexandre Salle and Aline Villavicencio and Miguel Ballesteros and Chris Dyer and Noah Smith and Yonatan Belinkov and Nadir Durrani and Fahim Dalvi and Hassan Sajjad and James Glass and Piotr Bojanowski and Edouard Grave and Armand Joulin and Tomas Mikolov and Jan Botha and Phil Blunsom and Mauro Cettolo and Christian Girardi and Marcello Federico and Jonathan Clark and Chris Dyer and Alon Lavie and Noah Smith and Marta Costa-Juss and A Jos and Fonollosa and Wafia Adouane and Simon Dobnik and Wafia Adouane and Nasredine Semmar and Richard Johansson and Victoria Bobicev and Wafia Adouane and Nasredine Semmar and Richard Johansson and Victoria Bobicev and Hctor Martnez and Alonso and Barbara Plank and Rie Kubota and Ando and Tong Zhang and Utsab Barman and Amitava Das and Joachim Wagner and Jennifer Foster and Heba Elfardy and Mohamed Al-Badrashiny and Mona Diab and Heba Elfardy and Mona Diab and Jeffrey Elman and Sepp Hochreiter and Juergen Schmidhuber and Tom Kocmi and Ondej Bojar and Kamal Nigam and Andrew Mccallum and Sebastian Thrun and Tom Mitchell and Jialin Sinno and Qiang Pan and Yang and David Pierce and Claire Cardie and Shana Poplack and Marjory Meechan and Younes Samih and Suraj Maharjan and Mohammed Attia and Laura Kallmeyer and Thamar Solorio},
  title = {{Proceedings of the Second Workshop on Subword/Character LEvel Models}},
  booktitle = {Openalex Unknown},
  year = {2018},
  doi = {10.18653/v1/w18-12},
}
Figure