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

KnowPO:面向检索增强语言模型可控知识选择的知识感知偏好优化

KnowPO: Knowledge-aware Preference Optimization for Controllable Knowledge Selection in Retrieval-Augmented Language Models

Big Data Technology Research Center, Nanhu Laboratory(大数据技术研究中心,南湖实验室)

Ruizhe Zhang, Yongxin Xu, Yuzhen Xiao, Runchuan Zhu, Xinke Jiang, Xu Chu, Junfeng Zhao, Yasha Wang

AI总结:

针对检索增强语言模型知识整合中存在的冲突问题,提出知识感知偏好优化策略KnowPO,构建多类型知识冲突数据集并优化偏好平衡,显著提升知识选择效果与泛化能力。

摘要:

通过整合外部知识,检索增强生成(Retrieval-Augmented Generation,RAG)已成为缓解大语言模型(large language models,LLMs)处理知识密集型任务时幻觉问题的有效策略。然而,在将外部非参数化支撑证据与内部参数化知识整合的过程中,不可避免会出现知识冲突,导致模型响应混乱。为提升LLM在不同场景下的知识选择能力,部分研究聚焦于通过指令微调优化其行为模式。但由于缺乏明确的负向信号与对比目标,经该方式微调的模型仍可能出现上下文忽略、上下文过度纳入等不良行为。为此,我们提出一种知识感知偏好优化策略,命名为KnowPO,旨在真实检索场景下实现基于上下文相关性的自适应知识选择。具体而言,我们提出了一种构建知识冲突数据集的通用范式,该数据集全面覆盖各类错误类型,并通过偏好优化方法学习如何规避这些负向信号。同时,我们提出了重写策略与数据比例优化策略,以解决偏好不平衡问题。实验结果表明,KnowPO在处理知识冲突方面的表现优于现有方法37%以上,同时在各类分布外数据集上展现出较强的泛化能力。

英文摘要:

By integrating external knowledge, Retrieval-Augmented Generation (RAG) has become an effective strategy for mitigating the hallucination problems that large language models (LLMs) encounter when dealing with knowledge-intensive tasks. However, in the process of integrating external non-parametric supporting evidence with internal parametric knowledge, inevitable knowledge conflicts may arise, leading to confusion in the model's responses. To enhance the knowledge selection of LLMs in various contexts, some research has focused on refining their behavior patterns through instruction-tuning. Nonetheless, due to the absence of explicit negative signals and comparative objectives, models fine-tuned in this manner may still exhibit undesirable behaviors such as contextual ignorance and contextual overinclusion. To this end, we propose a Knowledge-aware Preference Optimization strategy, dubbed KnowPO, aimed at achieving adaptive knowledge selection based on contextual relevance in real retrieval scenarios. Concretely, we proposed a general paradigm for constructing knowledge conflict datasets, which comprehensively cover various error types and learn how to avoid these negative signals through preference optimization methods. Simultaneously, we proposed a rewriting strategy and data ratio optimization strategy to address preference imbalances. Experimental results show that KnowPO outperforms previous methods for handling knowledge conflicts by over 37\%, while also exhibiting robust generalization across various out-of-distribution datasets.

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

↑