Teaching Large Language Models an Unseen Language on the Fly

Chen Zhang, Xiao Liu, Jiuheng Lin, Yansong Feng
2/29/2024
cs.CL

No official code found. Best implementation: luciusssss/ZhuangBench (29 stars, MIT, last commit 2026-01-06).

Abstract

Existing large language models struggle to support numerous low-resource languages, particularly the extremely low-resource ones, for which there is minimal training data available for effective parameter updating. We thus investigate whether LLMs can learn a new language on the fly solely through prompting. To study this question, we collect a research suite for Zhuang, a language supported by no LLMs currently. We introduce DiPMT++, a framework for adapting LLMs to unseen languages by in-context learning. Using a dictionary and 5K parallel sentences only, DiPMT++ significantly enhances the performance of GPT-4 from 0 to 16 BLEU for Chinese-to-Zhuang translation and achieves 32 BLEU for Zhuang-to-Chinese translation. We also validate the effectiveness of our framework on Kalamang, another unseen language. Furthermore, we demonstrate the practical utility of DiPMT++ in aiding humans in translating completely unseen languages, which could contribute to the preservation of linguistic diversity.

View on arXivView PDF

Code Implementations(1)

MIT

[ACL'24 Findings] Teaching Large Language Models an Unseen Language on the Fly

292Shell, PythonFeb 29, 20249 months agoMIT
large-language-modelsllmlow-resource-languageslow-resource-nlpzhuang

Similar Papers

Cite this paper

@article{zhang2024teaching,
  title  = {Teaching Large Language Models an Unseen Language on the Fly},
  author = {Chen Zhang and Xiao Liu and Jiuheng Lin and Yansong Feng},
  year   = {2024},
  eprint = {2402.19167},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.19167v2}
}

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/2402.19167.svg)](https://codeofpaper.com/paper/2402.19167)

Discussion