Metraipolis › archive › dc_1f0d97e5b054
Hallucination Detection in LLMs with Topological Divergence on Attention Graphs — arXiv:2504.10063
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2504.10063
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T07:24:45.225Z
- SHA-256 of the archived text
912a3346fb77c2dad601e1129a036a089941743793f983ce8feb5ec8d78ee578- Stable URL of this page
https://metraipolis.com/documento/dc_1f0d97e5b054
How to cite
Hallucination Detection in LLMs with Topological Divergence on Attention Graphs — arXiv:2504.10063 — arXiv (en), https://arxiv.org/abs/2504.10063 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1f0d97e5b054 (Metraipolis archive dc_1f0d97e5b054, sha256 912a3346fb77c2dad601e1129a036a089941743793f983ce8feb5ec8d78ee578)
BibTeX
@misc{dc1f0d97e5b054,
title = {Hallucination Detection in LLMs with Topological Divergence on Attention Graphs — arXiv:2504.10063},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2504.10063},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1f0d97e5b054; sha256 912a3346fb77c2dad601e1129a036a089941743793f983ce8feb5ec8d78ee578},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2504.10063. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Hallucination, i.e., generating factually incorrect content, remains a critical challenge for large language models (LLMs). We introduce TOHA, a TOpology-based HAllucination detector in the RAG setting, which leverages a topological divergence metric to quantify the structural properties of graphs induced by attention matrices. Examining the topological divergence between prompt and response subgraphs reveals consistent patterns: higher divergence values in specific attention heads correlate with hallucinated outputs, independent of the dataset. Extensive experiments - including evaluation on question answering and summarization tasks - show that our approach achieves state-of-the-art or competitive results on several benchmarks while requiring minimal annotated data and computational resources. Our findings suggest that analyzing the topological structure of attention matrices can serve as an efficient and robust indicator of factual reliability in LLMs. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-10 in cs.AI). Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI); Algebraic Topology (math.AT); Metric Geometry (math.MG). Pagina del lavoro: https://arxiv.org/abs/2504.10063 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-16T07:00:16.263Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-10?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).