🚀NEW COURSEVibe Coding AI Apps with Claude Code 🤖✨Enroll now
← All papers  /  Sep 4, 2026
Safety

Single-Query Black-Box Calibration Auditing via Logit Bias

First page
Single-Query Black-Box Calibration Auditing via Logit Bias
The curator’s take

Roman Plaud and colleagues at Institut Polytechnique de Paris, Onepoint and Ghent University show that a logit_bias parameter is enough to recover exact probability thresholds from an API that hides output probabilities, using one query per sample.

Ask this paper

Key points
01

The obstacle: Standard calibration metrics need continuous output probabilities, and commercial providers increasingly do not expose them.

02

The mechanism: Any API exposing logit_bias can be manipulated mathematically to evaluate exact probability thresholds with strictly one query per sample, so the audit cost scales with the dataset rather than with the desired precision.

03

The estimator: A provably consistent estimator of the True Calibration Error for binary tasks, built on that thresholding mechanism.

04

What it enables: Calibration auditing of black-box foundation models used as zero-shot classifiers, which is where miscalibration turns directly into deployment risk.

Abstract

Evaluating the calibration of Large Language Models (LLMs) is critical for their safe deployment as zero-shot classifiers. Yet, commercial API providers increasingly hide the continuous output probabilities required by standard calibration metrics. To bypass this opacity, we demonstrate that any LLM API exposing a logit\_bias parameter can be mathematically manipulated to evaluate exact probability thresholds using strictly one query per sample. Leveraging this mechanism, we introduce a novel and provably consistent estimator of the True Calibration Error for binary tasks. Our approach therefore provides an efficient framework for auditing black-box foundation models.

Every Monday
Get next week’s papers.
Subscribe on Substack