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

面向多领域翻译的大语言模型:基准构建与领域思维链微调

Large Language Model for Multi-Domain Translation: Benchmarking and Domain CoT Fine-tuning

Shanghai Jiao Tong University(上海交通大学);Tongyi Lab(通义实验室);University of Macau(澳门大学)

Tianxiang Hu, Pei Zhang, Baosong Yang, Jun Xie, Derek F. Wong, Rui Wang

AI总结:

本文构建了覆盖15个领域的多领域翻译基准,并提出领域思维链微调方法,通过引导大语言模型感知源文本领域信息来提升翻译性能,在分布外测试中平均BLEU提高1.53。

摘要:

在多样化的领域中实现一致的高质量机器翻译(MT)仍然是一项重大挑战,主要原因是各领域可用的平行训练数据有限且不均衡。尽管大语言模型(LLMs)已展现出令人印象深刻的通用理解与生成能力,但它们在多领域机器翻译中的潜力尚未得到充分探索。我们构建了一个全面的多领域翻译基准,分别包含25个德语$\Leftrightarrow$英语和22个中文$\Leftrightarrow$英语测试集,覆盖15个领域。我们对主流大语言模型的评估揭示了其与传统机器翻译系统之间存在明显的性能差距,并突显了在领域受限语料上微调后出现的领域过拟合和灾难性遗忘问题。为缓解这一问题,我们提出了一种领域思维链(CoT)微调技术,利用大语言模型内在的多领域智能来提升翻译性能。该方法引导大语言模型从源文本中感知领域信息,进而将其作为有益提示来指导翻译过程。尽管仅在包含四个领域的小型数据集上训练,我们的思维链微调方法相比传统微调在翻译准确性和领域鲁棒性方面取得了显著提升,在20多个德语$\rightarrow$英语的不同分布外测试中平均BLEU分数提高了1.53。

英文摘要:

Achieving consistent high-quality machine translation (MT) across diverse domains remains a significant challenge, primarily due to the limited and imbalanced parallel training data available in various domains. While large language models (LLMs) have demonstrated impressive general understanding and generation abilities, their potential in multi-domain MT is under-explored. We establish a comprehensive benchmark for multi-domain translation, featuring 25 German$\Leftrightarrow$English and 22 Chinese$\Leftrightarrow$English test sets respectively covering 15 domains. Our evaluation of prominent LLMs reveals a discernible performance gap against traditional MT systems, highlighting domain overfitting and catastrophic forgetting issues after fine-tuning on domain-limited corpora. To mitigate this, we propose a domain Chain of Thought (CoT) fine-tuning technique that utilizes the intrinsic multi-domain intelligence of LLMs to improve translation performance. This method inspires the LLM to perceive domain information from the source text, which then serves as a helpful hint to guide the translation process. Despite being trained on a small dataset of four domains, our CoT fine-tune approach achieves notable enhancements in translation accuracy and domain robustness than traditional fine-tuning, as evidenced by an average 1.53 BLEU score increase in over 20 German$\rightarrow$English distinct out-of-domain tests.

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

↑