CLSep 27, 2024

Can LLMs Really Learn to Translate a Low-Resource Language from One Grammar Book?

arXiv:2409.19151v229 citationsh-index: 17
AI Analysis

This work addresses the challenge of machine translation for extremely low-resource languages, suggesting a shift in data collection strategies from linguistic descriptions to parallel data, which is incremental as it builds on prior research.

The study investigated whether large language models (LLMs) can effectively use grammar books for translating low-resource languages, finding that improvements primarily come from parallel examples rather than grammatical explanations, with similar results for Nepali and Guarani, and fine-tuning an encoder-decoder model achieved comparable performance.

Extremely low-resource (XLR) languages lack substantial corpora for training NLP models, motivating the use of all available resources such as dictionaries and grammar books. Machine Translation from One Book (Tanzer et al., 2024) suggests that prompting long-context LLMs with one grammar book enables English-Kalamang translation, an XLR language unseen by LLMs - a noteworthy case of linguistics helping an NLP task. We investigate the source of this translation ability, finding almost all improvements stem from the book's parallel examples rather than its grammatical explanations. We find similar results for Nepali and Guarani, seen low-resource languages, and we achieve performance comparable to an LLM with a grammar book by simply fine-tuning an encoder-decoder translation model. We then investigate where grammar books help by testing two linguistic tasks, grammaticality judgment and gloss prediction, and we explore what kind of grammatical knowledge helps by introducing a typological feature prompt that achieves leading results on these more relevant tasks. We thus emphasise the importance of task-appropriate data for XLR languages: parallel examples for translation, and grammatical data for linguistic tasks. As we find no evidence that long-context LLMs can make effective use of grammatical explanations for XLR translation, we conclude data collection for multilingual XLR tasks such as translation is best focused on parallel data over linguistic description.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes