用AI反馈强化学习提升大模型的混合语种翻译能力
CHAI for LLMs: Improving Code-Mixed Translation in Large Language Models through Reinforcement Learning with AI Feedback
- 让大模型自动生成混合语种翻译的偏好数据
- 在真实数据集上使翻译胜率提升25.66%
- 适合需要多语言混合场景的开发者和研究者
大型语言模型在多种自然语言处理任务中表现出色,但在混合语种(代码切换)语言理解方面表现不佳。现有研究已证明当前最先进的多语言大模型在混合语种翻译任务中效果有限,但如何提升其处理能力尚未受关注。本文提出CHAI框架,通过三项创新实现这一目标:首先验证大模型作为混合语种翻译标注者的准确性;其次利用其生成大规模偏好数据,用于基于人工智能反馈的强化学习(RLAIF)训练;最后在多个真实数据集与设置下进行严谨评估。结果表明,经CHAI增强的大模型在混合语种翻译任务中,相较最先进开源模型,人类评判的胜率提升25.66%。本工作为构建更包容的混合语种大模型迈出关键一步。
原文摘要 · Abstract (English)
Large Language Models (LLMs) have demonstrated remarkable capabilities across various NLP tasks but struggle with code-mixed (or code-switched) language understanding. For example, prior work benchmarking the performance of multilingual LLMs on code-mixed translation tasks has demonstrated that current state-of-the-art multilingual LLMs are ineffective in dealing with code-mixed languages. However, the question of how to improve the capability of multilingual LLMs to handle code-mixed language has not received any attention to date. In this paper, we tackle this research gap by proposing CHAI, a novel general-purpose framework for improving the ability of multilingual LLMs to handle code-mixed languages. CHAI relies on three novel contributions made in this paper. First, we explore the ability of LLMs to provide accurate annotations for code-mixed translation tasks. Second, we leverage this ability of LLMs as annotators to generate preference data for code-mixed translation tasks at scale, which are then used within a reinforcement learning from AI feedback (RLAIF) procedure to improve LLMs' capability on code-mixed tasks. Third, we conduct a rigorous experimental evaluation across various real-world datasets and settings. Our analysis shows that CHAI-powered LLMs outperform state-of-the-art open-source LLMs by 25.66% (in terms of win rate adjudicated by human annotators) in code-mixed translation tasks. This work represents a first step towards developing more inclusive code-mixed LLMs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。