EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Evidence-Chain Reliable RAG: Word-Level Hallucination Detection, Source Attribution, and Provenance Explanation for LLM Applications

Chenyu Li, Jingwen Bai, Samuel Wang

Journal of Advanced Computing Systems · 20.02.2024 · 4 (2) · 76-92

DOI: 10.69987/jacs.2024.40207 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Journal of Advanced Computing Systems, online erschienen am 20.02.2024. Verfasst von Chenyu Li und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Retrieval-augmented generation (RAG) reduces unsupported generation by conditioning a language model on external evidence, yet generated answers can still contain factual claims that are absent from or contradicted by the retrieved source. This paper presents an evidence-chain detector for reliable RAG applications. The detector aligns a generated answer with retrieved passages or structured records, computes lexical, sparse retrieval, and rule-based entailment features, and predicts hallucination at word and sentence level while returning the evidence chunk used for attribution. To avoid illustrative reporting, all numerical results in this manuscript were produced by the packaged experiment script with random seed 17. The execution artifact contains a RAGTruth-compatible audit corpus with 140 source items, six generated-style responses per source, 840 responses, 2,250 sentences, and 23,284 evaluated word tokens. The test split contains 252 responses and 286 hallucinated tokens. EvidenceChain-RF achieved the strongest measured word-level score, with precision 0.468, recall 0.654, F1 0.545, ROC-AUC 0.919, and PR-AUC 0.357. At sentence level, the same detector reached precision 0.952, recall 1.000, and F1 0.975. The results show that explicit evidence matching, mismatch features, and supervised calibration provide more reliable span detection than lexical overlap alone. The package also includes an official-schema loader for response.jsonl and source_info.jsonl, allowing the same code to rerun on the complete public RAGTruth release when those files are available in the execution environment.

Zitieren

APA

Li, C., Bai, J., & Wang, S. (2024). Evidence-Chain Reliable RAG: Word-Level Hallucination Detection, Source Attribution, and Provenance Explanation for LLM Applications. Journal of Advanced Computing Systems, 4(2), 76-92. https://doi.org/10.69987/jacs.2024.40207

Vancouver

Li C, Bai J, Wang S. Evidence-Chain Reliable RAG: Word-Level Hallucination Detection, Source Attribution, and Provenance Explanation for LLM Applications. Journal of Advanced Computing Systems. 2024;4(2):76-92. doi:10.69987/jacs.2024.40207

BibTeX
@article{Li2024,
  author = {Li, Chenyu and Bai, Jingwen and Wang, Samuel},
  title = {Evidence-Chain Reliable RAG: Word-Level Hallucination Detection, Source Attribution, and Provenance Explanation for LLM Applications},
  journal = {Journal of Advanced Computing Systems},
  year = {2024},
  volume = {4},
  number = {2},
  pages = {76--92},
  doi = {10.69987/jacs.2024.40207}
}
Kostenlos starten →