Distinguishing Ignorance from Error in LLM Hallucinations

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Simhi, Adi, Herzig, Jonathan, Szpektor, Idan, Belinkov, Yonatan
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912235191795712
author Simhi, Adi
Herzig, Jonathan
Szpektor, Idan
Belinkov, Yonatan
author_facet Simhi, Adi
Herzig, Jonathan
Szpektor, Idan
Belinkov, Yonatan
contents Large language models (LLMs) are susceptible to hallucinations -- factually incorrect outputs -- leading to a large body of work on detecting and mitigating such cases. We argue that it is important to distinguish between two types of hallucinations: ones where the model does not hold the correct answer in its parameters, which we term HK-, and ones where the model answers incorrectly despite having the required knowledge, termed HK+. We first find that HK+ hallucinations are prevalent and occur across models and datasets. Then, we demonstrate that distinguishing between these two cases is beneficial for mitigating hallucinations. Importantly, we show that different models hallucinate on different examples, which motivates constructing model-specific hallucination datasets for training detectors. Overall, our findings draw attention to classifying types of hallucinations and provide means to handle them more effectively. The code is available at https://github.com/technion-cs-nlp/hallucination-mitigation .
format Preprint
id arxiv_https___arxiv_org_abs_2410_22071
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Distinguishing Ignorance from Error in LLM Hallucinations
Simhi, Adi
Herzig, Jonathan
Szpektor, Idan
Belinkov, Yonatan
Computation and Language
I.2.7
Large language models (LLMs) are susceptible to hallucinations -- factually incorrect outputs -- leading to a large body of work on detecting and mitigating such cases. We argue that it is important to distinguish between two types of hallucinations: ones where the model does not hold the correct answer in its parameters, which we term HK-, and ones where the model answers incorrectly despite having the required knowledge, termed HK+. We first find that HK+ hallucinations are prevalent and occur across models and datasets. Then, we demonstrate that distinguishing between these two cases is beneficial for mitigating hallucinations. Importantly, we show that different models hallucinate on different examples, which motivates constructing model-specific hallucination datasets for training detectors. Overall, our findings draw attention to classifying types of hallucinations and provide means to handle them more effectively. The code is available at https://github.com/technion-cs-nlp/hallucination-mitigation .
title Distinguishing Ignorance from Error in LLM Hallucinations
topic Computation and Language
I.2.7
url https://arxiv.org/abs/2410.22071