cs.LGOct 10, 2026

To Defer or Not to Defer? Online Learning with LLMs and Congested Experts

Authors: Vasileios Saketos, William Reveillard, Alexandre Proutiere, Sebastian Dalleiger, Ming Xiao

Organizations: KTH Royal Institute of Technology, Stockholm, Sweden

Abstract

Modern AI systems increasingly combine large language models (LLMs) with human experts, using the LLM to handle routine queries while deferring uncertain cases for expert review. When expert capacity is limited, however, deferral decisions must account not only for the reliability of the LLM but also for congestion in the expert queue. We formulate this as an online sequential decision-making problem in which, for each query, the system observes the confidence signal of the LLM's answer and must decide whether to output the answer or defer the query to a capacity-constrained expert. The reliability of the confidence signal is initially unknown and must be learned from expert feedback, which is both selectively observed (only deferred queries are labeled) and delayed by queuing. We propose KL-PBD, a learning algorithm that uses Kullback--Leibler lower confidence bounds on the unknown reliability parameters to guide deferral decisions. For KK confidence levels and horizon TT, KL-PBD achieves O(Klog⁡T)O(K\log T) gap-dependent regret when the accuracy at every confidence level is bounded away from the deferral boundary, and O~(KT)\widetilde{O}(\sqrt{KT}) worst-case regret. We establish matching lower bounds, showing that these rates are optimal up to logarithmic factors. Finally, we validate our approach on synthetic instances and real-world question-answering datasets, namely GSM8K, NuminaMath, and MedMCQA, using Qwen LLMs.

Figures & tables

Appendix figures & tables19 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Online Learning-to-Defer with Varying Experts

    May 12, 2026Dang Hoang Duy, Yannis Montreuil, Maxime Meyer +3Learning to DeferBandit Learning

  2. Online Learning with LLM Experts from Limited Feedback

    Sep 5, 2026Wang Wei, Soumyabrata Pal, Koyel Mukherjee +4LLM RoutingMulti-Armed Bandits

  3. A Query Is Not a Commitment: Learning to Correct Expert Answers in Online Deferral

    Oct 5, 2026Yannis Montreuil, Axel Carlier, Lai Xing Ng +1Cost-Sensitive LearningLearning to Defer