Small Models, Big Impact: Efficient Corpus and Graph-Based Adaptation of Small Multilingual Language Models for Low-Resource Languages

Daniil Gurgurov, Ivan Vykopal, Josef van Genabith, Simon Ostermann

TL;DR

This paper demonstrates that smaller, parameter-efficient multilingual language models (mLMs) like mBERT and XLM-R, when adapted using techniques like adapters and knowledge graphs, can outperform massive LLMs on low-resource languages (LRLs). Even small amounts of adaptation data can yield significant improvements, making advanced NLP accessible for languages with limited resources.

What Problem Does This Paper Address?

Natural Language Processing (NLP) has seen incredible advancements with large language models (LLMs). However, these models often struggle with low-resource languages (LRLs) due to a lack of sufficient training data. While massive LLMs like GPT-4 and LLaMA-3 are powerful, their sheer size and data requirements make them impractical or ineffective for LRLs. Smaller multilingual models (mLMs) like mBERT and XLM-R, with their more manageable capacity, offer a more promising avenue for LRLs. The challenge lies in effectively adapting these mLMs to perform well on LRLs without requiring vast amounts of data or computational resources. This paper tackles this by investigating parameter-efficient adaptation methods, specifically using adapters and incorporating structured knowledge from knowledge graphs.

Methods

The core of this research lies in parameter-efficient adaptation techniques, primarily using adapters. Adapters are small, trainable modules inserted into the layers of a pre-trained model, allowing for adaptation without retraining the entire model. The authors explore three adapter architectures:

  • Sequential Bottleneck (Seq_bn): A standard adapter configuration.
  • Invertible Bottleneck (Seq_bn_inv): An architecture designed to preserve information flow.
  • Low-Rank Adaptation (LoRA): A technique that injects trainable rank-decomposition matrices into transformer layers.

They also investigate the impact of using structured knowledge from knowledge graphs (KGs), specifically ConceptNet, alongside unstructured text data from GlotCC. The adaptation process involves two stages: first, training language adapters on general multilingual data (GlotCC and ConceptNet) using masked language modeling (MLM) or causal language modeling (CLM) objectives, and then training task-specific adapters on downstream tasks. They also compare these adapter-based methods against full fine-tuning and zero-shot/few-shot prompting of LLMs.

Datasets

The study utilizes two primary datasets:

  • GlotCC-V1: A large-scale, multilingual corpus derived from CommonCrawl, focusing on LRLs. For experiments, the data was limited to 1 GB per language.
  • ConceptNet: A multilingual knowledge graph providing common-sense knowledge. This data was converted into natural language sentences for use.

For evaluation, the following datasets were used for specific tasks:

  • FLORES-200 devtest set: For Masked Language Modeling (MLM) evaluation.
  • SIB-200 dataset: A 7-class dataset for Topic Classification (TC).
  • WikiANN dataset: For Named Entity Recognition (NER).
  • Various binary-class datasets for Sentiment Analysis (SA).

Key Insights and Ideas

  • Smaller is Better (for LRLs): The study strongly suggests that smaller mLMs, when properly adapted, are more effective for LRLs than massive LLMs. This is attributed to their ability to better align cross-lingual representations under capacity constraints.
  • Adapters Outperform Prompting: Parameter-efficient adapter-based methods significantly outperform zero-shot and few-shot prompting of large LLMs for LRLs.
  • Knowledge Graphs Add Value: Integrating structured knowledge from ConceptNet, even with its relatively small size, provides tangible benefits, particularly for tasks like Named Entity Recognition.
  • Data Size Matters, But Efficiency is Key: While pre-training data size remains a dominant factor, adapter-based methods demonstrate that even limited adaptation data (e.g., a few GB of text or MB of KG data) can yield substantial gains.
  • Pseudo-Perplexity as a Proxy: The study indicates that pseudo-perplexity can serve as a useful proxy for evaluating adaptation quality in MLM tasks.

Key Results

  • Adapter Performance: Sequential Bottleneck adapters excelled in language modeling, while Invertible Bottleneck adapters slightly outperformed others on downstream tasks. Adapter-based methods matched or surpassed full fine-tuning in many scenarios, using significantly fewer parameters.
  • mLM vs. LLM: Adapted mLMs (mBERT, XLM-R) outperformed massive LLMs (LLaMA-3, GPT-4, DeepSeek-R1) on LRLs for the tested tasks. For example, adapted XLM-R outperformed Glot500-m on MLM.
  • Data Efficiency: Small adaptation datasets (up to 1 GB of free-text or a few MB of KG data) led to significant performance gains.
  • Task-Specific Gains:
    • MLM: Seq_bn adapters showed the largest improvement.
  • NER: ConceptNet-based adapters provided notable gains, especially when combined with Glot adapters.
  • TC & SA: Glot-based adapters consistently improved performance.
  • LLaMA-3 Adaptation: Adapting LLaMA-3-8B with Seq_bn_inv adapters showed a significant improvement (around 10 points) over its baseline.

Limitations and Future Work

The authors acknowledge several limitations:

  • Hyperparameter Sensitivity: Adapters have specific hyperparameters that influence their performance. Future work should systematically explore these.
  • Limited Adaptation Data Size: The experiments were constrained by computational resources, limiting adaptation data to 1 GB per language. Investigating larger datasets and increasing adapter capacity could yield further insights.
  • Incomplete Experiment Coverage: Some experiments were not conducted across all tasks (e.g., adapter fusion was only applied to NER).

Promising future directions include:

  • Systematically exploring adapter hyperparameters.
  • Investigating the impact of larger adaptation datasets and increased adapter capacity.
  • Exploring adapter fusion more broadly.
  • Extending the study to a wider range of LRLs and tasks.

Summary updated

BibTeX
@inproceedings{gurgurov2025small,
  author = {Daniil Gurgurov and Ivan Vykopal and Josef van Genabith and Simon Ostermann},
  title = {{Small Models, Big Impact: Efficient Corpus and Graph-Based Adaptation of Small Multilingual Language Models for Low-Resource Languages}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=4SJMWS40mK},
}
Figure