Pinocchio: Fast Uncertainty Estimates for Black-Box Language Models

Kevin David Hayes, Arka Pal, Haosong Zhang, Tom Goldstein, Micah Goldblum
9/21/2026
cs.AI

No confident code implementation found for this paper.

Abstract

In high-stakes decision-making applications of large language models (LLMs), practitioners require not only accurate LLMs but also uncertainty estimates for their predictions. Existing approaches to uncertainty estimation for LLMs require access to log-probabilities output by the model or require fine-tuning access.

Show full abstract

However, many industrial LLM products use closed-source API models, and many such API models like GPT do not return log-probabilities and may not allow fine-tuning. We introduce Pinocchio, an external calibrator that estimates the correctness of responses from black-box API models. Trained jointly on responses from seven LLMs, it achieves 0.862 AUROC predicting the correctness of held-out responses from those same models, and shows zero-shot transfer to thirteen unseen models across eight organizations. Our model needs only a single forward pass to generate an uncertainty estimate and requires no access to the target model's logits, weights, or internal states. A lightweight text only 0.8B checkpoint matches our largest model's AUROC. We release code for adding uncertainty estimation to existing repos in only two additional lines of code.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hayes2026pinocchio,
  title  = {Pinocchio: Fast Uncertainty Estimates for Black-Box Language Models},
  author = {Kevin David Hayes and Arka Pal and Haosong Zhang and Tom Goldstein and Micah Goldblum},
  year   = {2026},
  eprint = {2609.24881},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.24881v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.24881.svg)](https://codeofpaper.com/paper/2609.24881)

Discussion