SHAM-Bench: A Span-level Hallucination Benchmark Across Multiple Tasks
Organizations: University of California, Santa Cruz
Abstract
Span-level hallucination detection pinpoints unsupported content in LLM outputs, enabling actionable feedback and targeted mitigation. Existing evaluations for span-level hallucination detection methods are fragmented across tasks, annotation formats, and metrics, and most span-level datasets cover only a single NLG domain, making it difficult to assess whether a detection method actually generalizes across tasks and domains. In this paper, we introduce SHAM-Bench (Span-level Hallucination Benchmark Across Multiple Tasks), a unified benchmark for span-level hallucination detection spanning six NLG tasks, aggregated from existing human-annotated datasets totaling 6,461 examples under a common schema and evaluation protocol. Using SHAM-Bench, we evaluate existing hallucination detection methods and find that fine-tuned detectors often perform well in-domain but degrade under distribution shift, whereas prompt-based methods with reasoning are more robust across tasks. Our analysis further shows that subtle unsupported content remains difficult to detect and span-level evaluation is still challenged by ambiguous span boundaries and noisy labels. We release the dataset, evaluation code, and a public leaderboard to support future research on broadly generalizable hallucination detection.
Figures & tables
| Task & | % of | count | response | hallu | hallu |
|---|---|---|---|---|---|
| dataset | total | words | words | rate | |
| context_qa | 13.5% | 875 | 131.5 | 7.1 | 0.041 |
| ragtruth | 13.5% | 875 | 131.5 | 7.1 | 0.041 |
| data2text | 13.9% | 900 | 182.0 | 7.2 | 0.040 |
| ragtruth | 13.9% | 900 | 182.0 | 7.2 | 0.040 |
| mt | 7.4% | 479 | 27.5 | 4.0 | 0.136 |
| Method | Overall (std) | open_qa | ctx_qa | data2txt | open_bio | summ | mt |
|---|---|---|---|---|---|---|---|
| Span-level | |||||||
| PsiloQA ( ModernBERT-base ) | 0.239 (0.12) | 0.338 | 0.072 | 0.089 | 0.363 | 0.359 | 0.216 |
| LettuceDetect ( lettuce-large ) | 0.482 (0.21) | 0.324 | 0.833 | 0.614 | 0.198 | 0.541 | 0.382 |
| RAGTruth ( ft-llama2-13B ) | 0.518 (0.19) | 0.367 | 0.865 | 0.654 | 0.354 | 0.469 | 0.398 |
| FAVA ( ft-llama2-7B ) | 0.381 (0.15) | 0.319 | 0.696 | 0.243 | 0.244 | 0.376 | 0.411 |
| Prompt ( GPT-5-mini ) | 0.498 (0.07) | 0.402 | 0.603 | 0.528 | 0.525 | 0.495 | 0.435 |
| Method | summ | qa | ||||
|---|---|---|---|---|---|---|
| faithbench | zhou | ragtruth | favabench | mushroom | ragtruth | |
| Span-level | ||||||
| PsiloQA ( ModernBERT-base ) | 0.225 | 0.547 | 0.053 | 0.210 | 0.556 | 0.072 |
| LettuceDetect ( lettuce-large ) | 0.307 | 0.559 | 0.695 | 0.242 | 0.463 | 0.833 |
| RAGTruth ( ft-llama2-13B ) | 0.323 | 0.357 | 0.835 | 0.327 | 0.435 | 0.865 |
| FAVA ( ft-llama2-7B ) | 0.310 | 0.228 | 0.761 | 0.235 | 0.463 | 0.695 |
| Method | Reason | Opt | Overall (std) | open_qa | ctx_qa | data2txt | open_bio | summ | mt |
|---|---|---|---|---|---|---|---|---|---|
| Span-level | |||||||||
| prompt ( GPT-5-mini ) | ✗ | ✗ | 0.425 (0.09) | 0.386 | 0.553 | 0.321 | 0.486 | 0.471 | 0.331 |
| prompt ( GPT-5-mini ) | ✓ | ✗ | 0.498 (0.07) | 0.402 | 0.603 | 0.528 | 0.525 | 0.495 | 0.435 |
| prompt ( GPT-5-mini ) | ✓ | ✓ | 0.497 (0.09) | 0.364 | 0.636 | 0.536 | 0.476 | 0.532 | 0.437 |
| prompt ( Qwen3-4B ) | ✗ | ✗ | 0.298 (0.07) | 0.343 | 0.176 | 0.255 | 0.362 | 0.306 | 0.347 |
| prompt ( Qwen3-4B ) | ✓ | ✗ | 0.442 (0.11) | 0.369 | 0.647 | 0.511 | 0.328 | 0.457 | 0.338 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Reason | Opt | Overall (std) | open_qa | ctx_qa | data2txt | open_bio | summ | mt |
| Span-level | |||||||||
| prompt ( GPT-5-mini ) | ✗ | ✗ | 0.425 (0.09) | 0.386 | 0.553 | 0.321 | 0.486 | 0.471 | 0.331 |
| prompt ( GPT-5-mini ) | ✓ | ✗ | 0.498 (0.07) | 0.402 | 0.603 | 0.528 | 0.525 | 0.495 | 0.435 |
| prompt ( GPT-5-mini ) | ✓ | ✓ | 0.497 (0.09) | 0.364 | 0.636 | 0.536 | 0.476 | 0.532 | 0.437 |
| prompt ( Qwen3-4B ) | ✗ | ✗ | 0.298 (0.07) | 0.343 | 0.176 | 0.255 | 0.362 | 0.306 | 0.347 |
| prompt ( Qwen3-4B ) | ✓ | ✗ | 0.442 (0.11) | 0.369 | 0.647 | 0.511 | 0.328 | 0.457 | 0.338 |
Hallucination Detection
Hallucination detection identifies unsupported, fabricated, or evidence-inconsistent content in language and multimodal model outputs.
See all 78 papers