[Paper Review] Knowledge Overshadowing Causes Amalgamated Hallucination in Large Language Models
The paper identifies a phenomenon called knowledge overshadowing, where prompts with multiple conditions cause LLMs to overlook some conditions, producing amalgamated hallucinations, and proposes inference-time detection and self-contrastive decoding to mitigate it.
Hallucination is often regarded as a major impediment for using large language models (LLMs), especially for knowledge-intensive tasks. Even when the training corpus consists solely of true statements, language models still generate hallucinations in the form of amalgamations of multiple facts. We coin this phenomenon as ``knowledge overshadowing'': when we query knowledge from a language model with multiple conditions, some conditions overshadow others, leading to hallucinated outputs. This phenomenon partially stems from training data imbalance, which we verify on both pretrained models and fine-tuned models, over a wide range of LM model families and sizes.From a theoretical point of view, knowledge overshadowing can be interpreted as over-generalization of the dominant conditions (patterns). We show that the hallucination rate grows with both the imbalance ratio (between the popular and unpopular condition) and the length of dominant condition description, consistent with our derived generalization bound. Finally, we propose to utilize overshadowing conditions as a signal to catch hallucination before it is produced, along with a training-free self-contrastive decoding method to alleviate hallucination during inference. Our proposed approach showcases up to 82% F1 for hallucination anticipation and 11.2% to 39.4% hallucination control, with different models and datasets.
Motivation & Objective
- Investigate why prompts with multiple conditions induce amalgamated hallucinations in LLMs even when training data is correct.
- Characterize how data imbalance and condition length affect hallucination rates across model families and sizes.
- Develop inference-time strategies to detect overshadowing and mitigate hallucinations without retraining.
Proposed method
- Define knowledge overshadowing as dominant conditions p(y|AB) ≈ p(y|A) causingless popular B to be ignored.
- Empirically show shadowing across pretrained and finetuned models on multiple tasks and model sizes.
- Quantify relation between imbalance ratio, condition length, and hallucination rate.
- Derive a generalization bound linking overshadowing to model generalization via NTP loss and GSNR.
- Propose PMI-based overshadows detection and an Escaping Penalty Mechanism (EPM) for detection.
- Introduce Self-Contrastive Decoding (SCD) to reduce dominance bias during inference.
Experimental results
Research questions
- RQ1Does knowledge overshadowing occur across model families and sizes when prompts contain multiple conditions?
- RQ2How do data imbalance and condition length influence the hallucination rate in autoregressive LLMs?
- RQ3Can inference-time detection and decoding techniques anticipate and mitigate overshadowing-induced hallucinations without retraining?
- RQ4What theoretical insights relate overshadowing to generalization bounds in next-token prediction?
Key findings
- Knowledge overshadowing produces amalgamated hallucinations across multiple model families and sizes.
- Hallucination rate increases with imbalance ratio, and larger models exhibit higher relative hallucination rates.
- Longer dominant condition descriptions lead to higher hallucination rates, with curves steepening for smaller models.
- A training-free overshadows detector using PMI signals achieves up to 82% F1 on anticipation datasets.
- Self-Contrastive Decoding reduces hallucination rates by 11.2% to 39.4% across datasets and models.
- A theoretical generalization bound links shadowing to GSNR and dominant-condition length.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.