Hallucination detection in retrieval-augmented language models by Z-number evidence fusion on concept networks
Retrieval-augmented large language models are increasingly used in engineering and industrial information systems, yet they still produce hallucinations: statements that their retrieved sources do not support. Detecting these faults automatically is a verification and validation problem for artificial intelligence software. Contribution in artificial intelligence: we propose the Z-number forma mentis network (Z-FMN), a training-free approximate-reasoning detector that turns each answer into a network of concepts and syntactic links and attaches to every concept and link a Z-number whose reliability part is a subjective-logic opinion. Cumulative fusion combines three evidence sources, the generator's confidence across resampled answers, natural language inference against the source and consistency with the resamples, so that each source counts in proportion to the evidence it carries. Application in engineering: Z-FMN acts as a claim-level fault monitor that ranks the links of an answer for human review. On all 1,350 test answers of three open models in the public RAGTruth dataset, it detects hallucinated links with an area under the receiver operating characteristic curve of 0.793, ahead of SelfCheckGPT by 0.068 and of source entailment by 0.026, and within 0.009 of a supervised model, without any training. A reviewer who checks the riskiest 20% of links finds 60% of the hallucinated ones, against 50% with SelfCheckGPT. The uncertainty of the fused opinion also separates contradicted from invented content. We release a concept- and link-level benchmark of 273,456 labelled elements with all scores and code.