Detector Adapters: Label-Free Low-Rank Verifiers for Confident Hallucinations

Large language models often state false facts fluently and with full confidence. Most detectors that work without human labels look for hesitation. They sample the model many times and flag answers that disagree with each other, or they read how spread out its internal activations are. Both approaches miss the most damaging case: the "confident liar," a model that gives the same wrong answer every time. We propose a small add-on network of a specific kind, a low-rank adapter. It is trained only on labels mined automatically from Wikipedia and is switched on for a single extra forward pass that re-reads a finished answer and scores whether it is wrong. It is switched off while the model writes the answer. In effect, the deployed model gets a cheap internal fact-checker that shares all of its weights, needs no human-annotated hallucinations, and never changes what the model generates.

The case for adapters here comes from a tension in recent work. Small Updates, Big Doubts found that ordinary parameter-efficient fine-tuning makes sampling-based hallucination detectors noticeably better. The same fine-tuning makes the model's hidden states less linearly separable into true and false. That study also changed the generating model itself. Separately, Steer LLM Latents argues that frozen hidden states cluster by wording rather than by truth, which caps what a probe on frozen features can achieve. We ask whether a weight adapter trained purely for detection, and kept out of the generation path, can reshape those features enough to catch confident errors that uncertainty-based methods cannot see.

Core Claim

Low-rank adaptation (LoRA) freezes a pretrained weight matrix $W_0$ and learns a small correction $BA$, where $B$ and $A$ have inner dimension $r$ much smaller than the layer width. The correction can be toggled per forward pass at no memory cost beyond a few million parameters.

Our claim has two parts. First, a LoRA verifier trained on automatically mined correctness labels will beat a classifier on frozen hidden states trained on the same labels, because the adapter can change how attention and feed-forward layers compare an answer to stored knowledge. A frozen-feature classifier can only read what the base model already computed. Second, the gain will be concentrated on confident liars: questions where nearly all sampled answers agree but are wrong. On these, sampling-based detectors and spectral methods fail by construction, as Revisiting Hallucination Detection with Effective Rank-based Uncertainty itself acknowledges.

The closest existing work falls short of this in different ways. SRM-LoRA and MALM adapt weights to reduce hallucination during generation, and both need paired supervision or retrieval. Neither produces a detection score. MIND (Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Models) is our source of label-free training data, but it trains its classifier on a frozen model's last-token state. The steering-vector method (TSV) in Steer LLM Latents needs 32 human-labeled seed examples, and it adds a fixed activation shift rather than changing any computation.

Research Program

Training labels. We follow MIND's recipe. Wikipedia sentences are cut just before a named entity, the base model completes them, and each completion is labeled correct or hallucinated by comparing it with the original entity. The file notes that strict text matching mislabels paraphrases. We therefore relax matching with entity-alias lookup and an entailment check. We also hand-audit 500 labels to estimate the residual noise rate under both strict and relaxed matching.

Question-style training data. Test-time inputs are questions with answers, not sentence continuations. To reduce that mismatch, we also convert a subset of sentences into cloze-style questions with fixed templates.

Verifier architecture. The adapter sits on the attention and feed-forward projections. During verification it reads the prompt together with the base model's own answer, which is generated with the adapter off. A verdict token, or a one-layer head on the final state, gives the hallucination score. Training uses binary cross-entropy on the mined labels, with class reweighting because hallucination rates vary.

Analyses. We vary adapter rank from 4 to 64 and compare two placements: early-to-middle layers only, following TSV's finding that layers 4 to 10 matter most, versus all layers. We also measure the effective rank of verifier activations on correct versus hallucinated answers. This connects the adapter's rank bottleneck to the spectral signal of Revisiting Hallucination Detection with Effective Rank-based Uncertainty.

Baselines

Naive reference. Single-pass sequence log-probability of the answer under the base model. This is the confidence detector family evaluated in Small Updates, Big Doubts. It costs nothing extra and anchors how much any method adds.

MIND classifier. MIND's four-layer classifier on the frozen last-layer, last-token state (Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language Models), retrained on exactly our relabeled Wikipedia data. This is the ablation that isolates our key ingredient: same labels, same single-pass cost, frozen weights instead of adapted ones. We also run a variant that reads middle-layer states, so any advantage cannot be explained by layer choice alone. MIND reports beating SelfCheckGPT on its HELM benchmark at 0.05 seconds per response, but the file has no per-model AUC, so we reproduce it ourselves.

