Context and Layers in Harmony: A Unified Strategy for Mitigating LLM Hallucinations

Citations

WEB OF SCIENCE

3
Citations

SCOPUS

6

초록

Large language models, despite their strong performance, frequently produce hallucinated content due to excessive reliance on pre-trained knowledge while insufficiently integrating newly provided context. We introduce LACD, a technique that dynamically rebalances probability distributions across layers, ensuring critical context is not overshadowed. By emphasizing new prompt information, LACD alleviates lower-layer dominance and mitigates hallucinations. On the HotPotQA dataset, LACD outperforms basic context injection baselines by approximately 2.2% in exact match (EM) and matches or exceeds advanced methods such as DoLa and CAD. LACD also demonstrates robust gains on SQuAD, underscoring its capacity to reduce hallucinations while improving factual consistency. Overall, these findings highlight the importance of carefully integrating newly provided context with pre-trained knowledge to achieve more reliable language generation.

키워드

large language models; hallucination; decoding strategy; dynamic layer selection
제목
Context and Layers in Harmony: A Unified Strategy for Mitigating LLM Hallucinations
저자
Yu, Sangyeon; Kim, Gyunyeop; Kang, Sangwoo
DOI
10.3390/math13111831
발행일
2025-05
유형
Article
저널명
MATHEMATICS
권
13
호
11