arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.09073cs.CLcs.AIcs.LG
收藏

CHAI for LLMs:通过基于AI反馈的强化学习提升大语言模型中的语码混合翻译

CHAI for LLMs: Improving Code-Mixed Translation in Large Language Models through Reinforcement Learning with AI Feedback

Pennsylvania State University(宾夕法尼亚州立大学)

Wenbo Zhang, Aditya Majumdar, Asif Ekbal, Amulya Yadav

AI总结:

针对大语言模型在语码混合翻译上的不足,提出CHAI框架,利用LLM标注、RLAIF及领域知识宪法,使模型在CM翻译任务上平均胜率提升68.45%。

摘要:

大语言模型(LLMs)在许多任务上表现出强大的性能,但在理解语码混合(CM)语言方面仍然薄弱。尽管存在这一局限,针对提升LLMs在CM任务上的表现的研究却很少受到关注。为填补这一空白,我们提出了CHAI,一个用于增强LLMs在CM任务(重点为CM翻译)上性能的通用框架。CHAI利用了四个关键思想。首先,我们研究使用LLMs作为标注者,以解决高质量CM数据集稀缺的问题。其次,我们利用这些LLM标注生成大规模偏好数据,并应用基于AI反馈的强化学习(RLAIF)来改进CM翻译。第三,我们将LLM生成的领域知识作为宪法纳入,实现迭代式响应细化。第四,我们在真实世界数据集和设置上进行了广泛评估。结果表明,采用CHAI的LLMs在CM翻译任务上,经人工裁决的胜率平均比最先进的开源模型高出68.45%。这项工作朝着更具包容性的开源语码混合LLMs迈出了一步。

英文摘要:

Large language models (LLMs) show strong performance across many tasks but remain weak at understanding code-mixed (CM) language. Despite this limitation, improving LLMs for CM tasks has received little attention. To address this gap, we propose CHAI, a general-purpose framework for enhancing LLM performance on CM tasks, focusing on CM translation. CHAI leverages four key ideas. First, we investigate the use of LLMs as annotators to address the scarcity of high-quality CM datasets. Second, we leverage these LLM annotations to generate large-scale preference data and apply reinforcement learning from AI feedback (RLAIF) to improve CM translation. Third, we incorporate LLM-generated domain knowledge as a constitution, enabling iterative response refinement. Fourth, we perform extensive evaluations on real-world datasets and settings. Results show that CHAI-powered LLMs outperform state-of-the-art open-source models by 68.45% on average in human-adjudicated win rate on CM translation tasks. This work is a step toward more inclusive open-source code-mixed LLMs.

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

↑