Learning-From-Mistakes Prompting for Indigenous Language Translation

You-Cheng Liao, Chen-Jui Yu, Chi-Yi Lin, He-Feng Yun, Yen-Hsiang Wang +2 more
7/18/2024
cs.CL

No official code found. Best implementation: Rui0828/Learning-From-Mistakes-Prompting (6 stars, Apache-2.0, last commit 2024-12-06).

Abstract

Using large language models, this paper presents techniques to improve extremely low-resourced indigenous language translations. Our approaches are grounded in the use of (1) the presence of a datastore consisting of a limited number of parallel translation examples, (2) the inherent capabilities of LLMs like GPT-3.5, and (3) a word-level translation dictionary. We harness the potential of LLMs and in-context learning techniques in such a setting for using LLMs as universal translators for extremely low-resourced languages. Our methodology hinges on utilizing LLMs as language compilers for selected language pairs, hypothesizing that they could internalize syntactic structures to facilitate accurate translation. We introduce three techniques: KNNPrompting with Retrieved Prompting Context, Chain-of-Thought Prompting and Learningfrom-Mistakes Prompting, with the last method addressing past errors. The evaluation results suggest that, even with limited corpora, LLMs can effectively translate extremely low-resource languages when paired with proper prompting.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

LoResMT@ACL 2024: Learning-From-Mistakes Prompting for Indigenous Language Translation – A feedback-driven approach to enhance low-resource translation.

60TeX, PythonDec 1, 20241 years agoApache-2.0
chain-of-thoughtfew-shot-learningin-context-learninglow-resouce-languagelow-resource+4 more

Similar Papers

Cite this paper

@article{liao2024learningfrommistakes,
  title  = {Learning-From-Mistakes Prompting for Indigenous Language Translation},
  author = {You-Cheng Liao and Chen-Jui Yu and Chi-Yi Lin and He-Feng Yun and Yen-Hsiang Wang and Hsiao-Min Li and Yao-Chung Fan},
  year   = {2024},
  eprint = {2407.13343},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.13343v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.13343.svg)](https://codeofpaper.com/paper/2407.13343)

Discussion