Spot-Checking Hallucinations: Inferring a Model's Knowledge State from a Few Verified Claims

When a language model writes a paragraph about a person, a paper, or a disease, its mistakes are rarely scattered at random. If it half-remembers the person, many sentences go wrong together: dates, affiliations, and co-authors all drift, because they share one weak memory. Current hallucination tools mostly treat each sentence-level claim as a separate yes-or-no question. They assign each claim a confidence and keep or delete it on its own. Human metacognition research suggests a different picture. People who get no feedback still form an overall sense of how well they are doing by tracking moment-to-moment confidence, and that overall sense is only accurate when the moment-to-moment signal separates right from wrong answers. People also reliably underestimate themselves without feedback, and checking a few outcomes corrects this.

We propose treating each long-form answer the way that literature treats a block of trials. Each answer has one hidden "knowledge state" for its topic, and every claim in it is a noisy reading of that state. This yields two capabilities that per-claim methods lack. The first is a calibrated estimate of how factual the whole answer is before anyone checks it. The second is a principled spot-checking procedure: verify two or three well-chosen claims against a retrieval source, update the inferred knowledge state, and use that update to re-score every unverified claim in the same answer. The practical question is whether, under a fixed verification budget, pooling information across claims that share a source beats verifying the least-confident claims one at a time.

Core Claim

Claim-level factual errors within a single response are strongly correlated through a response-level latent variable, the model's knowledge of the entity in question. A hierarchical model that infers this variable from local claim confidences gives three things. It gives better response-level factuality estimates than averaging claim confidences. It gives better claim-level error detection, because each claim borrows strength from its siblings. And, most distinctively, it makes small amounts of external verification much more informative, because a verified claim updates beliefs about all the unverified ones. The new part is not a better per-claim detector. It is the explicit modeling of the dependency structure between claims, and using it to decide what to verify and how far a verification result should spread.

What the Two Literatures Supply

On the human side, Forming global estimates of self-performance from local confidence shows that people build global self-performance estimates by integrating trial-by-trial confidence. That work also finds two things that motivate our design: estimates are systematically biased without feedback, and good discrimination between one's own correct and incorrect trials is a prerequisite for an accurate global estimate. We borrow the structure of their hierarchical learning model, not its tasks. Information-Theoretic Measures of Metacognition introduces Relative Metainformation (RMI), a 0-to-1 measure of how much a confidence signal tells you about correctness beyond what accuracy alone implies. We use it as our measure of claim-level discrimination, because it does not reward the confidence saturation that Rethinking LLM Confidence: From Calibration to Coherence shows can make expected calibration error (ECE) look good while hiding incoherence. The item-response-plus-confidence cognitive model in AI-Assisted Decision-making: a Cognitive Modeling Approach to Infer Latent Reliance Strategies supplies the modeling template: a latent ability per person, item difficulties, and an ordered confidence model. We transplant it so that the "person" becomes a response's topic.

On the hallucination side, FActScore supplies the evaluation. It splits long-form text into atomic claims, verifies them against Wikipedia with under 2% error relative to human experts, and documents two regularities: precision collapses for rare entities and decays later in a generation. Both are what a response-level latent would produce. The Source of Competence Shapes Metacognition in Language Models motivates the latent more directly. At matched roughly 61% accuracy, partial-memory models show a +27% confidence gap against +5% for evidence-grounded ones, so which knowledge regime a question falls in governs overconfidence. That paper measures this at the question level and does not infer the regime from within-response evidence, which is what we do. Do Language Models Know When They're Hallucinating References? provides our strongest local signal. Indirect cross-examination (asking for authors of a cited title in independent queries), combined with direct yes/no questions, gives the best fabrication detection. That paper also observes that a model can fabricate a title consistently while failing on its attributes, which is exactly a shared-latent pattern. Finally, Language Models with Conformal Factuality Guarantees is both the strongest existing method and a constraint. It prunes claims below a calibrated threshold with distribution-free guarantees, but those guarantees are marginal over queries, so rare-entity answers can be badly under-covered while frequent ones are over-pruned.

Two results constrain the design. CritiCal reports that zero-shot self-critique without external knowledge produces hallucination loops on factual tasks. Does ChatGPT Know That It Does Not Know? reports 93.64% average verbalized confidence against 49.99% accuracy. Together they rule out using the model's own verbal self-assessment as the global estimate. The spot-check must come from retrieval, not from more self-reflection.

Research Program

For each response $r$ with claims $i = 1,\dots,n_r$, let $y_{ri}\in\{0,1\}$ indicate whether claim $i$ is supported, and let $\theta_r$ be the latent knowledge state for the response's topic. The generative model is

$$P(y_{ri}=1 \mid \theta_r) = \sigma(\theta_r - d_{ri}), \qquad c_{ri} \mid y_{ri} \sim p_{k}(c \mid y_{ri}).$$

Here $d_{ri}$ is a claim difficulty predicted from cheap features (claim position in the response, claim type such as date or relation, and entity frequency), $\sigma$ is the logistic function, and $c_{ri}$ is the vector of local confidence signals. These signals are indirect-query agreement, a direct yes/no self-check, and token log-probability where the API exposes it. The term $p_k$ is a signal likelihood whose discrimination is fitted separately for each signal channel $k$. The prior on $\theta_r$ is centered on a function of entity frequency, so that rarity enters as a prior rather than as a verdict. The parameters are fitted on a few hundred FActScore-labelled responses. At test time, the posterior over $\theta_r$ given all $c_{ri}$ yields the predicted fraction of supported claims (the global estimate) and per-claim posteriors.

