PLLS-CP: Unsupervised Hallucination Detection with Layer Selection and Cross-Domain Conformal Guarantees
Vladislav Tsvelenev, Maxim Ryndin
NeurIPS page · OpenReview · Open on the map
Category: LLM Reasoning, Memory & RAG › Hallucination Detection Methods · Type: new method · Keywords: hallucination detection, large language models, conformal prediction, domain shift, unsupervised detection
Areas: Safety & Security › Language Model Security › Hallucination Detection; Evaluation & Benchmarks › Language Model and Agent Safety › Hallucination and Text Detection
Summary
PLLS-CP is a unified unsupervised hallucination detection framework that selects informative transformer layers and uses Mondrian conformal prediction to provide distribution-free guarantees and maintain performance under domain shift.
Explained to a 5-year-old
Large language models sometimes say things that aren't true, which we call hallucinations. Detecting these mistakes from inside the model without looking at outside information is hard. The paper creates a way to look at different layers of the model to find the most helpful ones for spotting mistakes. It then adds a special rule that makes sure the detection works correctly most of the time, even when the model is used on new kinds of data. This helps make the model safer for robots and devices that have limited resources.
Explained to a 5-year-old, longer
Large language models are computer programs that can write sentences, but sometimes they make up facts that aren't true. These made-up facts are called hallucinations, and they can be dangerous if we rely on them. Detecting hallucinations without using extra knowledge outside the model is difficult. The paper looks at different parts of the model, called layers, to find which ones are best at spotting mistakes. It trains a detector using these selected layers without needing labeled examples. Then it adds a safety rule that guarantees the detector will be correct most of the time. When the model is used on new types of data, only a small piece of the safety rule is updated. This means the detector does not need to be retrained, saving time and resources. The method is tested on many different datasets that contain hallucinations. It keeps its accuracy even when moving from one dataset to another. The loss in accuracy is less than two and a half percent on the most important tasks. This makes it possible to use the model in important applications like autonomous systems and devices with limited power.
For a technical reader
The paper addresses the problem of detecting hallucinations in large language models using only internal model states, which is needed for safe deployment. It proposes a two-stage approach: first, pseudo-label probing selects the most informative transformer layers, then an unsupervised detector is trained on those layers. A Mondrian conformal predictor wraps the detector to provide distribution-free coverage guarantees, and only the conformal threshold is recalibrated on a small target set during domain shift. Experiments on 18 benchmark domains show that the method retains selective accuracy within 2.5% under cross-domain transfer while maintaining nominal coverage. This design enables robust, parameter-efficient hallucination detection that can be deployed on resource-constrained devices without retraining the core detector.
Problem
Detecting hallucinations in large language models from internal model states without external knowledge is challenging because existing methods lack distribution-free guarantees and degrade when the data distribution changes.
Method
The approach first probes pseudo-labels across transformer layers to identify the most informative layers, trains an unsupervised detector on those layers, and then wraps the detector with a Mondrian conformal predictor to give coverage guarantees. When a domain shift occurs, only the conformal threshold is recalibrated on a small target set, leaving the detector unchanged.
Results
The approach retains selective accuracy within 2.5% on informative domains under cross-domain transfer while maintaining empirical coverage close to the nominal level.
Contributions
It provides a unified unsupervised hallucination detection framework that selects informative layers, offers distribution-free coverage guarantees via Mondrian conformal prediction, and enables cross-domain recalibration without retraining the detector.
Limitations and assumptions
Evaluated on a limited set of 18 domains and requires a small target calibration set for threshold update.
Practical relevance
Enables safe deployment of LLMs in autonomous and resource-constrained applications by providing reliable, distribution-shift-robust hallucination detection without retraining.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction