arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.19167cs.CL
收藏

即时教会大语言模型一种未见过的语言

Teaching Large Language Models an Unseen Language on the Fly

Peking University(北京大学)

Chen Zhang, Xiao Liu, Jiuheng Lin, Yansong Feng

AI总结:

本文提出DiPMT++框架,仅用词典和5000平行句对通过上下文学习让GPT-4即时掌握壮语等未见语言,在中壮与壮中翻译上分别达到16和32 BLEU,并验证了其辅助人类翻译和保护语言多样性的潜力。

摘要:

现有的大语言模型难以支持众多低资源语言,尤其是那些训练数据极少、难以进行有效参数更新的极低资源语言。因此,我们研究大语言模型是否能够仅通过提示即时学习一种新语言。为研究这一问题,我们收集了一个壮语研究套件,目前没有任何大语言模型支持壮语。我们提出了DiPMT++,一个通过上下文学习使大语言模型适应未见语言的框架。仅使用一部词典和5000条平行句对,DiPMT++就将GPT-4在中译壮任务上的BLEU值从0显著提升至16,并在壮译中任务上达到32 BLEU。我们还在另一种未见语言Kalamang上验证了该框架的有效性。此外,我们展示了DiPMT++在帮助人类翻译完全未见语言方面的实际效用,这可能有助于保护语言多样性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