Hallucination Detection in Large Language Models with Metamorphic Relations
Borui Yang, Md Afif Al Mamun, Jie M. Zhang, Gias Uddin

TL;DR
MetaQA is a resource-independent hallucination detection method for LLMs that uses metamorphic relations and prompt mutation, outperforming existing zero-resource approaches across multiple models and datasets.
Contribution
This paper introduces MetaQA, a novel self-contained hallucination detection method leveraging metamorphic relations, compatible with both open-source and closed-source LLMs, and surpassing state-of-the-art zero-resource methods.
Findings
MetaQA outperforms SelfCheckGPT in precision, recall, and F1-score.
MetaQA achieves a 112.2% improvement in F1-score on Mistral-7B.
MetaQA is effective across different question categories and LLM types.
Abstract
Large Language Models (LLMs) are prone to hallucinations, e.g., factually incorrect information, in their responses. These hallucinations present challenges for LLM-based applications that demand high factual accuracy. Existing hallucination detection methods primarily depend on external resources, which can suffer from issues such as low availability, incomplete coverage, privacy concerns, high latency, low reliability, and poor scalability. There are also methods depending on output probabilities, which are often inaccessible for closed-source LLMs like GPT models. This paper presents MetaQA, a self-contained hallucination detection approach that leverages metamorphic relation and prompt mutation. Unlike existing methods, MetaQA operates without any external resources and is compatible with both open-source and closed-source LLMs. MetaQA is based on the hypothesis that if an LLM's…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning in Healthcare · Big Data and Digital Economy · Advanced Graph Neural Networks
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Attention Is All You Need · Linear Layer · Layer Normalization · Dense Connections · Attention Dropout · Residual Connection · Discriminative Fine-Tuning · Multi-Head Attention · Adam
