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

N/ACitations
Citations of this article
6Readers
Mendeley users who have this article in their library.

Abstract

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.

Cite

CITATION STYLE

APA

Yu, S., Kim, G., & Kang, S. (2025). Context and Layers in Harmony: A Unified Strategy for Mitigating LLM Hallucinations. Mathematics, 13(11). https://doi.org/10.3390/math13111831

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free