A Benchmark for Learning to Translate a New Language from One Grammar Book

Garrett Tanzer, Mirac Suzgun, Eline Visser, Dan Jurafsky, Luke Melas-Kyriazi

Introduction

Large language models (LLMs) are notoriously data-hungry, often requiring billions of tokens to achieve proficiency. This reliance on massive datasets creates two major challenges in modern AI research. First is the evaluation crisis: because LLMs are trained on nearly the entire public web, finding genuinely "unseen" tasks to test true reasoning—rather than mere memorization—is becoming nearly impossible. Second is the linguistic divide: traditional machine translation (MT) relies on massive parallel corpora (millions of sentence pairs), leaving the vast majority of the world’s 7,000+ languages behind due to a lack of digital resources.

To address these issues, researchers introduce MTOB (Machine Translation from One Book). This novel benchmark challenges models to translate Kalamang—a language from Indonesian Papua with fewer than 200 speakers and virtually no web presence—using only a single field linguistics reference book. By shifting the paradigm from "L1 acquisition" (learning from massive, implicit exposure) to "L2 learning" (learning from explicit rules and human-readable explanations), MTOB tests whether a model can adapt to a genuinely new domain using human-scale reference materials.

The MTOB Benchmark and Dataset

The benchmark is built entirely from a single, comprehensive source: A Grammar of Kalamang by Eline Visser (2022). The dataset components include:

  • The Grammar Book: 573 pages of linguistic analysis and explicit grammar explanations.
  • Bilingual Wordlist: 2,531 Kalamang words with English descriptions.
  • Parallel Corpus: A tiny evaluation set of approximately 500 English-Kalamang sentence pairs.
  • Human Baseline: To establish a "gold standard," the first author of the paper spent roughly 10 hours studying the grammar book and performing the exact same translation tasks.

Because Kalamang is an oral language with no internet footprint, it serves as a "clean" test case. Models performed near zero without context, proving that the language was successfully isolated from their pretraining data.

Experimental Setup

The researchers evaluated 12 different LLMs, including variants of LLaMA, GPT-3.5, GPT-4, and Claude 2, on their ability to translate between English and Kalamang. The core of the experiment involved varying the amount and type of context provided in the prompt:

  • Wordlist (W): Providing dictionary entries for words present in the input.
  • Sentences (S): Providing a few similar example sentence pairs (few-shot prompting).
  • Grammar Book (G): Providing relevant excerpts retrieved from the grammar book.
  • Long Context ($G^m/G^l$): For models with massive context windows (specifically Claude 2), researchers bypassed retrieval entirely and dumped 50,000 to 100,000 tokens of the grammar book directly into the prompt.

Performance was measured using chrF (a character-level F-score), which is generally more robust than BLEU for morphologically rich or low-resource languages.

Key Findings and Results

The results demonstrate that while current LLMs show remarkable promise in L2-style learning, they still fall short of dedicated human performance.

Translation performance (chrF) across various models and context settings. The charts illustrate the significant impact of long-context windows and the remaining gap to human performance.
  • The Human-Machine Gap: The best-performing model, Claude 2, achieved 44.7 chrF on Kalamang-to-English translation and 45.8 chrF on English-to-Kalamang translation. However, the human learner significantly outperformed the machines, scoring 51.6 and 57.0 respectively.
  • The "Long Context" Advantage: The grammar book only began to significantly improve performance when the model could process large chunks of it simultaneously. Traditional Retrieval-Augmented Generation (RAG) methods often failed because they retrieved snippets that were lexically similar but grammatically irrelevant. When Claude 2 was given the full grammar book in context, it showed a "qualitative leap," producing grammatically coherent Kalamang sentences rather than disjointed word salads.
  • Testing Crystallized Intelligence: Unlike most LLM benchmarks that test "fluid intelligence" (abstract reasoning), MTOB successfully tests "crystallized intelligence"—the ability to read, comprehend, and apply previously unseen procedural rules to new data. The results suggest that this ability to "read and apply" scales with model size and context length.

Implications and Future Work

This research opens up exciting pathways for data sovereignty. By proving that models can learn from explicit, human-scale grammar books, indigenous communities may eventually develop language technology without needing to surrender massive amounts of data to be mined into opaque global models.

However, several limitations remain for future work to address:

  1. Retrieval Bottlenecks: Current retrieval techniques struggle to find grammatical explanations based on semantic queries. Improving how models "look up" rules is a critical next step for models without 100K+ context windows.
  2. Typological Diversity: MTOB currently only uses Kalamang. Future iterations should include languages with drastically different typological features, such as complex tonal systems or different word orders.
  3. Modality: Kalamang is primarily an oral language. A truly useful tool for the community will eventually need to handle speech-to-text or multimodal inputs, rather than relying solely on written text.

Ultimately, MTOB provides a rigorous, uncontaminated benchmark for evaluating how well our most advanced AI systems can learn a new language from scratch, exactly the way a human linguist would.

Summary updated

BibTeX
@inproceedings{tanzer2024benchmark,
  author = {Garrett Tanzer and Mirac Suzgun and Eline Visser and Dan Jurafsky and Luke Melas-Kyriazi},
  title = {{A Benchmark for Learning to Translate a New Language from One Grammar Book}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=tbVWug9f2h},
}
Figure