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

一种使用风险调整置信度提升大语言模型鲁棒性的形式化体系与方法

A Formalism and Approach for Improving Robustness of Large Language Models Using Risk-Adjusted Confidence Scores

Ke Shen, Mayank Kejriwal

AI总结:

该研究定义形式化了大语言模型的决策与复合两类风险,提出风险评估框架与新指标,还推出DwD风险调整校准方法,经实验验证可有效降低NLI任务中的相关风险。

摘要:

大语言模型(LLM),例如ChatGPT,已在自然语言处理(NLP)领域取得了令人瞩目的里程碑式成果。尽管性能出色,这类模型仍存在显著风险。随着这些模型被部署到实际应用中,亟需系统地认知它们在自然语言推理(NLI)等任务上带来的各类风险。本文定义并形式化了两种不同类型的风险:决策风险与复合风险。我们还提出了一个以风险为核心的评估框架,以及四项全新指标,用于在域内和域外两种设置下评估大语言模型的上述风险。最后,我们提出了一种名为DwD的风险调整校准方法,用于帮助大语言模型在整体NLI架构中最小化这类风险。我们使用4个NLI基准、3个基线模型和包括ChatGPT在内的2个大语言模型开展了详细实验,结果既验证了该评估框架的实用价值,也证实了DwD在降低决策风险与复合风险方面的有效性。例如,使用DwD后,底层大语言模型能够多处理20.1%的低风险推理任务(这类任务在未进行风险调整时会被大语言模型错误判定为高风险),同时能多规避19.8%原本会答错的高风险任务。

英文摘要:

Large Language Models (LLMs), such as ChatGPT, have achieved impressive milestones in natural language processing (NLP). Despite their impressive performance, the models are known to pose important risks. As these models are deployed in real-world applications, a systematic understanding of different risks posed by these models on tasks such as natural language inference (NLI), is much needed. In this paper, we define and formalize two distinct types of risk: decision risk and composite risk. We also propose a risk-centric evaluation framework, and four novel metrics, for assessing LLMs on these risks in both in-domain and out-of-domain settings. Finally, we propose a risk-adjusted calibration method called DwD for helping LLMs minimize these risks in an overall NLI architecture. Detailed experiments, using four NLI benchmarks, three baselines and two LLMs, including ChatGPT, show both the practical utility of the evaluation framework, and the efficacy of DwD in reducing decision and composite risk. For instance, when using DwD, an underlying LLM is able to address an extra 20.1% of low-risk inference tasks (but which the LLM erroneously deems high-risk without risk adjustment) and skip a further 19.8% of high-risk tasks, which would have been answered incorrectly.

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

↑