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

通过模型编辑缓解基于大语言模型的机器翻译中的语言不匹配与重复问题

Mitigating the Language Mismatch and Repetition Issues in LLM-based Machine Translation via Model Editing

City University of Hong Kong(香港城市大学);City University of Hong Kong Shenzhen Research Institute(香港城市大学深圳研究院);University of Science and Technology of China(中国科学技术大学);Zhejiang University(浙江大学)

Weichuan Wang, Zhaoyi Li, Defu Lian, Chen Ma, Linqi Song, Ying Wei

AI总结:

针对大语言模型机器翻译中常见的语言不匹配与重复错误,提出通过取不同语言设置下定位结果交集优化模型编辑组件的方法,在降低两类错误率的同时多数情况下可提升或保持通用翻译质量。

摘要:

大语言模型(LLM)近年来革新了自然语言处理(NLP)领域,但在部分特定下游任务中仍存在不足。本研究聚焦于利用LLM开展机器翻译任务,观察到两类频繁出现且严重影响翻译质量的错误模式:语言不匹配与重复。本研究旨在探索通过模型编辑方法缓解这两类问题的潜力,例如定位导致错误的前馈网络(Feed-Forward Network, FFN)神经元或相关组件,并在推理阶段将其停用。我们发现,直接应用这类方法要么对目标错误的改善效果有限,要么会对通用翻译质量产生显著的负面副作用,这表明所定位的组件可能对于保障LLM的机器翻译正常运行同样至关重要。为此,我们提出对定位的组件进行优化:通过获取不同语言设置下定位结果的交集,过滤掉上述与目标错误无关的信息。实验结果实证表明,我们的方法能够有效降低语言不匹配率和重复率,同时在大多数情况下提升或保持通用翻译质量。

英文摘要:

Large Language Models (LLMs) have recently revolutionized the NLP field, while they still fall short in some specific down-stream tasks. In the work, we focus on utilizing LLMs to perform machine translation, where we observe that two patterns of errors frequently occur and drastically affect the translation quality: language mismatch and repetition. The work sets out to explore the potential for mitigating these two issues by leveraging model editing methods, e.g., by locating Feed-Forward Network (FFN) neurons or something that are responsible for the errors and deactivating them in the inference time. We find that directly applying such methods either limited effect on the targeted errors or has significant negative side-effect on the general translation quality, indicating that the located components may also be crucial for ensuring machine translation with LLMs on the rails. To this end, we propose to refine the located components by fetching the intersection of the locating results under different language settings, filtering out the aforementioned information that is irrelevant to targeted errors. The experiment results empirically demonstrate that our methods can effectively reduce the language mismatch and repetition ratios and meanwhile enhance or keep the general translation quality in most cases.

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

↑