[Paper Review] Low-Resource Machine Translation through Retrieval-Augmented LLM Prompting: A Study on the Mambai Language
This study investigates few-shot retrieval-augmented prompting with large language models (LLMs) for low-resource English-to-Mambai translation, using a novel parallel corpus from a language manual and native speaker translations. It shows that incorporating both TF-IDF and semantic embeddings for example retrieval boosts BLEU scores to 21.2 on in-domain test sets, but performance drops to below 4.4 on out-of-domain native speaker data, highlighting the critical role of representative evaluation data for low-resource languages.
This study explores the use of large language models (LLMs) for translating English into Mambai, a low-resource Austronesian language spoken in Timor-Leste, with approximately 200,000 native speakers. Leveraging a novel corpus derived from a Mambai language manual and additional sentences translated by a native speaker, we examine the efficacy of few-shot LLM prompting for machine translation (MT) in this low-resource context. Our methodology involves the strategic selection of parallel sentences and dictionary entries for prompting, aiming to enhance translation accuracy, using open-source and proprietary LLMs (LlaMa 2 70b, Mixtral 8x7B, GPT-4). We find that including dictionary entries in prompts and a mix of sentences retrieved through TF-IDF and semantic embeddings significantly improves translation quality. However, our findings reveal stark disparities in translation performance across test sets, with BLEU scores reaching as high as 21.2 on materials from the language manual, in contrast to a maximum of 4.4 on a test set provided by a native speaker. These results underscore the importance of diverse and representative corpora in assessing MT for low-resource languages. Our research provides insights into few-shot LLM prompting for low-resource MT, and makes available an initial corpus for the Mambai language.
Motivation & Objective
- To evaluate the effectiveness of few-shot LLM prompting for low-resource machine translation into Mambai, a low-resource Austronesian language with ~200,000 speakers.
- To investigate how retrieval strategies—using TF-IDF and semantic embeddings—impact translation quality in a low-resource setting.
- To assess the generalization of LLMs across different test sets, particularly comparing in-domain manual-derived sentences versus out-of-domain native speaker translations.
- To release an initial parallel corpus for Mambai to support future low-resource NLP research.
Proposed method
- Constructed a novel parallel English-Mambai corpus from a Mambai language manual and additional translations by a native speaker.
- Employed retrieval-augmented prompting by selecting relevant parallel sentences and dictionary entries from the corpus to include in few-shot prompts.
- Used both TF-IDF and semantic embeddings (via sentence transformers) to retrieve relevant examples for prompting, combining both strategies in some setups.
- Evaluated multiple LLMs—LlaMa 2 70b, Mixtral 8x7B, and GPT-4—on zero-shot and few-shot prompting with retrieved examples.
- Applied BLEU scoring to compare translation quality across different prompt configurations and test sets.
- Designed a retrieval pipeline to extract and structure data from the language manual for prompt construction, with code released publicly.

Experimental results
Research questions
- RQ1How does retrieval-augmented few-shot prompting with LLMs affect translation quality for the low-resource Mambai language?
- RQ2What is the impact of using both TF-IDF and semantic embeddings for example retrieval on translation performance?
- RQ3Why does translation performance vary so drastically between in-domain (manual-derived) and out-of-domain (native speaker) test sets?
- RQ4To what extent do dictionary entries improve translation quality in few-shot prompting for low-resource languages?
- RQ5How representative are single-source test sets for evaluating low-resource machine translation systems?
Key findings
- In-domain test sets derived from the language manual yielded BLEU scores as high as 21.2 when using GPT-4 with a mix of TF-IDF and semantic embedding-retrieved examples.
- Out-of-domain test sets, consisting of sentences translated by a native speaker, resulted in BLEU scores below 5 across all LLMs and prompting configurations.
- Including dictionary entries in the prompt significantly improved translation quality, especially for rare or ambiguous terms.
- The performance gap between in-domain and out-of-domain test sets indicates that a single corpus can heavily bias evaluation results, especially in low-resource settings.
- Retrieval using both TF-IDF and semantic embeddings outperformed either method alone, demonstrating the benefit of hybrid retrieval strategies.
- The study reveals that LLMs can achieve moderate performance on low-resource MT only when prompted with highly relevant, in-domain examples, and highlights the risk of overestimating model performance on non-representative test sets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.