Learning to Partially Defer for Sequences
Sahana Rayan, Ambuj Tewari
TL;DR
This work extends Learning to Defer to sequential outputs by introducing token-level and one-time partial deferral, enabling interleaved collaboration between a predictor and an expert. It develops convex surrogate losses with Bayes consistency guarantees for both granularities and derives generalization bounds to support finite-sample performance. Empirically, partial deferral yields better cost-accuracy tradeoffs than full-sequence deferral on tasks like TSP, XSUM, and MWP, with token-level deferral often providing the strongest gains. The results highlight the practical value of granularity in deferral and lay groundwork for future extensions to multiple experts and broader sequence domains.
Abstract
In the Learning to Defer (L2D) framework, a prediction model can either make a prediction or defer it to an expert, as determined by a rejector. Current L2D methods train the rejector to decide whether to reject the {\em entire prediction}, which is not desirable when the model predicts long sequences. We present an L2D setting for sequence outputs where the system can defer \textit{specific outputs} of the whole model prediction to an expert in an effort to interleave the expert and machine throughout the prediction. We propose two types of model-based post-hoc rejectors for pre-trained predictors: a token-level rejector, which defers specific token predictions to experts with next token prediction capabilities, and a one-time rejector for experts without such abilities, which defers the remaining sequence from a specific point onward. In the experiments, we also empirically demonstrate that such granular deferrals achieve better cost-accuracy tradeoffs than whole deferrals on Traveling salesman solvers, News summarization, and Weather prediction.
