arXiv:2611.33394v1 Announce Type: cross Abstract: AI agents built on large language models (LLMs) demonstrate strong capabilities in automated decision-making. However, LLMs may produce incorrect answers with high confidence, limiting their applicability in decisions that affect individuals and organizations. Reliable confidence scores are necessary to gate such decisions, and existing estimates are frequently unavailable or too coarse to support effective gating. This work uses supervised learning to train models to predict the correctness of LLM-generated answers, enabling automated confident responses and routing uncertain ones for human review. A linear confidence score head is fitted to the final-layer hidden state of the frozen LLM backbone, and text-only metamodels are trained as an alternative for closed models. All results come from a single 2B-parameter backbone, on graded answers that are about 98% SQuAD and the remainder TruthfulQA. Against multiple baselines, the confidence score head outperforms all baselines and metamodels, automating the largest fraction of the workload at high accuracy targets. Prompted confidence scores can appear well calibrated yet lack the resolution needed for thresholding. Although transferability to unseen datasets is modest, the confidence score head remains the most robust approach. The proposed confidence scoring framework enhances the safety of automating LLM-based agents and can be adapted to gate other properties, including safety or compliance.
Confidence scores for gated automation of large language models
A linear confidence score head fitted to the final-layer hidden state of a frozen 2B-parameter LLM backbone outperformed all baselines and text-only metamodels at automating the largest share of a graded-answer workload while meeting high accuracy targets, according to arXiv paper 2611.33394v1. The work trains supervised models to predict whether LLM-generated answers are correct so confident responses can be automated and uncertain ones routed to human review; the evaluation used answers that were about 98% SQuAD and the remainder TruthfulQA. The authors report that prompted confidence scores can appear well calibrated yet lack the resolution needed for thresholding, and that transferability to unseen datasets is modest, though the confidence score head remained the most robust approach.
Gate LLM answers with a supervised confidence head on the frozen model's final hidden state rather than prompted confidence, which can look calibrated but lacks threshold resolution; validate transfer on your own data first.
more in playbook: Verifying model outputRun your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.