arXiv:2411.07858cs.CL2024-11被引 3

发现大模型在不确定时会过度啰嗦,影响回答可信度。

Verbosity $\neq$ Veracity: Demystify Verbosity Compensation Behavior of Large Language Models

  • 识别出大模型在不确定时的冗长回应行为,称为'冗余补偿'
  • GPT-4有50.4%的回答存在冗余,且冗长回答准确率低27.61%
  • 提出简单算法可将冗余率从63.81%降至16.16%,适合需高可信输出的场景

尽管大语言模型(LLMs)在各类任务中表现出强大能力,但近期研究揭示其存在幻觉、毒性等不良行为,限制了可靠性与广泛应用。本文首次发现并分析一种被忽视的不良行为——冗余补偿(Verbosity Compensation, VC),即模型在不确定性下产生重复、模糊或过度列举的冗长回应,类似人类的犹豫。我们在五个知识与推理型问答数据集上,对14个新开发的LLM进行实验,得出三项结论:1)VC在所有模型和数据集中普遍存在,其中GPT-4的频率达50.40%;2)冗长回答与简洁回答之间存在显著性能差距,Qasper数据集上准确率相差27.61%,且该差距不随模型能力提升而减小;3)冗长回答在所有数据集上均表现出更高模型不确定性。为此,我们提出一种级联式简化算法,能有效将Mistral模型在Qasper上的冗余率从63.81%降至16.16%。相关数据集与代码已开源。

原文摘要 · Abstract (English)

Although Large Language Models (LLMs) have demonstrated their strong capabilities in various tasks, recent work has revealed LLMs also exhibit undesirable behaviors, such as hallucination and toxicity, limiting their reliability and broader adoption. In this paper, we discover an understudied type of undesirable behavior of LLMs, which we term Verbosity Compensation (VC), similar to the hesitation behavior of humans under uncertainty, where they respond with excessive words such as repeating questions, introducing ambiguity, or providing excessive enumeration. We present the first work that defines and analyzes Verbosity Compensation, explores its causes, and proposes a simple mitigating approach. Our experiments, conducted on five datasets of knowledge and reasoning-based QA tasks with 14 newly developed LLMs, reveal three conclusions. 1) We reveal a pervasive presence of VC across all models and all datasets. Notably, GPT-4 exhibits a VC frequency of 50.40%. 2) We reveal the large performance gap between verbose and concise responses, with a notable difference of 27.61% on the Qasper dataset. We also demonstrate that this difference does not naturally diminish as LLM capability increases. Both 1) and 2) highlight the urgent need to mitigate the frequency of VC behavior and disentangle verbosity with veracity. We propose a simple yet effective cascade algorithm that replaces the verbose responses with the other model-generated responses. The results show that our approach effectively alleviates the VC of the Mistral model from 63.81% to 16.16% on the Qasper dataset. 3) We also find that verbose responses exhibit higher uncertainty across all five datasets, suggesting a strong connection between verbosity and model uncertainty. Our dataset and code are available at https://github.com/psunlpgroup/VerbosityLLM.

大模型冗余补偿可信度问答系统

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。