Spot-checking adds observed $y_{ri}$ for a budget of $k$ claims verified by retrieval. Claims are chosen greedily to maximize expected reduction in posterior entropy over the unverified claims. This differs from choosing the least-confident claims: it favors claims whose outcome is most diagnostic of $\theta_r$. We then use the per-claim posteriors as the score inside split conformal prediction, calibrating separately within bins of posterior $\theta_r$. The aim is coverage that holds within knowledge regimes, not just on average. This is a group-conditional guarantee, not a per-query one, and we will say so.

Along the way, the project measures the quantity the human literature says matters most: within-response RMI of each local signal, broken down by entity frequency bin. This tests whether discrimination, and not calibration, is what limits global estimates, as it does in humans.

Baselines

The naive reference point is to estimate a response's factuality as the mean of its individually calibrated claim confidences. Spot-checking in this baseline verifies the $k$ lowest-confidence claims and leaves the others' scores unchanged. This is what one gets from current per-claim pipelines. Beating it on spot-checking means that, at equal $k$, our unverified-claim AUROC and response-level error are better. If they are not, the shared latent buys nothing.

The strongest existing method for producing a trustworthy answer is conformal factuality pruning from Language Models with Conformal Factuality Guarantees. On FActScore biographies it raised factuality from about 30% to 80% while retaining about half the claims. We run it with the same base model, the same calibration set size, and the same claim decomposition, using its own scoring function. Beating it means two things at the same target level: higher claim retention, and smaller coverage shortfall in the rare-entity bin.

The strongest per-claim detector is the indirect-plus-direct query ensemble of Do Language Models Know When They're Hallucinating References?. No reported AUROC value for it was found on Lacuna, so we reimplement it with the same number of queries per claim that our model consumes. Because our local signals include its outputs, any gain is attributable to pooling.

For response-level prediction, the most dangerous baseline is a feature regression in the spirit of Holistic Trajectory Calibration from Agentic Confidence Calibration. That paper reduced ECE on Humanity's Last Exam from 0.686 to 0.031 with regularized logistic regression over 48 process features. Our version regresses response FActScore on summary statistics of claim confidences (mean, minimum, variance, position slope) plus entity frequency. It gets the same training labels and a matched hyperparameter search.

The key ablation removes the shared latent by fixing $\theta_r$ to its prior. This leaves the identical signal model, difficulty features, and acquisition rule, and isolates within-response pooling as the source of any improvement.

Why not just…?

Why not just ask the model how much of its answer is true? The direct evidence says verbalized confidence is the worst channel here. Does ChatGPT Know That It Does Not Know? reports 93.64% average stated confidence at 49.99% accuracy, and The Source of Competence Shapes Metacognition in Language Models finds verbalized confidence stays high through failure. We include the verbal global estimate as a reported baseline, but expect it to be uninformative in exactly the rare-entity regime where it matters.

Why not just use entity popularity? This is a real threat. FActScore's rarity penalty means popularity alone predicts much of the response-level variance. Our model therefore uses popularity as its prior, and the test is whether within-response signals and spot-checks add predictive power conditional on popularity. We report gains within popularity bins. If they vanish there, the claim fails.

Why not just regress response factuality on confidence statistics? For the response-level number alone, this may match us, and we will report it if so. What a regression cannot do is propagate a verification result to sibling claims or produce per-claim posteriors for conformal pruning. The decisive comparison is therefore spot-checking at fixed budget, where the regression has no natural analogue beyond re-running with verified claims added as features. We include that variant.

Why not just sample more and use self-consistency? TruthfulQA shows that models reproduce popular misconceptions consistently: GPT-3-175B reached 58% truthfulness against about 94% for humans. Agrawal et al. show that consistent title fabrication coexists with inconsistent attributes. Agreement across samples is therefore one local signal in our model, not a substitute for it. External spot-checks are the only feedback that cannot share the model's misconception.

Proposed Experiments

The primary testbed is FActScore biographies stratified by entity frequency. For reference, the file reports ChatGPT at 58.3% and PerplexityAI at 71.5% on this task. We use two open-weight models, so that log-probabilities are available, and one API model restricted to black-box signals. The second testbed is reference generation over the computing topics used by Agrawal et al. There, a fabricated title and its authors, venue, and year form a natural cluster of claims with a shared latent. The third testbed is TruthfulQA, used as a stress test where errors stem from shared misconceptions rather than missing knowledge. In that regime the latent should help less, and we expect it to.

Metrics are as follows. At the response level: mean absolute error and rank correlation with the true FActScore, plus AUROC for flagging responses below 50% supported. At the claim level: AUROC, ECE, and within-response RMI for unverified claims as a function of verification budget $k$ from 0 to 5. For pruning: retained claims and empirical factuality at target levels, reported overall and per frequency bin.

The decisive check is the budget curve. If, at $k=2$, the hierarchical model's AUROC on the remaining unverified claims clearly exceeds both the naive lowest-confidence policy and the no-latent ablation, the core claim holds. If the curves coincide, claims are effectively independent given their features and the idea should be dropped.

The second check is direct. We measure the within-response correlation of claim errors after conditioning on difficulty features. A near-zero residual correlation would explain a null result in advance.

The third check is whether regime-binned conformal calibration reduces the rare-entity coverage shortfall without lowering overall retention below the marginal method's roughly half of claims.

Finally, mirroring the no-feedback penalty, we test whether the model's unaided global estimate is systematically biased, and in which direction for language models. We then test whether two spot-checks remove the bias, as feedback does in humans.