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

通过基于上下文信息熵约束的自适应解码来识别和解决知识冲突

Discerning and Resolving Knowledge Conflicts through Adaptive Decoding with Contextual Information-Entropy Constraint

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Unisound AI Technology Co., Ltd.(云知声人工智能科技有限公司);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Xiaowei Yuan, Zhao Yang, Yequan Wang, Shengping Liu, Jun Zhao, Kang Liu

AI总结:

提出上下文信息熵约束解码(COIECD)方法,通过自适应识别并解决大语言模型的知识冲突,在提升冲突上下文忠实度的同时保持无冲突时的性能。

摘要:

大语言模型在预训练期间内化了大量参数化知识。同时,现实应用需要外部上下文知识来辅助模型处理底层任务。这引发了一个被称为知识冲突的关键困境,即上下文知识与[模型知识]发生冲突。然而,现有的解码工作专门用于解决知识冲突,在无冲突时可能会无意中降低性能。在本文中,我们提出了一种自适应解码方法,称为上下文信息熵约束解码(COIECD),以识别知识冲突是否发生并予以解决。它能提高模型对冲突上下文的忠实度,同时在无冲突时保持高性能。实验表明,COIECD在现实数据集上表现出针对知识冲突的强大性能和鲁棒性。代码已公开。

英文摘要:

Large language models internalize enormous parametric knowledge during pre-training. Concurrently, realistic applications necessitate external contextual knowledge to aid models on the underlying tasks. This raises a crucial dilemma known as knowledge conflicts, where the contextual knowledge clashes with the However, existing decoding works are specialized in resolving knowledge conflicts and could inadvertently deteriorate performance in absence of conflicts. In this paper, we propose an adaptive decoding method, termed as contextual information-entropy constraint decoding (COIECD), to discern whether the knowledge conflicts occur and resolve them. It can improve the model's faithfulness to conflicting context, and simultaneously maintain high performance among non- Our experiments show that COIECD exhibits strong performance and robustness over knowledge conflicts in realistic datasets. Code is available.

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

↑