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

DeMPT:用于使LLMs成为更好上下文感知翻译器的解码增强多阶段提示微调

DeMPT: Decoding-enhanced Multi-phase Prompt Tuning for Making LLMs Be Better Context-aware Translators

School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);Huawei Translation Services Center(华为翻译服务中心)

Xinglin Lyu, Junhui Li, Yanqing Zhao, Min Zhang, Daimeng Wei, Shimin Tao, Hao Yang, Min Zhang

AI总结:

本文提出DeMPT方法,通过将上下文感知NMT过程划分为三个独立阶段并引入不同连续提示,使LLMs区分建模和利用句间与句内上下文,并在解码阶段启发式增强源端信息利用,显著优于拼接方法并提升语篇建模性能。

摘要:

通常,仅解码器大型语言模型(LLMs)以拼接方式适应上下文感知神经机器翻译(NMT),即LLMs将源句子(即句内上下文)和句间上下文的拼接作为输入,然后顺序生成目标词元。这种适应策略(即拼接模式)以相同优先级考虑句内和句间上下文,尽管这两种上下文存在明显差异。本文提出一种替代适应方法,名为解码增强多阶段提示微调(DeMPT),使LLMs能够区分建模和利用句间与句内上下文,并更有效地适应上下文感知NMT。首先,DeMPT将上下文感知NMT过程划分为三个独立阶段。在每个阶段,引入不同的连续提示使LLMs区分建模各类信息。其次,DeMPT采用启发式方法,在最终解码阶段进一步区分增强源端句间和句内信息的利用。实验表明,我们的方法显著优于拼接方法,并进一步提升了LLMs在语篇建模中的性能。

英文摘要:

Generally, the decoder-only large language models (LLMs) are adapted to context-aware neural machine translation (NMT) in a concatenating way, where LLMs take the concatenation of the source sentence (i.e., intra-sentence context) and the inter-sentence context as the input, and then to generate the target tokens sequentially. This adaptation strategy, i.e., concatenation mode, considers intra-sentence and inter-sentence contexts with the same priority, despite an apparent difference between the two kinds of contexts. In this paper, we propose an alternative adaptation approach, named Decoding-enhanced Multi-phase Prompt Tuning (DeMPT), to make LLMs discriminately model and utilize the inter- and intra-sentence context and more effectively adapt LLMs to context-aware NMT. First, DeMPT divides the context-aware NMT process into three separate phases. During each phase, different continuous prompts are introduced to make LLMs discriminately model various information. Second, DeMPT employs a heuristic way to further discriminately enhance the utilization of the source-side inter- and intra-sentence information at the final decoding phase. Experiments show that our approach significantly outperforms the concatenation method, and further improves the performance of LLMs in discourse modeling.

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

↑