Comparison of Interactive Knowledge Base Spelling Correction Models for Low-Resource Languages

Yiyuan Li, Antonios Anastasopoulos, Alan W. BlackarXiv 2020

Abstract

Digital equity for low-resource languages is often hindered by a lack of standardized text corpora and dictionaries. This paper presents an interactive, human-in-the-loop system that combines a dynamic knowledge base with lightweight prediction models to provide spelling normalization. By evaluating character-level LSTMs and trigram models across multiple languages, the study demonstrates that effective spelling correction can be achieved starting with as few as 1,000 seed words, with statistical models offering significant advantages in the earliest stages of data collection.

Introduction

For high-resource languages like English, spelling correction is a mature technology. However, for the thousands of endangered or low-resource languages globally, the absence of large-scale training data makes traditional neural models ineffective. These models often struggle to distinguish between legitimate rare words and misspellings. The authors address this by creating a system that learns alongside the user, bridging the gap between "zero data" and a functional correction tool.

System Architecture and Methods

The proposed system architecture integrates three interacting components: a User Interface for real-time feedback, a Knowledge Base (KB) that acts as a dynamic dictionary, and underlying Prediction Models.

The interactive system architecture showing the flow from user input to model tuning via human feedback.

The KB uses Levenshtein edit distance to suggest the most similar valid words when a misspelling is detected. The researchers compared two modeling approaches:

  • Character Trigram (CharTriLM): A statistical model that flags words as misspelled if their character-sequence probability falls below a threshold.
  • LSTM (Neural): A character-level Recurrent Neural Network. To compensate for the lack of real-world error data, the authors employed Data Augmentation to create synthetic "confusion sets" tailored to word frequency (the logFreq strategy).

Experimental Results

The models were evaluated across a diverse set of languages, including English, Russian, and endangered languages like Ainu and Griko. A primary finding was the "cold start" advantage of simpler statistical models. In scenarios with fewer than 500 seed words, the character trigram model consistently outperformed the data-hungry LSTM.

Accuracy of CharTriLM vs. LSTM-logFreq across six languages as the number of seed tokens increases.

As shown in the comparative results, the CharTriLM model often reaches high accuracy faster in the very early stages of learning, while the LSTM-logFreq model catches up or stabilizes as more data becomes available. In languages like Russian and Turkish, the performance gap in the early stages is particularly pronounced, highlighting the efficiency of trigram models for extremely low-resource settings.

Discussion and Conclusion

While the system reached over 90% accuracy quickly for languages with high-quality source text (like Ainu), it faced challenges with languages exhibiting high orthographic inconsistency, such as Griko. Nevertheless, a real-world case study in "Hinglish" demonstrated that the system could generalize effectively, identifying unseen word forms through its neural components.

The authors envision this system as a plugin for messaging platforms, encouraging speakers of endangered languages to use their native scripts in daily digital life, thereby supporting language preservation efforts through practical, interactive technology.

Reference: Li, Y., Anastasopoulos, A., & Black, A. W. (2020). Comparison of Interactive Knowledge Base Spelling Correction Models for Low-Resource Languages. arXiv:2010.10472v1 [cs.CL].

Summary updated

BibTeX
@misc{li2020comparison,
  author = {Yiyuan Li and Antonios Anastasopoulos and Alan W. Black},
  title = {{Comparison of Interactive Knowledge Base Spelling Correction Models for Low-Resource Languages}},
  year = {2020},
  eprint = {2010.10472},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.10472},
}
Figure