The Law of Knowledge Overshadowing: Towards Understanding, Predicting, and Preventing LLM Hallucination
Zhang, Yuji, Li, Sha, Qian, Cheng, Liu, Jiateng, Yu, Pengfei, Han, Chi, Fung, Yi R., McKeown, Kathleen, Zhai, Chengxiang, Li, Manling, Ji, Heng
–arXiv.org Artificial Intelligence
Hallucination is a persistent challenge in large language models (LLMs), where even with rigorous quality control, models often generate distorted facts. This paradox, in which error generation continues despite high-quality training data, calls for a deeper understanding of the underlying LLM mechanisms. To address it, we propose a novel concept: knowledge overshadowing, where model's dominant knowledge can obscure less prominent knowledge during text generation, causing the model to fabricate inaccurate details. Building on this idea, we introduce a novel framework to quantify factual hallucinations by modeling knowledge overshadowing. Central to our approach is the log-linear law, which predicts that the rate of factual hallucination increases linearly with the logarithmic scale of (1) Knowledge Popularity, (2) Knowledge Length, and (3) Model Size. The law provides a means to preemptively quantify hallucinations, offering foresight into their occurrence even before model training or inference. Built on overshadowing effect, we propose a new decoding strategy CoDa, to mitigate hallucinations, which notably enhance model factuality on Overshadow (27.9%), MemoTrap (13.1%) and NQ-Swap (18.3%). Our findings not only deepen understandings of the underlying mechanisms behind hallucinations but also provide actionable insights for developing more predictable and controllable language models.
arXiv.org Artificial Intelligence
Feb-22-2025
- Country:
- North America
- Dominican Republic (0.04)
- United States
- Washington > King County
- Seattle (0.04)
- Illinois > Champaign County
- Urbana (0.04)
- Washington > King County
- Canada > Ontario
- Toronto (0.04)
- Europe
- Middle East > Republic of Türkiye
- Istanbul Province > Istanbul (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Croatia > Dubrovnik-Neretva County
- Dubrovnik (0.04)
- Middle East > Republic of Türkiye
- Asia
- North Korea (0.14)
- Singapore (0.04)
- Middle East
- UAE > Dubai Emirate
- Dubai (0.04)
- Republic of Türkiye > Istanbul Province
- Istanbul (0.04)
- UAE > Dubai Emirate
- Africa > Middle East
- Egypt
- Giza Governorate > Giza (0.04)
- Cairo Governorate > Cairo (0.04)
- Egypt
- North America
- Genre:
- Research Report > New Finding (0.66)
- Industry:
- Government > Regional Government (0.46)
- Information Technology (0.46)
- Technology: