Span-Level Hallucination Detection for LLM-Generated Answers

Passant Elchafei, Mervet Abu-Elkheir
4/25/2025
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Detecting spans of hallucination in LLM-generated answers is crucial for improving factual consistency. This paper presents a span-level hallucination detection framework for the SemEval-2025 Shared Task, focusing on English and Arabic texts. Our approach integrates Semantic Role Labeling (SRL) to decompose the answer into atomic roles, which are then compared with a retrieved reference context obtained via question-based LLM prompting. Using a DeBERTa-based textual entailment model, we evaluate each role semantic alignment with the retrieved context. The entailment scores are further refined through token-level confidence measures derived from output logits, and the combined scores are used to detect hallucinated spans. Experiments on the Mu-SHROOM dataset demonstrate competitive performance. Additionally, hallucinated spans have been verified through fact-checking by prompting GPT-4 and LLaMA. Our findings contribute to improving hallucination detection in LLM-generated responses.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{elchafei2025spanlevel,
  title  = {Span-Level Hallucination Detection for LLM-Generated Answers},
  author = {Passant Elchafei and Mervet Abu-Elkheir},
  year   = {2025},
  eprint = {2504.18639},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.18639v1}
}

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.18639.svg)](https://codeofpaper.com/paper/2504.18639)

Discussion