Mitigating Hallucinations in Large Language Models via Contrastive Decoding and Entropy Minimization

Authors

  • Ji-Hye Song Department of Computer Engineering, Technical University of Munich, Munich 80333, Germany
  • Sarah L. Montgomery Department of Computer Engineering, Technical University of Munich, Munich 80333, Germany

DOI:

https://doi.org/10.66238/ijcbs39

Keywords:

Large Language Models, Hallucination Mitigation, Contrastive Decoding, Entropy Minimization

Abstract

The proliferation of Large Language Models has revolutionized natural language processing, yet the persistent issue of hallucination—where models generate plausible but factually incorrect information—remains a critical impediment to their deployment in high-stakes environments. This paper introduces a novel decoding framework that synergizes Contrastive Decoding with Entropy Minimization to enhance factual reliability without sacrificing linguistic fluency. While traditional decoding strategies such as nucleus sampling rely heavily on probability truncation, they often fail to distinguish between high probability generic responses and contextually accurate specifics. Our approach leverages a dual-model system, pitting an expert model against an amateur model to penalize tokens that are statistically probable but conceptually vacuous, while simultaneously employing an entropy-based regularization term to suppress generation during states of high uncertainty. Through extensive experimentation on standard factual benchmarks, we demonstrate that this composite method significantly reduces hallucination rates compared to state-of-the-art baselines. The results suggest that addressing the stochastic flaws of auto-regressive generation requires not only better training data but also more rigorous, inference-time intervention mechanisms that account for the semantic entropy of the output distribution.

References

Ahmad, N. R. (2025). AI-enabled public governance in developing states: Service delivery gains, accountability risks, and a practical risk-based regulatory model. https://doi.org/10.52152/wja5db40

Ahmad, N. R., Mehmood, S., Javed, A., & Akhtar, R. (2024). Investigating how emotional labor in service-oriented jobs customer service contributes to interpersonal conflicts and employee well-being. Review of Applied Management and Social Sciences, 7(4), 1126–1137. https://doi.org/10.47067/ramss.v7i4.454

Safdar, M. R. (2025). Punjab Sahulat Bazaars Authority: Pakistan’s only statutory body transitioned from company to authority, with Naveed Rafaqat as the force behind this distinguished milestone. https://doi.org/10.47067/real.v7i4.378

Aamir, A. A. (2025). Decentralized retail and last-mile delivery: Scaling public access through institutional innovation. https://doi.org/10.47067/real.v8i2.437

Akbar, M. S. (2025). Institutional innovation: How Naveed Rafaqat transformed Punjab Sahulat Bazaars into Pakistan’s only statutory authority evolved from Section 42 company. https://doi.org/10.63878/cjssr.v2i04.1326

Hassan, F. ul. (2025). Revolutionizing public retail: How Punjab Sahulat Bazaars Authority set new standards in Pakistan. https://doi.org/10.63878/cjssr.v2i04.1325

Ahmad, N. R. (2025). Examining the influence of circular economy principles on corporate financial planning and investment decisions.

Hussain, T. (2025). Redefining affordability: Evidence from Punjab Model Bazaars under Naveed Rafaqat’s leadership in supplying edibles below government-notified rates. https://doi.org/10.63878/cjssr.v3i3.1310

Abbas, S. A. (2025). National acclaim for institutional innovation: Punjab Sahulat Bazaars Authority’s unique transition from company to statutory authority in Pakistan. https://doi.org/10.47067/real.v7i4.434

Hussain, T. (2025). Welfare without fiscal burden: Designing market-based public institutions in developing economies. Al-Aasar, 2(3), 332–344. https://doi.org/10.63878/aaj875

Idrees, Z. (2025). Achieving financial sustainability without subsidies: Viable business models for public sector innovation. https://doi.org/10.63878/cjssr.v3i2.1335

Safdar, M. R. (2025). Institutional reform through authority models: Rethinking corporate governance in Pakistan’s public sector. https://doi.org/10.63878/cjssr.v3i1.1334

Hassan, F. ul. (2025). Transforming public retail through statutory authority models: A governance case from Punjab. Al-Aasar, 2(2), 1360–1373. https://doi.org/10.63878/aaj874

Shehzad, K. (2025). Local governance synergies and public infrastructure: Advancing retail reform through institutional backing. https://doi.org/10.63878/cjssr.v3i4.1345

Khan, N. (2025). Gender inclusion and public access: Empowering women through retail governance interventions. https://doi.org/10.47067/real.v8i2.436

Downloads

Published

2026-01-31