NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

It's All About In-Context Learning! Teaching Extremely Low-Resource Languages to LLMs

Yue Li, Zhixue Zhao, Carolina Scarton

TL;DR

This paper investigates how effectively Large Language Models (LLMs) can learn extremely low-resource languages using in-context learning (ICL). They find that while fine-tuning struggles with languages severely under-represented in tokenizers and pre-training data, zero-shot ICL with language alignment shows significant promise, even outperforming few-shot ICL and PEFT in these challenging cases.

What Problem Does This Paper Address?

Large Language Models (LLMs) have revolutionized NLP, but their capabilities are heavily skewed towards high-resource languages. Extremely low-resource languages, often spoken in developing regions and sometimes using rare scripts, remain largely unsupported. This gap risks exacerbating socio-economic disparities and isolating communities. While methods like continued pre-training and parameter-efficient fine-tuning (PEFT) exist, they often require substantial data and computational resources, which are scarce for these languages. This paper asks whether in-context learning (ICL), a more data-efficient approach, can bridge this gap, and how different ICL strategies, with or without auxiliary signals, compare to PEFT.

Methods

The authors explore various ICL strategies and compare them to PEFT. Their core methods include:

  • Zero-Shot ICL:
    • Baseline: Standard zero-shot ICL with just the task description and the target language input.
  • Word-Level Alignment: Providing word-to-English translations from a dictionary within the prompt.
  • Word-Level Translation: Concatenating English translations of words in order.
  • Sentence-Level Alignment: Including parallel English-target language sentences in the prompt.
  • Few-Shot ICL:
    • Demonstration in Target Language: Providing k-shot examples in the target language.
  • Demonstration with Alignment: Providing k-shot examples in both target and English languages.
  • Parameter-Efficient Fine-Tuning (PEFT): They experimented with methods like LoRA, DORA, and IA3, finding IA3 to be the most effective and efficient.

Datasets

The primary dataset used is SIB-200, a topic classification dataset covering 200+ languages and dialects. For reading comprehension, they use BELEBELE, which is derived from the Flores-200 dataset. For machine translation, they also leverage the Flores-200 dataset.

Key Insights and Ideas

  • Fine-tuning's Achilles' Heel: Fine-tuning (even PEFT) is significantly hampered when a language and its script are extremely under-represented or entirely absent from the LLM's tokenizer and pre-training data. This leads to overfitting and limited generalization.
  • Zero-Shot ICL Shines for the Underserved: For languages with minimal LLM support, zero-shot ICL with language alignment (both word and sentence level) is surprisingly effective, often surpassing few-shot ICL and even matching fine-tuning. This suggests that carefully crafted prompts can unlock LLM capabilities even without extensive training data.
  • Alignment is Key for Low-Resource: The inclusion of auxiliary signals like language alignment (whether word-level translations or parallel sentences) in ICL prompts provides substantial gains, especially for languages with low baseline performance.
  • Few-Shot ICL's Niche: Few-shot ICL and PEFT become more beneficial for languages where LLMs already exhibit some level of support, likely due to better pre-existing representations.
  • Tokenization Matters: The efficiency of a language's tokenization within an LLM's tokenizer is a critical factor. Poor tokenization (high Token-to-Byte Ratio) for rare scripts directly correlates with fine-tuning limitations.

Key Results

  • For languages severely under-represented in tokenizers and pre-training data (e.g., nqo, sat), zero-shot ICL with alignment achieved accuracies above 0.41, while fine-tuning yielded minimal improvement.
  • For languages with better representation, PEFT generally outperformed ICL, with average differences of 0.08-0.13 across models.
  • In zero-shot ICL, sentence-level alignment with BM25-retrieved examples improved accuracy by over 0.22 for languages with baseline scores below 0.3, with a peak gain of 0.36 for 'sat' on LLaMA-3.2.
  • For reading comprehension, zero-shot ICL with passage alignment showed improvements, though less pronounced than in topic classification, and word-level alignment was ineffective due to dictionary quality issues.
  • Machine translation quality remained poor even with few-shot ICL, though gains were observed.

Limitations and Future Work

  • LLM Coverage: The study focused on three specific LLMs (DeepSeek, LLaMA-3.2, Gemma-2) and did not include other popular models like Mistral or Qwen. Larger LLM variants were also not tested due to computational constraints.
  • Task Scope: The experiments were primarily conducted on topic classification and reading comprehension. Future work could explore other NLP tasks like summarization or common-sense reasoning.
  • Dataset Limitations: The limited availability of parallel data for extremely low-resource languages constrained the study.
  • Dictionary Quality: The quality of dictionaries created for word-level alignment, especially for languages not supported by NLLB, was a significant factor, particularly impacting reading comprehension tasks. Future work could investigate methods for improving dictionary creation and evaluation.
  • Out-of-Domain Data: The impact of out-of-domain parallel text for sentence-level alignment was not systematically analyzed, though it's hypothesized to offer limited benefit.

Summary updated

BibTeX
@inproceedings{li2025it,
  author = {Yue Li and Zhixue Zhao and Carolina Scarton},
  title = {{It's All About In-Context Learning! Teaching Extremely Low-Resource Languages to LLMs}},
  booktitle = {myPublications at the University of Sheffield},
  year = {2025},
  url = {https://openreview.net/forum?id=bLOBcIa5yG},
}
Figure