paper-with-me

Papers

LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinations

2024-10-03 · Hadas Orgad, Michael Toker, Zorik Gekhman, Roi Reichart, Idan Szpektor, Hadas Kotek, Yonatan Belinkov

Large language models (LLMs) often produce errors, including factual inaccuracies, biases, and reasoning failures, collectively referred to as "hallucinations". Recent studies have demonstrated that LLMs' internal states encode information regarding the truthfulness of their outputs, and that this information can be utilized to detect errors. In this work, we show that the internal representations of LLMs encode much more information about truthfulness than previously recognized. We first discover that the truthfulness information is concentrated in specific tokens, and leveraging this property significantly enhances error detection performance. Yet, we show that such error detectors fail to generalize across datasets, implying that -- contrary to prior claims -- truthfulness encoding is not universal but rather multifaceted. Next, we show that internal representations can also be used for predicting the types of errors the model is likely to make, facilitating the development of tailored mitigation strategies. Lastly, we reveal a discrepancy between LLMs' internal encoding and external behavior: they may encode the correct answer, yet consistently generate an incorrect one. Taken together, these insights deepen our understanding of LLM errors from the model's internal perspective, which can guide future research on enhancing error analysis and mitigation.

📄 PDF Abstract BibTeX arXiv:2410.02707

Code (1)

technion-cs-nlp/llmsknow 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Inside-Out: Hidden Factual Knowledge in LLMs

2025-03-19 · Zorik Gekhman, Eyal Ben David, Hadas Orgad, Eran Ofek 외

This work presents a framework for assessing whether large language models (LLMs) encode more factual knowledge in their parameters than what they express in their outputs. While a few studies hint at this possibility, n…

Talking About Large Language Models

2022-12-07 · Murray Shanahan

Thanks to rapid progress in artificial intelligence, we have entered an era when technology and philosophy intersect in interesting ways. Sitting squarely at the centre of this intersection are large language models (LLM…

Philosophy

Parametric Knowledge is Not All You Need: Toward Honest Large Language Models via Retrieval of Pretraining Data

2026-01-29 · Christopher Adrian Kusuma, Muhammad Reza Qorib, Hwee Tou Ng arxiv

Large language models (LLMs) are highly capable of answering questions, but they are often unaware of their own knowledge boundary, i.e., knowing what they know and what they don't know. As a result, they can generate fa…

Program-Aided Reasoners (better) Know What They Know

2023-11-16 · Anubha Kabra, Sanketh Rangreji, Yash Mathur, Aman Madaan 외

Prior work shows that program-aided reasoning, in which large language models (LLMs) are combined with programs written in programming languages such as Python, can significantly improve accuracy on various reasoning tas…

Diversity

Are LLMs Really Not Knowledgable? Mining the Submerged Knowledge in LLMs' Memory

2024-12-30 · Xingjian Tao, Yiwei Wang, Yujun Cai, Zhicheng Yang 외

Large language models (LLMs) have shown promise as potential knowledge bases, yet they often struggle with question-answering tasks and are prone to hallucinations. While previous research attributes these issues to know…

Question Answering