坚定还是善变?评估大语言模型在序列交互中的一致性
Firm or Fickle? Evaluating Large Language Models Consistency in Sequential Interactions
AI总结:
本文针对大语言模型在多轮交互中的一致性问题,提出PWC评估指标、MT-Consistency基准数据集以及CARG生成框架,在不牺牲准确率的前提下显著提升响应稳定性。
摘要:
大语言模型(LLMs)已在各类任务中展现出卓越能力,但将其部署于高风险领域时,需要在多轮用户交互中保持一致且连贯的行为。本文提出了一个用于评估和提升LLM响应一致性的综合框架,并做出三项关键贡献。代码和数据可在以下地址获取:https://github.com/yubol-bobo/MT-Consistency。第一,我们引入了位置加权一致性(Position-Weighted Consistency,PWC)指标,该指标旨在同时捕捉多轮交互中早期阶段稳定性的重要性以及恢复模式。第二,我们提出了MT-Consistency,这是一个经过精心构建的基准数据集,涵盖多个领域和不同难度级别,专门用于在各种具有挑战性的追问场景下评估LLM的一致性。第三,我们提出了置信度感知响应生成(Confidence-Aware Response Generation,CARG)框架,该框架通过在生成过程中显式整合模型内部置信度分数,显著提升响应稳定性。实验结果表明,CARG在不牺牲准确率的前提下显著提升了响应稳定性,为在关键的真实世界部署中实现更可靠的LLM行为提供了一条切实可行的路径。
英文摘要:
Large Language Models (LLMs) have shown remarkable capabilities across various tasks, but their deployment in high-stake domains requires consistent and coherent behavior across multiple rounds of user interaction. This paper introduces a comprehensive framework for evaluating and improving LLM response consistency, making three key contributions. Code and data are available at: https://github.com/yubol-bobo/MT-Consistency. First, we introduce Position-Weighted Consistency (PWC), a metric designed to capture both the importance of early-stage stability and recovery patterns in multi-turn interactions. Second, we present MT-Consistency, a carefully curated benchmark dataset spanning diverse domains and difficulty levels, specifically designed to evaluate LLM consistency under various challenging follow-up scenarios. Third, we introduce Confidence-Aware Response Generation (CARG), a framework that significantly improves response stability by explicitly integrating internal model confidence scores during the generation process. Experimental results demonstrate that CARG significantly improves response stability without sacrificing accuracy, offering a practical path toward more dependable LLM behavior in critical, real-world deployments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。