Skip to main content
QUICK REVIEW

[Paper Review] Low-Resource Language Modelling of South African Languages

Stuart Mesham, Luc Hayward|arXiv (Cornell University)|Apr 1, 2021
Topic ModelingComputer Science33 references10 citations
TL;DR

This paper evaluates open-vocabulary language models using byte-pair encoding (BPE) for low-resource South African languages, specifically isiZulu and Sepedi. Well-regularized RNNs (AWD-LSTM and QRNN) outperform n-gram, feedforward, and Transformer models on small-scale datasets, with multilingual training further improving performance across related Nguni and Sotho-Tswana languages.

ABSTRACT

Language models are the foundation of current neural network-based models for natural language understanding and generation. However, research on the intrinsic performance of language models on African languages has been extremely limited, which is made more challenging by the lack of large or standardised training and evaluation sets that exist for English and other high-resource languages. In this paper, we evaluate the performance of open-vocabulary language models on low-resource South African languages, using byte-pair encoding to handle the rich morphology of these languages. We evaluate different variants of n-gram models, feedforward neural networks, recurrent neural networks (RNNs), and Transformers on small-scale datasets. Overall, well-regularized RNNs give the best performance across two isiZulu and one Sepedi datasets. Multilingual training further improves performance on these datasets. We hope that this research will open new avenues for research into multilingual and low-resource language modelling for African languages.

Motivation & Objective

  • Address the lack of research on intrinsic language modeling performance for African languages, particularly low-resource South African languages.
  • Overcome data sparsity and morphological complexity in agglutinative Benue-Congo languages like isiZulu and Sepedi.
  • Evaluate the effectiveness of various neural architectures—n-gram, feedforward, RNN, and Transformer—on small-scale, low-resource datasets.
  • Investigate whether multilingual training on related South African languages improves language modeling performance without architectural changes.
  • Demonstrate the utility of byte-pair encoding (BPE) for handling morphological richness and open-vocabulary modeling in low-resource settings.

Proposed method

  • Apply byte-pair encoding (BPE) with configurable vocabulary sizes (e.g., 8000 for isiZulu, 2000 for Sepedi) to tokenize words into sub-word units, reducing vocabulary sparsity.
  • Train and evaluate multiple language model architectures: n-gram models, feedforward neural networks (FFNNs), recurrent neural networks (LSTM, AWD-LSTM, QRNN), and Transformers.
  • Use bits-per-character (BPC) as the primary evaluation metric to compare model performance across datasets.
  • Implement model regularization techniques such as dropout and weight decay, particularly for AWD-LSTM and QRNN models to prevent overfitting.
  • Conduct multilingual training by concatenating text from multiple related South African languages (e.g., Nguni and Sotho-Tswana groups) into a single training set.
  • Train separate models for monolingual, same-language-group, cross-language-group, and full multilingual settings, with hyperparameters tuned per configuration.

Experimental results

Research questions

  • RQ1How do different neural language model architectures (n-gram, FFNN, RNN, Transformer) perform on low-resource South African languages like isiZulu and Sepedi?
  • RQ2Can well-regularized RNNs such as AWD-LSTM and QRNN outperform Transformers and simpler models in low-resource settings for agglutinative languages?
  • RQ3Does multilingual training on related South African languages improve language modeling performance without architectural modifications?
  • RQ4To what extent does BPE-based sub-word tokenization mitigate the challenges of morphological richness and large word-level vocabularies in Benue-Congo languages?
  • RQ5Is there a performance difference when training on languages from the same linguistic group versus different but related language groups?

Key findings

  • Well-regularized RNNs (AWD-LSTM and QRNN) achieved the best performance across all three datasets (isiZulu and Sepedi), outperforming Transformers and simpler models.
  • The AWD-LSTM and QRNN models achieved test BPC scores of 1.331 and 1.334 on the Sepedi dataset, respectively, and 1.298 and 1.391 on the isiZulu dataset.
  • Multilingual training significantly improved performance: the best model, trained on all 9 non-European South African languages, achieved a BPC of 1.298 on isiZulu and 1.331 on Sepedi.
  • Training on languages from the same language group (e.g., all Nguni for isiZulu) yielded strong improvements, with the Sotho-Tswana group providing greater gains for Sepedi than the Nguni group.
  • n-gram and FFNN models performed poorly and inconsistently, indicating a trade-off between training speed and performance, with n-grams being faster but less accurate.
  • BPE proved effective in managing morphological complexity, enabling open-vocabulary modeling and reducing data sparsity in low-resource settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.