Consistent Estimators for Learning to Defer to an Expert

Hussein Mozannar, David A. Sontag

In many high-stakes fields like healthcare or criminal justice, AI isn't replacing humans; it’s working alongside them. However, most machine learning models are trained in a vacuum, optimized to be as accurate as possible on their own. In their paper, "Consistent Estimators for Learning to Defer to an Expert," Hussein Mozannar and David Sontag from MIT argue that we should instead train models that know exactly when to speak up and when to hand the baton to a human expert.

TL;DR

The authors propose a theoretically grounded framework for "Learning to Defer" (L2D), where a model learns to either make a prediction or delegate the task to an expert. By introducing a novel, consistent surrogate loss function that generalizes cross-entropy, they enable models to adapt to an expert's specific strengths and weaknesses, significantly outperforming standard "confidence-based" rejection methods.

What Problem Does This Paper Address?

Standard "learning with a reject option" usually assumes that rejecting a sample carries a fixed, constant cost. But in the real world, the "cost" of deferring depends entirely on how well the human expert performs on that specific case. If a radiologist is great at spotting pneumonia but struggles with rare lung nodules, the AI should learn to handle the nodules and defer the pneumonia cases.

Illustration of a scenario where the expert has side information and a non-linear boundary, making simple confidence-based rejection suboptimal.

The challenge is that previous attempts to solve this—like training a classifier and a "rejector" separately—often fail to adapt the model to the expert's specific error patterns. Furthermore, many existing loss functions for this task were not "consistent," meaning that even with infinite data, they wouldn't necessarily converge to the mathematically optimal decision-making strategy.

Methods

The researchers treat the decision to defer as an augmented multiclass classification problem. If you have $K$ classes, the model now has $K+1$ possible outputs, where the $(K+1)$-th output represents "defer to expert."

Key technical contributions include:

  • A Novel Surrogate Loss ($L_{CE}$): They derived a convex loss function that is a direct extension of the standard cross-entropy loss. Crucially, they prove this loss is consistent, solving a theoretical open problem in multiclass rejection learning.
  • Joint Learning: Unlike "Confidence" baselines that train a classifier and then a separate rejection threshold, this approach trains the classifier and the deferral logic simultaneously in one architecture.
  • The $\alpha$ Hyperparameter: They introduced a weighting parameter ($\alpha$) that allows practitioners to tune how much the model should focus on examples where the expert is likely to be correct versus where they might fail.

Datasets

The authors validated their approach across a diverse range of tasks:

  • Synthetic Gaussian Mixtures: Used to demonstrate the theoretical failure of confidence-based methods in simple 2D space.
  • CIFAR-10 & CIFAR-100: Standard image benchmarks, paired with "synthetic experts" of varying competence.
  • CIFAR-10H: A version of CIFAR-10 that includes real human labels (crowdsourced counts), allowing for a more realistic simulation of human error.
  • CheXpert: A massive dataset of chest X-rays. They simulated a clinical setting where an AI assists a radiologist.
  • Hate Speech Detection: Using the Davidson et al. (2017) dataset to explore how deferral affects system-wide bias and fairness.

Key Insights and Ideas

  • Consistency is King: The paper highlights that many "intuitive" loss functions used in the past are actually inconsistent. By providing a consistent surrogate, they ensure that as you get more data, the model actually approaches the best possible collaborative performance.
  • Adaptation over Accuracy: A model doesn't need to be globally accurate; it needs to be accurate where the expert is not. The joint learning approach allows the model to "carve out" its own niche in the feature space, focusing its capacity on the expert's blind spots.
  • Sample Efficiency: Because the model learns the classifier and the rejector in a single pass, it is much more sample-efficient than training two separate networks.
  • The Fairness Trap: In the hate speech experiments, they found that "fairness doesn't compose." Deferring to a "fair" expert using a standard confidence-based model can actually increase the overall bias of the system. Their L2D approach provides a more stable way to manage these trade-offs.

Key Results

  • Synthetic Data: Their method outperformed confidence-based baselines by 6.39% in system accuracy, matching the performance of an "Oracle" that knew the data distribution perfectly.
  • Medical Imaging (CheXpert): Their method achieved significantly higher AU-ROC and AU-PR across all "coverage" levels (the percentage of cases the AI handles vs. defers). For example, the difference in maximum attainable AU-ROC between their method and the baseline was as high as 0.039.
  • CIFAR-10H: When working with simulated human experts, their "L2D Impute" method beat the confidence baseline by 1.2 points in overall system accuracy and 3.1 points on the specific cases the classifier chose to handle.
Performance comparison on CIFAR-10H, showing the proposed L_{CE} method outperforming the confidence baseline in both system and classifier accuracy.

Limitations and Future Work

  • Expert Data Requirements: The method requires access to samples of the expert's decisions during training. In some fields, getting enough "expert labels" to train the deferral logic might be expensive or difficult.
  • Static Experts: The paper assumes the expert is a "black box" whose behavior is fixed. Future work could explore "co-learning," where both the AI and the human expert adapt to each other over time.
  • Single Expert Focus: The current framework is designed for one expert. Extending this to a "panel of experts" with different specialties is a logical next step.

By moving from "AI vs. Human" to "AI + Human," this paper provides a rigorous mathematical foundation for building systems that are truly greater than the sum of their parts.

Summary updated

BibTeX
@inproceedings{mozannar2020consistent,
  author = {Hussein Mozannar and David A. Sontag},
  title = {{Consistent Estimators for Learning to Defer to an Expert}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=Er9PIJdBKaC},
}
Figure