TSV, strongest learned competitor. Steer LLM Latents reports 84.2% AUROC on TruthfulQA with LLaMA-3.1-8B using 32 labeled examples. It reports 79.8% when transferred from TruthfulQA to TriviaQA, and 85.5% for a fully supervised upper bound. It also reports beating a roughly 3.4-million-parameter LoRA with about 4,000 parameters. We run TSV two ways. The first is its native protocol, with 32 seed labels plus optimal-transport pseudo-labeling. The second replaces the seed with our Wikipedia labels, so both methods are equally label-free. Beating TSV means exceeding it under the label-free protocol and matching or exceeding its native TruthfulQA number without any benchmark labels.

Sampling detectors, strongest uncertainty competitors. Effective Rank and Semantic Entropy with 10 samples. The file gives no per-dataset AUROC for either, so we reproduce both.

Fine-tuned generator. Following Small Updates, Big Doubts, a task-tuned adapter of the PiSSA kind (initialized from the weight matrix's principal singular directions) combined with the best sampling detector.

Fairness rules. All learned methods share the same unlabeled pool, a matched hyperparameter search of 20 trials, and model selection on a held-out slice of Wikipedia labels only. No benchmark labels are used for tuning.

Why not just…?

Why not just train MIND's classifier on the frozen states? It is the natural simpler option and the most direct ablation. The argument against it is Steer LLM Latents, which reports that frozen latents overlap across true and false answers. If the frozen classifier matches the adapter overall and on the confident-liar slice, our claim fails. We would report that cleaner labels, not adaptation, carry the benefit.

Why not just use a steering vector like TSV? This is the real threat. TSV already outperformed LoRA with 32 labels, possibly because a large adapter overfits tiny data. With thousands of noisy mined labels, the balance could flip or could stay the same. We do not argue past this. If TSV trained on the same labels ties the adapter, especially on confident liars, we conclude that changing computation is unnecessary. The rank sweep shows where, if anywhere, capacity starts to pay off.

Why not just fine-tune the generator and use sampling detectors, as in Small Updates, Big Doubts? That approach needs 10 to 20 generations per query, costing 9.5 to 15 seconds according to the Effective Rank and MIND papers. It also alters the deployed model's outputs. And because confident liars agree across samples, better calibration of sample disagreement cannot flag them. Our confident-liar slice tests this directly.

Why not just ask a strong LLM judge? HaluEval reports ChatGPT reaching only 62.59% detection accuracy on QA and 58.53% on summarization, with open models near chance. A judge also adds an external model call per query. We still include a GPT-5-mini self-judge as a cost-unconstrained reference on a subsample.

Proposed Experiments

Models. LLaMA-3.1-8B, which makes TSV's numbers comparable; Mistral-7B; and Qwen2.5-3B.

Benchmarks. TruthfulQA, TriviaQA, NQ-Open, SQuAD v1, BioASQ, HaluEval-QA, and MIND's HELM set. Answers are graded by GPT-5-mini as in Small Updates, Big Doubts, with a human audit of 300 items per benchmark.

Metrics. AUROC, detection latency, and the danger ratio (the share of high-confidence answers that are wrong).

Decisive checks. There are three.

The first is the confident-liar slice. We define it as questions where at least 9 of 10 samples agree on a wrong answer. On this slice, the adapter should beat Effective Rank by a wide margin, since Effective Rank should sit near chance there by design. It should also beat both the frozen MIND classifier and the label-free TSV.

The second is a matched-cost comparison. Adapter against frozen classifier, with identical labels and a single pass each, should show a consistent gain across all three models.

The third is a label-noise dose-response. We train on strict-match versus relaxed-match labels, plus deliberately flipped labels at 10%, 20%, and 30%. This tells us whether the adapter's extra capacity makes it more vulnerable to mined-label noise than the smaller competitors.

Failure criterion. If the adapter fails the first two checks, the result is still useful. It would show that for detection, what matters is how labels are mined rather than whether weights are adapted, which answers the open question raised by the TSV and Small Updates findings.