对齐大语言模型以在面对对立论证时保持忠实完整性
Aligning Large Language Models for Faithful Integrity Against Opposing Argument
AI总结:
本文提出AFICE框架,通过双边置信度估计构建对话偏好数据集,并利用DPO对齐大语言模型,使其在面对对立论证时保持忠实陈述并纠正错误,从而提升模型在复杂交互中的可信度。
摘要:
大语言模型(LLMs)在复杂推理任务中展现了令人印象深刻的能力。然而,在对话过程中,即使它们最初的陈述是正确的,它们也很容易被不忠实的论证所误导。为此,我们研究了在LLMs中保持忠实完整性的问题。这包括确保LLMs在面对对立论证时坚持其忠实陈述,并在给出忠实论证时能够纠正其错误陈述。在这项工作中,我们提出了一个新颖的框架,名为基于置信度估计的忠实完整性对齐(AFICE),旨在使LLM的响应与忠实完整性对齐。具体来说,AFICE首先设计了一种双边置信度估计(BCE)方法,用于估计在给定特定上下文时LLM生成的每个响应的不确定性,该方法同时基于解码过程中的内部状态估计模型对问题的置信度,以及基于累积概率比估计模型对答案的置信度。利用BCE,我们构建了一个由上下文、原始陈述和论证组成的对话偏好数据集,该数据集用于通过直接偏好优化(DPO)对LLM进行忠实完整性对齐。在广泛基准上的大量实验结果表明,LLM在遇到对立论证时保持忠实响应的能力得到了显著提升,从而确保了LLM在复杂交互环境中的实用性和可信度。代码和数据将通过https://github.com/zhaoy777/AFICE.git发布。
英文摘要:
Large Language Models (LLMs) have demonstrated impressive capabilities in complex reasoning tasks. However, they can be easily misled by unfaithful arguments during conversations, even when their original statements are correct. To this end, we investigate the problem of maintaining faithful integrity in LLMs. This involves ensuring that LLMs adhere to their faithful statements in the face of opposing arguments and are able to correct their incorrect statements when presented with faithful arguments. In this work, we propose a novel framework, named Alignment for Faithful Integrity with Confidence Estimation (AFICE), which aims to align the LLM responses with faithful integrity. Specifically, AFICE first designs a Bilateral Confidence Estimation (BCE) approach for estimating the uncertainty of each response generated by the LLM given a specific context, which simultaneously estimate the model's confidence to the question based on the internal states during decoding as well as to the answer based on cumulative probability ratios. With the BCE, we construct a conversational preference dataset composed of context, original statement, and argument, which is adopted for aligning the LLM for faithful integrity using Direct Preference Optimization (DPO). Extensive experimental results on a wide range of benchmarks demonstrate significant improvements in the LLM's ability to maintain faithful responses when encountering opposing arguments, ensuring both the practical utility and trustworthiness of LLMs in complex interactive settings. Code and data will be released via https://github.com/zhaoy777/AFICE.git
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。