HalluciNot: Hallucination Detection Through Context and Common Knowledge Verification

Bibek Paudel, Alexander Lyzhov, Preetam Joshi, Puneet Anand
4/9/2025
cs.CLcs.AI

No official code found. Best implementation: aimonlabs/hallucination-detection-model (13 stars, last commit 2025-05-02).

Abstract

This paper introduces a comprehensive system for detecting hallucinations in large language model (LLM) outputs in enterprise settings. We present a novel taxonomy of LLM responses specific to hallucination in enterprise applications, categorizing them into context-based, common knowledge, enterprise-specific, and innocuous statements. Our hallucination detection model HDM-2 validates LLM responses with respect to both context and generally known facts (common knowledge). It provides both hallucination scores and word-level annotations, enabling precise identification of problematic content. To evaluate it on context-based and common-knowledge hallucinations, we introduce a new dataset HDMBench. Experimental results demonstrate that HDM-2 out-performs existing approaches across RagTruth, TruthfulQA, and HDMBench datasets. This work addresses the specific challenges of enterprise deployment, including computational efficiency, domain specialization, and fine-grained error identification. Our evaluation dataset, model weights, and inference code are publicly available.

View on arXivView PDF

Code Implementations(1)

HalluciNot: Hallucination Detection Through Context and Common Knowledge Verification

130PythonApr 8, 20251 years agoNOASSERTION
hallucinationhallucination-detectionllmmachine-learningnlp

Similar Papers

Cite this paper

@article{paudel2025hallucinot,
  title  = {HalluciNot: Hallucination Detection Through Context and Common Knowledge Verification},
  author = {Bibek Paudel and Alexander Lyzhov and Preetam Joshi and Puneet Anand},
  year   = {2025},
  eprint = {2504.07069},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.07069v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.07069.svg)](https://codeofpaper.com/paper/2504.07069)

Discussion