Learning to Route LLMs with Confidence Tokens

Yu-Neng Chuang, P. Sarma, Parikshit Gopalan, John Boccio, Sara Bolouki +2 more
2/12/2026

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Large language models (LLMs) have demonstrated impressive performance on several tasks and are increasingly deployed in real-world applications. However, especially in high-stakes settings, it becomes vital to know when the output of an LLM may be unreliable. Depending on whether an answer is trustworthy, a system can then choose to route the question to another expert, or otherwise fall back on a safe default behavior. In this work, we study the extent to which LLMs can reliably indicate confidence in their answers, and how this notion of confidence can translate into downstream accuracy gains. We propose Self-Reflection with Error-based Feedback (Self-REF), a lightweight training strategy to teach LLMs to express confidence in whether their answers are correct in a reliable manner. Self-REF introduces confidence tokens into the LLM, from which a confidence score can be extracted. Compared to conventional approaches such as verbalizing confidence and examining token probabilities, we demonstrate empirically that confidence tokens show significant improvements in downstream routing and rejection learning tasks.

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. 1 weaker match is hidden by default — 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{chuang2026learning,
  title  = {Learning to Route LLMs with Confidence Tokens},
  author = {Yu-Neng Chuang and P. Sarma and Parikshit Gopalan and John Boccio and Sara Bolouki and Xia Hu and Helen Zhou},
  year   = {2026},
  eprint = {2410.13284},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.13284},
  journal = {ICML 2024 2024}
}

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/2410.13284.svg)](https://codeofpaper.com/paper/2410.13284)

Discussion