NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Modeling How Many Hallucinations a Response Contains, Not Just What Fraction

Long-form factuality today is scored by splitting a response into small standalone claims ("atomic facts"), asking a language model acting as a judge whether each claim is supported by evidence, and reporting the supported fraction. That single number mixes two different behaviors. A model can be usually perfect and occasionally catastrophic, or it can be steadily sloppy. These behaviors carry very different risks for a user, and a percentage cannot tell them apart. The number also treats the judge's verdicts as ground truth, even though the best automated judge agrees with human raters on only 72% of facts (Long-form factuality in large language models).

We propose to treat the count of unsupported claims in each response as data from a zero-inflated negative binomial model. This is a two-part model borrowed from single-cell biology, where it separates true zeros from sparse bursty counts. The first part is a gate that says whether a response is in a "clean" mode with no errors. The second is an overdispersed count that says how many errors appear once the model is in an error-producing mode. We then add an explicit correction for the judge's misses and false alarms, estimated from a small human-labeled anchor set. We also pool information across prompts hierarchically so that the estimates stay stable when the number of sampled responses is small. The claim is concrete: this model recovers response-level risk quantities from far fewer judged responses than the empirical rates need, and it corrects the bias that judge errors introduce. Those quantities are the probability that a response is fully clean and the probability that it contains three or more fabrications. We also expect it to reveal model differences that share one headline precision but come from different mechanisms.

Core Claim and Why It Is Not Already Done

The closest prior work is Estimating Pass@$k$ from Fewer Samples with Hierarchical Bayesian Priors. It supplies the method template: it pools task difficulty with Beta-Binomial priors, adds point masses at 0% and 100% success with a zero-one-inflated variant, and reports that 5 samples per task beat the naive estimator at 20. That work is about binary unit-test outcomes with a perfect grader. We keep its pooling idea and change three things. First, the outcome is a count of errors within a response, and that count grows with response length. Second, the grader is a noisy language-model judge whose error rates must enter the likelihood. Third, the pooling is stratified by topic and entity prominence, because the Pass@k paper itself flags that its exchangeable prior breaks down when a benchmark contains distinct clusters of tasks.

Two other papers motivate the problem without solving it. FActScore and SAFE (Long-form factuality in large language models) supply the claim-extraction and judging pipelines we reuse. FActScore also documents the structure a count model should capture: precision collapses for rare entities, and it declines across later sentences. Both papers report only ratios. Distributional LLM-as-a-Judge trains judges to predict the distribution of human disagreement over category labels. We share its view that point verdicts discard information, but we model the distribution of error counts across responses rather than of labels within an item. We also do not retrain the judge. The Hallucination Dependence Index reports two failure modes on clinical summaries: overt confabulation, and calibrated refusal to guess. It uses raw proportions. We treat its two modes as a hypothesis that our gate and count components could make measurable on public benchmarks.

The Model

For response $i$, let $n_i$ be the number of extracted claims and $Y_i$ the true number of unsupported claims. We write

$$Y_i = 0 \text{ w.p. } \pi_i, \qquad Y_i \sim \mathrm{NB}(\mu_i n_i,\ \theta) \text{ w.p. } 1-\pi_i,$$

where $\pi_i$ is the probability the response is in clean mode, $\mu_i$ is the per-claim error rate in error mode, and $\theta$ is the dispersion, which controls how bursty errors are. Both $\pi_i$ and $\mu_i$ get link functions with covariates: FActScore's entity-frequency bucket, the LongFact topic, and relative sentence position. Both also get random effects per prompt that are shared across the models being compared. Because $Y_i \le n_i$, we also fit a zero-inflated beta-binomial with $n_i$ trials as a variant. Whichever variant fits held-out data better is reported.

The judge's count $Z_i$ is not $Y_i$. We model

$$Z_i = \mathrm{Bin}(Y_i, s) + \mathrm{Bin}(n_i - Y_i, f),$$

where $s$ is the judge's sensitivity to truly unsupported claims and $f$ is its false-alarm rate on supported ones. We estimate $s$ and $f$ jointly from about 500 human-adjudicated claims per domain. This follows the scale of the 300-claim expert anchor in the Hallucination Dependence Index study. Missed errors create spurious zeros, and false alarms destroy real ones. As a result, the observed clean-response rate is biased in a direction that depends on the judge, and the correction is not optional. Inference uses Hamiltonian Monte Carlo, with $s$ and $f$ given informative priors from the anchor set.

Research Program

We will generate multiple samples per prompt from roughly eight open and API models. The prompts come from the FActScore biography set, whose entity-frequency metadata drives the covariates, and from LongFact (Long-form factuality in large language models), whose 2,280 prompts cover 38 topics. Every response is judged with both the SAFE pipeline and a FActScore-style retrieve-then-judge pipeline. A full-budget run, with all prompts and eight samples each, defines the reference values of the target quantities. We then subsample prompts and samples to test estimation at low budgets.

