[Paper Review] Who Should Predict? Exact Algorithms For Learning to Defer to Humans
This paper proposes exact algorithms for learning to defer in human-AI systems, showing that finding optimal linear classifier-rejector pairs is NP-hard even in realizable settings. It introduces a mixed-integer linear programming (MILP) formulation for exact optimization and a novel differentiable surrogate loss, RealizableSurrogate, which is realizable-consistent and outperforms prior methods in both linear and non-linear settings.
Automated AI classifiers should be able to defer the prediction to a human decision maker to ensure more accurate predictions. In this work, we jointly train a classifier with a rejector, which decides on each data point whether the classifier or the human should predict. We show that prior approaches can fail to find a human-AI system with low misclassification error even when there exists a linear classifier and rejector that have zero error (the realizable setting). We prove that obtaining a linear pair with low error is NP-hard even when the problem is realizable. To complement this negative result, we give a mixed-integer-linear-programming (MILP) formulation that can optimally solve the problem in the linear setting. However, the MILP only scales to moderately-sized problems. Therefore, we provide a novel surrogate loss function that is realizable-consistent and performs well empirically. We test our approaches on a comprehensive set of datasets and compare to a wide range of baselines.
Motivation & Objective
- Address the failure of prior surrogate loss methods to find optimal human-AI deferral systems even when a perfect linear classifier-rejector pair exists.
- Establish the computational hardness of learning with deferral using halfspaces, proving NP-hardness even in the realizable case.
- Develop an exact MILP formulation to optimally solve the linear deferral problem, enabling constraint integration and optimal training error minimization.
- Design a new differentiable surrogate loss, RealizableSurrogate, that is realizable-consistent and performs well across linear and non-linear model classes.
- Provide the most comprehensive empirical evaluation of deferral algorithms to date, comparing methods across diverse datasets and settings.
Proposed method
- Formulate the learning with deferral problem as a joint optimization of a linear classifier and a linear rejector to minimize system error.
- Prove NP-hardness of finding an approximately optimal linear pair in the realizable setting, showing that no polynomial-time algorithm exists unless NP=RP.
- Develop a mixed-integer linear program (MILP) that exactly minimizes the training error by avoiding a naive quadratic formulation.
- Introduce RealizableSurrogate, a differentiable surrogate loss function that is realizable-consistent for halfspace hypothesis sets, enabling efficient optimization.
- Integrate regularization and constraints into the MILP framework to control overfitting and guide system behavior.
- Evaluate the MILP and RealizableSurrogate on a wide range of datasets, including synthetic, image, and healthcare-related tasks, under both realizable and non-realizable conditions.
Experimental results
Research questions
- RQ1Can existing surrogate loss functions reliably learn optimal linear classifier-rejector pairs in the learning-to-defer setting, even when a perfect solution exists?
- RQ2Is learning to defer with linear models (classifier and rejector) computationally tractable, or is it NP-hard even in the realizable case?
- RQ3Can an exact optimization method like MILP be practically applied to moderate-sized deferral problems with guaranteed optimality?
- RQ4Does a new surrogate loss function exist that is realizable-consistent and performs well across both linear and non-linear model classes?
- RQ5How do the proposed methods compare empirically to prior baselines in terms of system error, accuracy, and robustness across diverse datasets?
Key findings
- Prior surrogate methods, including CrossEntropySurrogate and OvASurrogate, fail to find optimal linear classifier-rejector pairs in a synthetic realizable setting where a perfect solution exists.
- The problem of learning with deferral using halfspaces (LWD-H) is NP-hard even in the realizable setting, ruling out polynomial-time algorithms unless NP=RP.
- The proposed MILP formulation achieves optimal system error on moderate-sized datasets and allows for constraint integration, outperforming baselines in exact optimization.
- RealizableSurrogate achieves state-of-the-art performance on all tested datasets, including a 0.979 test accuracy on the synthetic realizable dataset, surpassing all baselines.
- In the ImageNet16H dataset with 125% noise, RealizableSurrogate achieves 0.755 accuracy, outperforming the next best method (0.707) and demonstrating robustness to label noise.
- The MILP method achieves optimal performance on small-to-medium datasets but is limited by scalability, while RealizableSurrogate offers a scalable, high-performing alternative that is optimal in the realizable case.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.