arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2304.02426cs.CL
收藏

ParroT:利用经人工翻译与反馈调优的大型语言模型在聊天过程中进行翻译

ParroT: Translating during Chat using Large Language Models tuned with Human Translation and Feedback

Tencent AI Lab(腾讯人工智能实验室);The Chinese University of Hong Kong(香港中文大学);Shanghai Jiao Tong University(上海交通大学);Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院)

Wenxiang Jiao, Jen-tse Huang, Wenxuan Wang, Zhiwei He, Tian Liang, Xing Wang, Shuming Shi, Zhaopeng Tu

AI总结:

本文提出 ParroT 框架,基于开源 LLM 与人工翻译及反馈数据,通过翻译、对比和错误引导指令增强聊天翻译能力,并在 Flores 与 WMT22 上验证其效果。

摘要:

像 ChatGPT 这样的大型语言模型(LLM)已在广泛的自然语言处理(NLP)任务上展现出卓越能力,包括在聊天过程中完成的各类机器翻译任务。然而,这些模型只能通过受限的 API 访问,这给该领域的新研究和进展造成了障碍。因此,我们提出 ParroT,这是一个基于开源 LLM(例如 LLaMA)、人工撰写的翻译和反馈数据来增强并规范聊天过程中翻译能力的框架。具体而言,ParroT 将翻译数据重构为指令遵循风格,并引入一个“$\mathbf{Hint}$”字段,用于纳入额外要求以规范翻译过程。相应地,我们提出三种用于微调 ParroT 模型的指令类型,包括翻译指令、对比指令和错误引导指令。在 Flores 子集和 WMT22 测试集上的实验表明,翻译指令显著提升了原始 LLM 的翻译性能,而错误引导指令能够带来进一步提升,这证明了从人工标注的低质量翻译中学习的重要性。我们还展示了在为缺乏人工标注数据的翻译方向构建错误引导指令时,自动评估工具在提供翻译质量信息方面的潜力。更多实现细节请参阅我们的 Github 项目:https://github.com/wxjiao/ParroT

英文摘要:

Large language models (LLMs) like ChatGPT have exhibited remarkable abilities on a wide range of natural language processing~(NLP) tasks, including various machine translation abilities accomplished during chat. However, these models are only accessible through restricted APIs, which creates barriers to new research and advancements in the field. Therefore, we propose ParroT, a framework to enhance and regulate the translation abilities during chat based on open-source LLMs (e.g., LLaMA), human-written translation and feedback data. Specifically, ParroT reformulates translation data into the instruction-following style, and introduces a "$\mathbf{Hint}$" field for incorporating extra requirements to regulate the translation process. Accordingly, we propose three instruction types for finetuning ParroT models, including translation instruction, contrastive instruction, and error-guided instruction. Experiments on Flores subsets and WMT22 test sets suggest that translation instruction improves the translation performance of vanilla LLMs significantly while error-guided instruction can lead to further improvement, which demonstrates the importance of learning from low-quality translations annotated by humans. We also demonstrate the potential of automatic evaluation tools in providing quality information of translations, when constructing error-guided instructions for directions that lack human annotation data. Please refer to our Github project for more implementation details: https://github.com/wxjiao/ParroT

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

↑