arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2402.15929cs.AIcs.CLcs.LG
收藏

认证大语言模型中的知识理解能力

Certifying Knowledge Comprehension in LLMs

Siebel School of Computing and Data Science University of Illinois, Urbana-Champaign(计算机与数据科学学院 伊利诺伊大学厄巴纳-香槟分校)

Isha Chaudhary, Vedaant V. Jain, Gagandeep Singh

AI总结:

本文提出首个针对大语言模型知识理解的规范与认证框架,利用知识图谱生成概率证书,为模型回答可靠性提供形式化保证,并揭示SOTA模型在精准医学和通用问答中的脆弱性。

摘要:

大语言模型(LLMs)正越来越多地部署在安全关键系统中,它们基于从知识库中获取的上下文信息来提供答案。随着LLMs被日益设想为超人智能体,它们在知识理解方面的熟练度——即提取相关信息并对其进行推理以回答问题,这是人类智能的一个关键方面——变得至关重要。然而,现有对LLMs知识理解的评估通常在小测试集上进行,但这些数据集仅代表了海量可能查询中的极小一部分。在这些有限测试集上的简单经验评估引发了对结果可靠性和泛化性的担忧。在这项工作中,我们首次引入了针对LLMs知识理解的规范与认证框架,为可靠性提供了形式化的概率保证。我们不采用固定数据集,而是设计新颖的规范,利用知识图谱在数学上表示带有自然噪声的知识理解提示的、规模大得难以处理的概率分布。从这些规范中,我们生成定量证书,为给定LLM从规范分布中抽取的任何问题正确回答的概率提供高置信度、紧致的界限。我们将该框架应用于两个领域中的最先进(SOTA)LLMs认证:精准医学和通用问答。我们的结果揭示了SOTA LLMs中因提示中的自然噪声而先前未被识别的脆弱性。此外,我们在SOTA LLMs之间建立了具有形式化保证的性能层级,特别是在精准医学问答的背景下。

英文摘要:

Large Language Models (LLMs) are increasingly deployed in safety-critical systems where they provide answers based on in-context information derived from knowledge bases. As LLMs are increasingly envisioned as superhuman agents, their proficiency in knowledge comprehension-extracting relevant information and reasoning over it to answer questions, a key facet of human intelligence-becomes crucial. However, existing evaluations of LLMs on knowledge comprehension are typically conducted on small test sets, but these datasets represent only a tiny fraction of the vast number of possible queries. Simple empirical evaluations on these limited test sets raises concerns about the reliability and generalizability of the results. In this work, we introduce the first specification and certification framework for knowledge comprehension in LLMs, providing formal probabilistic guarantees for reliability. Instead of a fixed dataset, we design novel specifications that mathematically represent prohibitively large probability distributions of knowledge comprehension prompts with natural noise, using knowledge graphs. From these specifications, we generate quantitative certificates that offer high-confidence, tight bounds on the probability that a given LLM correctly answers any question drawn from the specification distribution. We apply our framework to certify SOTA LLMs in two domains: precision medicine and general question-answering. Our results reveal previously unrecognized vulnerabilities in SOTA LLMs due to natural noise in the prompts. Additionally, we establish performance hierarchies with formal guarantees among the SOTA LLMs, particularly in the context of precision medicine question-answering.

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

↑