mlsanityData to 13 Oct 2026

Read it in Two Steps: Translating Extremely Low-Resource Languages with Code-Augmented Grammar Books

arXiv 2506.01796 ↗First posted 2 Jun 2025cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

While large language models (LLMs) have shown promise in translating extremely low-resource languages using resources like dictionaries, the effectiveness of grammar books remains debated. This paper investigates the role of grammar books in translating extremely low-resource languages by decomposing it into two key steps: grammar rule retrieval and application. To facilitate the study, we introduce ZhuangRules, a modularized dataset of grammar rules and their corresponding test sentences. Our analysis reveals that rule retrieval constitutes a primary bottleneck in grammar-based translation. Moreover, although LLMs can apply simple rules for translation when explicitly provided, they encounter difficulties in handling more complex rules. To address these challenges, we propose representing grammar rules as code functions, considering their similarities in structure and the benefit of code in facilitating LLM reasoning. Our experiments show that using code rules significantly boosts both rule retrieval and application, ultimately resulting in a 13.1% BLEU improvement in translation.

Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). Builds on 20 of its 42 references that are in the map. First posted on arXiv 2 Jun 2025.

Builds on

20 of 42 references.

References · 20

  1. 2024The Llama 3 Herd of Modelscited by 14,486
  2. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,197
  3. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,793
  4. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,066
  5. 2020Multilingual Denoising Pre-training for Neural Machine Translationcited by 1,033
  6. 2020The State and Fate of Linguistic Diversity and Inclusion in the NLP Worldcited by 792
  7. 2022Language Models of Code are Few-Shot Commonsense Learnerscited by 160
  8. 2022BLOOM+1: Adding Language Support to BLOOM for Zero-Shot Promptingcited by 90
  9. 2023Do Multilingual Language Models Think Better in English?cited by 87
  10. 2023Dictionary-based Phrase-level Prompting of Large Language Models for Machine Translationcited by 74
  11. 2023A Benchmark for Learning to Translate a New Language from One Grammar Bookcited by 74
  12. 2024Can LLMs Really Learn to Translate a Low-Resource Language from One Grammar Book?cited by 23
8 more
  1. 2024Code Prompting Elicits Conditional Reasoning Abilities in Text+Code LLMscited by 20
  2. 2024Shortcomings of LLMs for Low-Resource Translation: Retrieval and Understanding are Both the Problemcited by 17
  3. 2024Can we teach language models to gloss endangered languages?cited by 14
  4. 2024GlossLM: A Massively Multilingual Corpus and Pretrained Model for Interlinear Glossed Textcited by 12
  5. 2024Back to School: Translation Using Grammar Bookscited by 11
  6. 2023Leveraging Code to Improve In-context Learning for Semantic Parsingcited by 10
  7. 2024Eliciting Better Multilingual Structured Reasoning from LLMs through Codecited by 9
  8. 2024GrammaMT: Improving Machine Translation with Grammar-Informed In-Context Learningcited by 5

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Do Large Language Models Grasp The Grammar? Evidence from Grammar-Book-Guided Probing in Luxembourgish
  2. 2026Reasoning over Grammar: Can Synthetic Linguistic Reasoning Traces Enhance Low-Resource Machine Translation?
  3. 2025Enhancing Low-Resource Minority Language Translation with LLMs and Retrieval-Augmented Generation for Cultural Nuances
  4. 2024From MTEB to MTOB: Retrieval-Augmented Classification for Descriptive Grammars
  5. 2024Enhancing Code Translation in Language Models with Few-Shot Learning via Retrieval-Augmented Generation
  6. 2025Exposing the Cracks: Vulnerabilities of Retrieval-Augmented LLM-based Machine Translation
  7. 2024Low-Resource Machine Translation through Retrieval-Augmented LLM Prompting: A Study on the Mambai Language
  8. 2025Aligning Large Language Models to Low-Resource Languages through LLM-Based Selective Translation: A Systematic Study