Evaluating Large Language Models for In-Context Learning of Linguistic Patterns In Unseen Low Resource Languages

Hongpu Zhu, Yuqi Liang, Wenjing Xu, Hongzhi XuWorkshops @ COLING 2025

Abstract

This paper explores the potential of Large Language Models (LLMs) to serve as "zero-shot linguists" by deducing the grammar and vocabulary of unknown languages from minimal examples. We evaluate a novel "Step-by-Step" curriculum prompting method against traditional direct inference. Our results show that state-of-the-art models, particularly Claude 3.5 Sonnet, can match or exceed human performance when linguistic puzzles are decomposed into incremental reasoning steps. However, models continue to exhibit typological biases toward the structures of high-resource languages.

Introduction

For the majority of the world's low-resource (LR) languages, the lack of digitized text precludes standard fine-tuning for machine translation. In-Context Learning (ICL) offers a promising alternative, where LLMs learn tasks directly from prompt examples. Historically, LLMs have struggled with dense linguistic puzzles, such as those from the International Linguistic Olympiad, which require simultaneous reasoning across phonology, morphology, and syntax. This research addresses whether structured, incremental prompting can unlock the latent linguistic reasoning capabilities of LLMs.

Methodology: The Step-by-Step Approach

The core contribution of this work is a Step-by-Step Approach inspired by Chain-of-Thought prompting. Rather than presenting a model with a complete linguistic puzzle at once—a method termed Direct Inference—the authors decompose the problem into a logical curriculum:

  1. Lexical Semantics & Word Order: Establishing basic vocabulary and core sentence structures (S-V-O).
  2. Phonology: Identifying sound-level variations and allomorphs.
  3. Morpho-syntax: Deducing rules for agreement, tense, and number.
  4. Complex Syntax: Integrating all rules to handle advanced structures like negation and subordination.
Comparison between Direct Inference and the proposed Step-by-Step curriculum approach.

This method allows the model to "lock in" foundational knowledge before tackling higher-level grammatical complexities.

Experimental Setup

The study utilizes a new benchmark of 168 manually constructed puzzles covering 40 low-resource languages from 20 distinct families (e.g., Arawakan, Austronesian). The dataset includes 1,058 training sentences for in-context learning and 379 test sentences for evaluation. Performance was compared across five leading models—Claude 3.5 Sonnet, GPT-4o, Llama 3.1 (405B), Llama 3.2 (90B), and Deepseek V2.5—and a human baseline of 16 linguistically trained students.

Key Results

The experimental results demonstrate a significant performance leap when using the step-by-step method. Claude 3.5 Sonnet emerged as the top performer, achieving a ChrF score of 82.0 for unknown-to-English translation, notably surpassing the human average of 73.6.

Performance comparison (ChrF score) between direct inference and step-by-step prompting across various LLMs and human baselines.

The impact of the curriculum was particularly pronounced for models like GPT-4o, where Exact Match (EM) accuracy rose from 6.8% in direct inference to 22.6% under the step-by-step regime. Open-source models like Llama 3.1 and Deepseek V2.5 showed competitive performance but generally trailed behind proprietary leaders.

Discussion and Insights

Several critical patterns emerged from the analysis:

  • Directional Asymmetry: Models perform significantly better when translating from an unknown language into English. This suggests that LLMs leverage their internal English fluency to compensate for incomplete understanding of the target language's rules.
  • Typological Bias: Models exhibit a "prejudice" toward high-resource language structures. They struggle with rare patterns like Object-Subject (O-S) word orders or Noun-Adjective (N-A) sequences, likely due to their underrepresentation in pre-training data.
  • The Multi-tasking Bottleneck: The success of the curriculum approach indicates that LLMs' primary failure mode in linguistic reasoning is not a lack of capability, but an inability to manage multiple complex reasoning tasks within a single prompt.

Limitations and Future Directions

While the step-by-step method is effective, it currently requires manual decomposition by human experts. Future research should investigate automated rule induction by LLMs. Additionally, standard metrics like BLEU and ChrF may not adequately capture the logical consistency of linguistic errors. The authors also highlight the need for broader typological coverage and the evaluation of newer "reasoning-centric" models on these tasks.

Summary updated

BibTeX
@inproceedings{zhu2025evaluating,
  author = {Hongpu Zhu and Yuqi Liang and Wenjing Xu and Hongzhi Xu},
  title = {{Evaluating Large Language Models for In-Context Learning of Linguistic Patterns In Unseen Low Resource Languages}},
  booktitle = {Workshops @ COLING},
  year = {2025},
}
Figure