English

Black-Box Reliability Certification for AI Agents via Self-Consistency Sampling and Conformal Calibration

Machine Learning 2026-02-26 v1 Artificial Intelligence Computation and Language Machine Learning

Abstract

Given a black-box AI system and a task, at what confidence level can a practitioner trust the system's output? We answer with a reliability level -- a single number per system-task pair, derived from self-consistency sampling and conformal calibration, that serves as a black-box deployment gate with exact, finite-sample, distribution-free guarantees. Self-consistency sampling reduces uncertainty exponentially; conformal calibration guarantees correctness within 1/(n+1) of the target level, regardless of the system's errors -- made transparently visible through larger answer sets for harder questions. Weaker models earn lower reliability levels (not accuracy -- see Definition 2.4): GPT-4.1 earns 94.6% on GSM8K and 96.8% on TruthfulQA, while GPT-4.1-nano earns 89.8% on GSM8K and 66.5% on MMLU. We validate across five benchmarks, five models from three families, and both synthetic and real data. Conditional coverage on solvable items exceeds 0.93 across all configurations; sequential stopping reduces API costs by around 50%.

Keywords

Cite

@article{arxiv.2602.21368,
  title  = {Black-Box Reliability Certification for AI Agents via Self-Consistency Sampling and Conformal Calibration},
  author = {Charafeddine Mouzouni},
  journal= {arXiv preprint arXiv:2602.21368},
  year   = {2026}
}

Comments

41 pages, 11 figures, 10 tables, including appendices

R2 v1 2026-07-01T10:50:44.859Z