To Defer or Not to Defer? Online Learning with LLMs and Congested Experts
Vasileios Saketos, William Reveillard, Alexandre Proutiere, Sebastian Dalleiger, Ming Xiao
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 K confidence levels and horizon T, KL-PBD achieves O(K T) gap-dependent regret when the accuracy at every confidence level is bounded away from the deferral boundary, and O(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.
Create a lesson
Related papers
Softmax-Free Attention in Spiking Transformers as the Zero-Temperature Limit of Two-Level Systems
Roberto C. Sotero, Pouya Taghipour, Jose M. Sanchez-Bornot
Scaling Repeated-Data Pretraining: Batch Size, Regularization, and GPU-Time Tradeoffs
Sewon Min
Instance-Adaptive Online Multiclass Multicalibration
Zhiming Huang, Jamie Morgenstern, Aaron Roth et al.
Error-Based Bidirectional Predictive Coding Enables Deep, 4-Bit Predictive Coding Networks
Garrett Kinman, Zeljko Zilic
DiffNash: Finding Nash Equilibrium in High-Dimensional Continuous Action Spaces with Diffusion Policies
Haichuan Wang, Anagha Satish, Jiale Zheng et al.
Mesh-Free Convolution: Learned Spectral Attenuation and Transport
Niloufar Zakariaei, Manav Manav, Eldad Haber