Look Before You Leap: An Exploratory Study of Uncertainty Analysis for Large Language Models

计算机科学 探索性研究 探索性分析 程序设计语言 软件工程 数据科学 人类学 社会学
作者
Yuheng Huang,Jiayang Song,Zhijie Wang,Shengming Zhao,Huaming Chen,Felix Juefei-Xu,Lei Ma
出处
期刊:IEEE Transactions on Software Engineering [IEEE Computer Society]
卷期号:51 (2): 413-429 被引量:34
标识
DOI:10.1109/tse.2024.3519464
摘要

The recent performance leap of Large Language Models (LLMs) opens up new opportunities across numerous industrial applications and domains. However, the potential erroneous behavior (e.g., the generation of misinformation and hallucination) has also raised severe concerns for the trustworthiness of LLMs, especially in safety-, security- and reliability-sensitive industrial scenarios, potentially hindering real-world adoptions. While uncertainty estimation has shown its potential for interpreting the prediction risks made by classic machine learning (ML) models, the unique characteristics of recent LLMs (e.g., adopting self-attention mechanism as its core, very largescale model size, often used in generative contexts) pose new challenges for the behavior analysis of LLMs. Up to the present, little progress has been made to better understand whether and to what extent uncertainty estimation can help characterize the capability boundary of an LLM, to counteract its undesired behavior, which is considered to be of great importance with the potential wide-range applications of LLMs across industry domains. To bridge the gap, in this paper, we initiate an early exploratory study of the risk assessment of LLMs from the lens of uncertainty. In particular, we conduct a large-scale study with as many as twelve uncertainty estimation methods and eight general LLMs on four NLP tasks and seven programming-capable LLMs on two code generation tasks to investigate to what extent uncertainty estimation techniques could help characterize the prediction risks of LLMs. Our findings confirm the potential of uncertainty estimation for revealing LLMs’ uncertain/nonfactual predictions. The insights derived from our study can pave the way for more advanced analysis and research on LLMs, ultimately aiming at enhancing their trustworthiness.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
科研通AI6.3应助宫立辉采纳,获得10
刚刚
刚刚
KeiQ完成签到,获得积分10
1秒前
1秒前
111发布了新的文献求助10
2秒前
李爱国应助浏阳河采纳,获得10
3秒前
xiaoxie发布了新的文献求助10
3秒前
汉堡包应助百里秋采纳,获得10
4秒前
晓晓发布了新的文献求助10
4秒前
一袋星光发布了新的文献求助10
4秒前
7秒前
科研通AI6.3应助欣欣采纳,获得10
8秒前
8秒前
顾矜应助zwy109采纳,获得10
9秒前
今后应助2389937250采纳,获得10
10秒前
momomiao完成签到,获得积分10
10秒前
何时发布了新的文献求助10
10秒前
lx发布了新的文献求助10
11秒前
科研通AI6.2应助天天采纳,获得10
11秒前
ccc关注了科研通微信公众号
11秒前
11秒前
12秒前
12秒前
小马甲应助Humab668采纳,获得30
12秒前
njnuzhangjun完成签到,获得积分10
12秒前
13秒前
华仔应助晓晓采纳,获得10
14秒前
15秒前
酸枣完成签到,获得积分10
15秒前
喃喃发布了新的文献求助10
15秒前
超级铅笔发布了新的文献求助10
16秒前
南国完成签到,获得积分10
16秒前
浏阳河发布了新的文献求助10
16秒前
16秒前
宫立辉发布了新的文献求助10
17秒前
as发布了新的文献求助10
17秒前
18秒前
元气弹完成签到 ,获得积分10
18秒前
18秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Development of a Bridge Weigh-In-Motion System: A technology to convert the bridge response to the passage of traffic into data on vehicle configurations, speeds, times of travel and weights 1000
Molecular Mechanisms of Photosynthesis, 4th Edition 1000
Organic Reactions, Volume 116 1000
Current concepts in cutaneous toxicity : proceedings of the Fourth Conference on Cutaneous Toxicity, Washington, D.C., May 9-11, 1979 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7265885
求助须知:如何正确求助?哪些是违规求助? 8886822
关于积分的说明 18782934
捐赠科研通 6943364
什么是DOI,文献DOI怎么找? 3203019
关于科研通互助平台的介绍 2376092
邀请新用户注册赠送积分活动 2178906