Elamur Research⌕
☰
home / papers / 2008 / Arabic Language Modeling with Finite State Transducers

Arabic Language Modeling with Finite State Transducers

Paper · 2008 · Ilana Heintz

Summary

Arabic produces a huge number of distinct surface forms by combining roots, templatic patterns, inflectional affixes and clitics. As a result, many test words never appear in training data, which hurts language models used in speech recognition. Heintz tackles this out-of-vocabulary problem by modeling morphemes instead of whole words. She encodes stem templates (such as CCC, mCCC, CACC) as finite state transducers and composes them with a per-word acceptor. This yields a lattice holding every possible stem/affix split, and the analyses are never disambiguated. Expected 4-gram counts are collected over sentence lattices with SRILM, using the TDT4 Arabic broadcast news transcriptions. The resulting FSM-LM is compared with a word 4-gram model (WORD) and a single-segmentation affix model (AFFIX). Scores are normalized per word so that models with different unit sizes can be compared fairly. FSM-LM gets the lowest average negative log probability. It also has much better bigram-to-4-gram coverage, though AFFIX covers slightly more unigrams. The point is that tolerating spurious analyses and letting corpus statistics choose can beat committing to one segmentation early.

Key points

  • Data: a subset of TDT4 (100 files across 4 news sources) is used.

    • 90 files (~6.3M unvoweled tokens) for training and 10 files (~700K tokens, ~5K sentences) for testing.
    • Vocabulary is 104,757 words, with ten-fold cross-validation.
  • Model setup: all models are 4-gram models with Good-Turing smoothing.

    • Each is capped at the 64,000 most frequent units, so the comparison is fair.
    • SRILM computes posterior expected n-gram counts over the lattices, with all paths weighted equally.
  • AFFIX baseline: it reuses the affix lists of Xiang et al. (2006), which contain 12 prefixes and 34 suffixes plus their pairwise combinations.

    • Rule-based choices produce a single split per word, keeping a stem of at least 3 characters and preferring the longest affix.
  • Average negative log probability per word (lower is better):

    ModelScore
    WORD4.65
    AFFIX5.30
    FSM-LM4.56
  • Coverage (%) of test units given probabilities by the model:

    ModelUnigramBigramTrigram4-gram
    WORD96.0317.811.520.37
    AFFIX99.3053.1311.893.42
    FSM-LM98.8969.5627.259.62

Interesting ideas

  • I1. Rather than picking one morphological analysis per word, keep every candidate decomposition and let frequency statistics favor the common pieces; rare spurious splits get little weight, so no disambiguator is needed.
  • I2. Morphological templates are compiled as transducers with self-loop affix arcs and bracket symbols marking stem edges; composing them with a word acceptor directly yields explicit, inspectable analyses.
  • I3. Counts are gathered as expected values over a lattice: occurrences of an n-gram divided by the number of paths. Ambiguous inputs thus contribute fractional evidence instead of forcing a hard choice.
  • I4. Models with different unit granularity are compared by dividing log probability by the number of words rather than units, which removes the unfair advantage of finer segmentation.
  • I5. Coverage is reported separately per n-gram order. This shows that a scheme can lose slightly at the unigram level yet gain a lot on longer contexts.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (tokens): the English morphology layer could keep a small lattice of segmentations for unknown words (e.g. prefix/stem/suffix options) and let corpus counts rank them, with the chosen path still traceable.
  • I2 (tokens): derivational patterns (e.g. -ness, -able, re-) could be written as small composable FSTs whose bracketed outputs show exactly why a lemma was proposed, keeping the step explainable.
  • I3 (learn): when witness parsers disagree on silver data, each candidate arc or label could receive fractional counts proportional to how many witnesses support it, instead of discarding disagreements.
  • I4 (learn): when evaluating alternative tokenizations or subword schemes, normalize scores per original word or sentence so the comparison is not skewed by unit count.
  • I5 (learn): evaluation reports could break coverage of parser or frame patterns down by context size, revealing where sparsity actually hurts.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

Cite

Cite as Ilana Heintz. 2008. Arabic Language Modeling with Finite State Transducers. Proceedings of the ACL-08: HLT Student Research Workshop.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{heintz2008arabic,
  title = {{Arabic Language Modeling with Finite State Transducers}},
  author = {Ilana Heintz},
  booktitle = {Proceedings of the ACL-08: HLT Student Research Workshop},
  year = {2008},
  doi = {10.3115/1564154.1564163},
  url = {https://doi.org/10.3115/1564154.1564163}
}

References

13 references, 0 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. A Berton, P Fetter, and P Regel-Brietzmann. 1996. Compound words in large vocabulary German speech recognition system. In Proceedings of ICSLP 96, pages 1165–1168. find
  2. K. Carki, P. Geutner, and T. Schultz. 2000. Turkish lvcsr: Towards better speech recognition for agglutinative languages. In ICASSP 2000, pages 134–137. ↗
  3. William A. Gale and Geoffrey Sampson. 1995. Good-Turing frequency estimation without tears. Journal of Quantitative Linguistics, 22:217–37. ↗
  4. P Geutner. 1995. Using morphology towards better large-vocabulary speech recognition systems. In Proceedings of ICASSP-95, volume 1, pages 445–448. ↗
  5. J.A. Haywood and H.M. Nahmad. 1965. A New Arabic Grammar of the Written Language. Lund Humphries, Burlington, VT. find
  6. Teemu Hirsimäki, Mathias Creutz, Vesa Siivola, Mikko Kurimo, Sami Virpioja, and Janne Pylkkönen. 2006. Unlimited vocabulary speech recognition with morph language models applied to Finnish. Computer Speech and Language, 20:515–541. ↗
  7. F. Jelinek, B. Merialdo, S. Roukos, and M. Strauss. 1991. A dynamic language model for speech recognition. In Proc. Wkshp on Speech and Natural Language, pages 293–295, Pacific Grove, California. ACL. find
  8. Katrin Kirchhoff, Dimitra Vergyri, Kevin Duh, Jeff Bilmes, and Andreas Stolcke. 2006. Morphology-based language modeling for conversational Arabic speech recognition. Computer Speech and Language, 20(4):589–608. ↗
  9. Junbo Kong and David Graff. 2005. TDT4 multilingual broadcast news speech corpus. ↗
  10. Oh-Wook Kwon. 2000. Performance of LVCSR with morpheme-based and syllable-based recognition units. In Proceedings of ICASSP ’00, volume 3, pages 1567– 1570. find
  11. Andreas Stolcke. 2002. SRILM - an extensible language modeling toolkit. In Proc. Intl. Conf. Spoken Language Processing, Denver, Colorado. find
  12. Wen Wang and Dimitra Vergyri. 2006. The use of word n-grams and parts of speech for hierarchical cluster language modeling. In Proceedings of ICASSP 2006, pages 1057–1060. find
  13. Bing Xiang, Kham Nguyen, Long Nguyen, Richard Schwartz, and John Makhoul. 2006. Morphological decomposition for Arabic broadcast news transcription. In Proc. ICASSP 2006, pages 1089–1092. find

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/heintz-2008-arabic-language-modeling-finite-state/