Pinocchio: Fast Uncertainty Estimates for Black-Box Language Models
Kevin David Hayes, Arka Pal, Haosong Zhang, Tom Goldstein, Micah Goldblum
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. 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.
Create a lesson
Related papers
Language Models Steer on Injected Uncertainty Tokens, but Fail to Self-Monitor In Situ
Shared title terminologycs.AIDaniel Theron
LimoBench: How Street Smart Are Large Language Models?
Shared title terminologycs.AIGautam Choudhary, Jack Peng, Udesh Kumarasinghe et al.
Look Before You Commit: Visual-Evidence-Guided Decoding for Multimodal Diffusion Language Models
Shared title terminologycs.AITongxiao Hu, Yikai Zhao, Qiyan Zhao et al.
Frequency-Conditioned Privacy Auditing of Fine-Tuned Language Models
Shared title terminologycs.AIAymen Noor, Ke Lyu, Honglu Jiang
Seeking in Space: Benchmarking Purposeful Active Exploration of Vision-Language Models for Spatial Reasoning
Shared title terminologycs.AIXiwei Liu, Yulong Li, Xuhui Li et al.
Know When to Abstain: Conformal Confidence Estimation for Text-to-SQL
Shared title terminologycs.AIAvinash Kumar Singh, Bhaskarjit Sarmah, Stefano Pasquali