arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.06816cs.AIcs.CL
收藏

MAQA:评估LLMs中关于数据不确定性的不确定性量化

MAQA: Evaluating Uncertainty Quantification in LLMs Regarding Data Uncertainty

KAIST(韩国科学技术院);Sogang University(西江大学);NAVER AI Lab(NAVER AI实验室)

Yongjin Yang, Haneul Yoo, Hwaran Lee

AI总结:

本文提出多答案问答数据集MAQA以评估数据不确定性下LLMs的不确定性量化方法,发现基于熵和一致性的方法能有效估计模型不确定性。

摘要:

尽管大型语言模型(LLMs)取得了巨大进展,但它们仍然会产生看似合理但不正确的响应。为了提高LLMs的可靠性,最近的研究集中在不确定性量化上,以预测响应是否正确。然而,大多数不确定性量化方法都是在单标签问题上进行评估的,这消除了数据不确定性:用户查询中经常存在的不可约随机性,可能由多个可能答案等因素引起。这一限制可能导致不确定性量化结果在实际设置中不可靠。在本文中,我们研究了数据不确定性存在下的先前不确定性量化方法。我们的贡献有两个方面:1)提出一个新的多答案问答数据集MAQA,由世界知识、数学推理和常识推理任务组成,以评估关于数据不确定性的不确定性量化;2)评估不同白盒和黑盒LLMs的5种不确定性量化方法。我们的发现表明,与单答案设置相比,先前的方法相对困难,尽管这因任务而异。此外,我们观察到基于熵和一致性的方法能有效地估计模型不确定性,即使在存在数据不确定性的情况下。我们相信这些观察将指导未来在更现实设置中关于不确定性量化的工作。

英文摘要:

Despite the massive advancements in large language models (LLMs), they still suffer from producing plausible but incorrect responses. To improve the reliability of LLMs, recent research has focused on uncertainty quantification to predict whether a response is correct or not. However, most uncertainty quantification methods have been evaluated on single-labeled questions, which removes data uncertainty: the irreducible randomness often present in user queries, which can arise from factors like multiple possible answers. This limitation may cause uncertainty quantification results to be unreliable in practical settings. In this paper, we investigate previous uncertainty quantification methods under the presence of data uncertainty. Our contributions are two-fold: 1) proposing a new Multi-Answer Question Answering dataset, MAQA, consisting of world knowledge, mathematical reasoning, and commonsense reasoning tasks to evaluate uncertainty quantification regarding data uncertainty, and 2) assessing 5 uncertainty quantification methods of diverse white- and black-box LLMs. Our findings show that previous methods relatively struggle compared to single-answer settings, though this varies depending on the task. Moreover, we observe that entropy- and consistency-based methods effectively estimate model uncertainty, even in the presence of data uncertainty. We believe these observations will guide future work on uncertainty quantification in more realistic settings.

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

↑