The target quantities are three. The first is the clean-response rate. The second is the tail probability of at least three unsupported claims. The third is precision, kept for continuity with existing reporting. For response-level validation against humans, we use the Alpaca split of HaluEval. There, human annotators found that about 19.5% of ChatGPT responses contained some hallucination, which is a direct external check on $1-\pi$-type quantities. As a secondary analysis, we rerun the biography prompts with and without the Wikipedia page placed in context. This tests whether grounding mainly raises $\pi$, meaning more fully clean responses, or mainly lowers $\mu$, meaning fewer errors once erring. That is a public-benchmark version of the grounded-versus-ungrounded contrast in the Hallucination Dependence Index study.

Baselines

The naive reference point is the empirical estimate: the observed fraction of responses the judge scores as error-free, the observed fraction with at least three flagged claims, and pooled precision, all with bootstrap intervals. It uses the same judged responses as our model and has no tuning. Standard scalar reporting is reproduced as FActScore precision; for reference, FActScore reports 58.3% for ChatGPT and 71.5% for PerplexityAI. We will rerun it rather than rely on those figures.

The strongest existing estimator is the hierarchical Beta-Binomial with zero-one inflation from Estimating Pass@$k$ from Fewer Samples with Hierarchical Bayesian Priors, including its LinMix schedule. We transfer it by treating "response is fully clean" as the success event. It is the strongest competitor because it already pools across prompts and handles point masses at zero. The paper reports that LinMix with 5 samples per task predicted Pass@100 on MBPP more accurately than the naive estimator with 20, a 4x cost reduction. There is no reported result on Lacuna for any estimator of hallucination counts or clean-response rates on LongFact or FActScore. It will be run on the identical subsamples with the same prompt-level pooling and the same inference budget.

Three ablations isolate each ingredient. The first removes the judge-error layer, fixing $s=1$ and $f=0$. The second removes zero inflation, leaving a plain negative binomial or beta-binomial. The third removes the covariate stratification. We count the proposal as winning if, at 25% of the full budget, its error in the clean-rate and tail estimates is lower than both the empirical and the Beta-Binomial baselines at 50% of the budget. We also require that the judge-corrected clean rate land closer to the human HaluEval figure than the uncorrected estimate does.

Why not just…?

Why not just report the empirical clean-response rate alongside precision? This is the most serious threat. With enough samples, two descriptive numbers already separate "usually perfect, occasionally catastrophic" from "steadily sloppy." We concede this. At the full budget the empirical numbers are our reference values, not something we claim to beat. The model has to earn its place in three regimes. The first is low budgets, where subsampling will show whether pooling helps. The second is tail probabilities, which are noisy empirically. The third is judge-bias correction, where empirical rates are wrong even with unlimited samples. If the ablation without the judge layer matches the full model and pooling gives less than a 1.5x efficiency gain, we will report that the simple two-number summary suffices.

Why not just use the Beta-Binomial on clean versus not-clean, as in the Pass@k work? It discards the error count, so it cannot estimate tail risk or separate the gate from severity. It also cannot absorb the dependence of errors on length that FActScore's sentence-position decline implies. The ablation that collapses our outcome to a binary one measures exactly how much this loses.

Why not just use a better judge, or a majority vote of several judges, instead of modeling judge error? Better judges reduce $s$ and $f$ but do not zero them. SAFE was right on only 76% of its disagreements with humans (Long-form factuality in large language models), and ChatGPT detected hallucinations in summaries only 58.53% of the time on HaluEval. Correction is also cheaper than ensembling. We will test a three-judge majority vote against the single corrected judge at equal API cost.

Why not just fit a hurdle model instead? A hurdle model forces every zero into the gate. That is plausible for rare-entity refusals, but it cannot represent a response that is in error mode and happens to produce zero errors. We fit both and choose by held-out likelihood; we do not prefer either in advance.

Decisive Checks

The proposal succeeds if three things hold. First, at a quarter of the judging budget, the full model's estimates of clean-response rate and tail probability are within the bootstrap interval of the full-budget reference more often than both baselines. Second, the judge-corrected clean rate on HaluEval's Alpaca split moves toward the 19.5% human figure when the uncorrected one does not. Third, at least one pair of models with statistically indistinguishable precision differs credibly in $\pi$ or $\theta$, and that difference predicts which model has more responses with three or more errors on held-out prompts. If the first two fail, the zero-inflated machinery is decoration. If only the third fails, the model is a cost-saving estimator rather than a diagnostic, and we would report it as that.