arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.02002cs.CLcs.AI
收藏

面向长期对话中因果感知的位置去偏微调

Position Debiasing Fine-Tuning for Causal Perception in Long-Term Dialogue

Huazhong University of Science and Technology(华中科技大学);Joint Laboratory of HUST and Pingan Property & Casualty Research (HPL)(华中科技大学与平安财产保险研究联合实验室);Beijing Institute of Technology(北京理工大学);Ping An Property & Casualty Insurance Company of China, Ltd(中国平安财产保险股份有限公司)

Shixuan Fan, Wei Wei, Wendi Li, Xian-Ling Mao, Wenfeng Xie, Dangyang Chen

AI总结:

本文提出因果感知长期对话框架(CPD),通过基于扰动的因果变量发现方法提取因果相关话语,并采用局部位置感知消除句子间位置相关性,结合因果感知微调策略增强模型发现因果不变因素的能力,有效缓解了LLMs在长期对话中的位置偏差问题。

摘要:

对话系统的核心是基于广泛的对话历史生成相关、信息丰富且类人的回复。近期,由于大语言模型(LLMs)在生成话语方面的强大能力,对话生成领域已主流采用LLMs。然而,此类模型存在一个天然缺陷,即固有的位置偏差,这可能导致它们更关注邻近话语而非具有因果相关性的话语,从而在长期对话中生成无关且通用的回复。为缓解此问题,本文提出了一种名为因果感知长期对话框架(CPD)的新方法,该方法采用基于扰动的因果变量发现方法从对话历史中提取因果相关的话语,并在微调过程中增强模型的因果感知。具体而言,CPD中提出了一种局部位置感知方法,用于消除句子间的位置相关性,帮助模型基于扰动提取因果相关的话语。随后,还提出了一种因果感知微调策略,通过对因果相关和非因果相关的话语进行不同程度的扰动来生成回复,从而增强发现因果不变因素的能力。在两个数据集上的实验结果证明,我们提出的方法能有效缓解多种LLMs的位置偏差,并与现有基线相比取得了显著进展。

英文摘要:

The core of the dialogue system is to generate relevant, informative, and human-like responses based on extensive dialogue history. Recently, dialogue generation domain has seen mainstream adoption of large language models (LLMs), due to its powerful capability in generating utterances. However, there is a natural deficiency for such models, that is, inherent position bias, which may lead them to pay more attention to the nearby utterances instead of causally relevant ones, resulting in generating irrelevant and generic responses in long-term dialogue. To alleviate such problem, in this paper, we propose a novel method, named Causal Perception long-term Dialogue framework (CPD), which employs perturbation-based causal variable discovery method to extract casually relevant utterances from the dialogue history and enhances model causal perception during fine-tuning. Specifically, a local-position awareness method is proposed in CPD for inter-sentence position correlation elimination, which helps models extract causally relevant utterances based on perturbations. Then, a casual-perception fine-tuning strategy is also proposed, to enhance the capability of discovering the causal invariant factors, by differently perturbing causally relevant and non-casually relevant ones for response generation. Experimental results on two datasets prove that our proposed method can effectively alleviate the position bias for multiple LLMs and achieve significant progress compared with existing baselines.

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

↑