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

LLM Factoscope:通过内部状态分析揭示LLM的事实辨别能力

LLM Factoscope: Uncovering LLMs' Factual Discernment through Inner States Analysis

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院)

Jinwen He, Yujia Gong, Kai Chen, Zijin Lin, Chengan Wei, Yue Zhao

AI总结:

本文提出LLM factoscope,一种基于孪生网络的模型,利用LLM内部状态进行事实检测,在多种架构上实现超过96%的准确率,为提升LLM可靠性和透明度开辟新途径。

摘要:

大型语言模型(LLMs)凭借其广泛的知识和创造能力,彻底改变了各个领域。然而,LLMs的一个关键问题是其倾向于产生偏离事实现实的输出。这一现象在医疗咨询和法律建议等对准确性至关重要的敏感应用中尤为令人担忧。在本文中,我们引入了LLM factoscope,一种新颖的基于孪生网络的模型,利用LLMs的内部状态进行事实检测。我们的研究揭示了LLMs在生成事实与非事实内容时内部状态的可区分模式。我们展示了LLM factoscope在各种架构上的有效性,在事实检测中实现了超过96%的准确率。我们的工作为利用LLMs的内部状态进行事实检测开辟了新途径,并鼓励进一步探索LLMs的内部工作机制,以增强可靠性和透明度。

英文摘要:

Large Language Models (LLMs) have revolutionized various domains with extensive knowledge and creative capabilities. However, a critical issue with LLMs is their tendency to produce outputs that diverge from factual reality. This phenomenon is particularly concerning in sensitive applications such as medical consultation and legal advice, where accuracy is paramount. In this paper, we introduce the LLM factoscope, a novel Siamese network-based model that leverages the inner states of LLMs for factual detection. Our investigation reveals distinguishable patterns in LLMs' inner states when generating factual versus non-factual content. We demonstrate the LLM factoscope's effectiveness across various architectures, achieving over 96% accuracy in factual detection. Our work opens a new avenue for utilizing LLMs' inner states for factual detection and encourages further exploration into LLMs' inner workings for enhanced reliability and transparency.

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

↑