arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.10235cs.LGcs.AI
收藏

评估大型语言模型的隐藏风险:关于鲁棒性、一致性和可信度的实证研究

Assessing Hidden Risks of LLMs: An Empirical Study on Robustness, Consistency, and Credibility

Zhejiang University(浙江大学);ZhongHao XinYing (Hangzhou) Technology Co., Ltd.(中昊芯英(杭州)科技有限公司);Beijing Academy of Artificial Intelligence(北京智源人工智能研究院)

Wentao Ye, Mingfeng Ou, Tianyi Li, Yipeng chen, Xuetao Ma, Yifan Yanggong, Sai Wu, Jie Fu, Gang Chen, Haobo Wang, Junbo Zhao

AI总结:

本研究提出自动化流程,对主流LLM进行百万级查询,评估其鲁棒性、一致性和可信度,发现微小输入错误可致意外响应、语义相似输入下一致性差,并提出新指数评估数据用于LLM评估的可行性。

摘要:

大型语言模型(LLM)近期的流行对众多领域产生了显著影响,尤其是通过其开放生态系统,如API、开源模型和插件。然而,随着其广泛部署,目前普遍缺乏深入讨论和分析潜在隐藏风险的研究。为此,我们旨在开展一项初步但具有开创性的研究,涵盖LLM系统的鲁棒性、一致性和可信度。由于LLM时代的相关文献大多尚未探索,我们提出了一种自动化工作流程,以处理大规模数量的查询/响应。总体而言,我们对主流LLM(包括ChatGPT、LLaMA和OPT)执行了超过一百万次查询。我们工作流程的核心包括一个数据原语,随后是一个自动解释器,用于在不同的对抗性度量体系下评估这些LLM。结果,我们得出了一些可能不幸的结论,这些结论在这个流行社区中相当不寻常。简要来说,它们是:(i)用户生成的查询输入中微小但不可避免的错误可能偶然导致LLM产生意外响应;(ii)在处理语义相似的查询输入时,LLM表现出较差的一致性。此外,作为附带发现,我们发现ChatGPT即使在输入被极端污染的情况下仍能产生正确答案。虽然这一现象展示了LLM强大的记忆能力,但它引发了关于在学术发展中使用此类数据进行涉及LLM评估的严重担忧。为了解决这个问题,我们提出了一种与数据集相关的新指数,该指数大致决定了使用此类数据进行涉及LLM评估的可行性。大量的实证研究支持上述主张。

英文摘要:

The recent popularity of large language models (LLMs) has brought a significant impact to boundless fields, particularly through their open-ended ecosystem such as the APIs, open-sourced models, and plugins. However, with their widespread deployment, there is a general lack of research that thoroughly discusses and analyzes the potential risks concealed. In that case, we intend to conduct a preliminary but pioneering study covering the robustness, consistency, and credibility of LLMs systems. With most of the related literature in the era of LLM uncharted, we propose an automated workflow that copes with an upscaled number of queries/responses. Overall, we conduct over a million queries to the mainstream LLMs including ChatGPT, LLaMA, and OPT. Core to our workflow consists of a data primitive, followed by an automated interpreter that evaluates these LLMs under different adversarial metrical systems. As a result, we draw several, and perhaps unfortunate, conclusions that are quite uncommon from this trendy community. Briefly, they are: (i)-the minor but inevitable error occurrence in the user-generated query input may, by chance, cause the LLM to respond unexpectedly; (ii)-LLMs possess poor consistency when processing semantically similar query input. In addition, as a side finding, we find that ChatGPT is still capable to yield the correct answer even when the input is polluted at an extreme level. While this phenomenon demonstrates the powerful memorization of the LLMs, it raises serious concerns about using such data for LLM-involved evaluation in academic development. To deal with it, we propose a novel index associated with a dataset that roughly decides the feasibility of using such data for LLM-involved evaluation. Extensive empirical studies are tagged to support the aforementioned claims.

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

↑