atlas

Research map / Probabilistic and scientific modeling / Variational and generative sampling

Estimating the Hallucination Rate of Generative AI

NeurIPS 2024 · Probabilistic and scientific modeling › Variational and generative sampling · approach: Score-based generative modeling analysis · 9 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes the posterior hallucination rate (PHR), a Bayesian definition of hallucination for in-context learning, and an estimator that uses only sampled predictive completions and response log-probabilities from a conditional generative model.

Problem

Estimating how often an in-context learning (ICL) prediction from a conditional generative model such as an LLM will be a hallucination, without access to the true data-generating mechanism or labeled evaluation data.

Approach

Define hallucination as a response with low likelihood under the latent mechanism implied by a Bayesian view of ICL, then estimate the posterior expectation of that rate by predictive resampling: sample future context pairs from the CGM, then check whether sampled responses fall in the tails of the log-likelihood distribution given the extended context, using Doob's theorem to justify the approxim

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Estimate hallucination rate with the PHR estimatorSynthetic regression tasks · Synthetic regressionTHR prediction accuracyHelped
Use the PHR estimator at smaller context lengthsSynthetic regression tasks · Synthetic regressionTHR prediction accuracyHelped
Increase the number of in-context examplesSynthetic regression tasks · Synthetic regressionTHRHelped
Increase context lengthPHR estimator · Synthetic regressionTHR prediction accuracyHurt
Use the PHR estimator to predict model hallucination rateLlama-2-7B · Natural-language ICL tasksMHR prediction accuracyHelped
Set ε to 0.75 and use the PHR estimator to predict error rateLlama-2-7B · SST2, Subjectivity, AG NewsError-rate prediction accuracyHelped
Set ε to 0.75 and use the PHR estimator to predict error rateLlama-2-7B · Medical QP, RTE, WNLIError-rate prediction accuracyHurt
Use the PHR estimator to predict error rateLlama-2-7B · Natural-language ICL tasksError-rate prediction accuracyMixed
Increase the number of in-context examplesLlama-2-7B · Natural-language ICL tasksMHRHelped

Surprising findings

Limitations

Experimental setup

Datasets: SST2 Subjectivity AG News Medical QP RTE WNLI synthetic random MLP regression functions

Benchmarks: SST2 Subjectivity AG News Medical QP RTE WNLI synthetic regression

Metrics: MSE regression coefficient beta p-value R^2 empirical error rate agreement

Baselines: Model hallucination rate (MHR) empirical error rate true hallucination rate (THR)

Builds on: Martingale posterior Doob's theorem Conditional Neural Process Llama 2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy