Cost-Sensitive Learning to Defer to Multiple Experts with Workload Constraints

Jean V. Alves, Diogo Leitão, Sérgio Jesus, Marco O. P. Sampaio, Javier Liébana, Pedro Saleiro, Mário A. T. Figueiredo, Pedro BizarroarXiv 2024

TL;DR

The DeCCaF (Deferral under Cost and Capacity Constraints Framework) bridges the gap between theoretical "Learning to Defer" (L2D) research and the messy realities of production environments. It introduces a system that handles multiple human experts with limited workloads, accounts for the varying costs of different error types (like fraud vs. false alarms), and functions even when training data for human experts is sparse.

What Problem Does This Paper Address?

In many high-stakes fields like fraud detection or medical diagnosis, AI doesn't work in a vacuum; it collaborates with humans. "Learning to Defer" is a subfield of ML that focuses on training a system to decide when to trust its own prediction and when to "defer" the decision to a human expert.

However, existing L2D research often relies on three unrealistic assumptions:

  1. Infinite Human Capacity: It assumes the "best" human expert can handle an unlimited number of cases. In reality, experts have shifts, breaks, and maximum daily workloads.
  2. Uniform Error Costs: It treats all mistakes as equal. In fraud detection, missing a million-dollar theft (False Negative) is much worse than flagging a legitimate transaction for review (False Positive).
  3. Perfect Training Data: Most methods require a dataset where every expert has provided a prediction for every training instance—an expensive and often impossible requirement.

Methods

The authors propose DeCCaF, a framework composed of three distinct modules that work together to optimize the human-AI loop:

Figure 1: Schematic Representation of DeCCaF
  1. ML Classifier: A standard model (like LightGBM) that estimates the probability of the target class (e.g., "Is this fraud?").
  2. Human Expertise Model (HEM): Instead of training a separate model for every expert, DeCCaF uses a single model to predict the probability of any expert being correct, conditioned on that expert's unique ID. This allows the system to learn from "sparse" data where each training instance only has a prediction from one human.
  3. The Assigner (Global Optimizer): This is the core innovation. Instead of making a "greedy" decision for each case, DeCCaF collects a batch of cases and uses Constraint Programming (CP-SAT) to solve a global optimization problem. It finds the assignment that minimizes total expected cost while strictly respecting the individual workload limits of every human in the team.

To handle cost-sensitivity, the authors use an instance re-weighting approach. By weighting the training loss by the cost of the error, they ensure the models prioritize accuracy on high-stakes cases.

Datasets

The framework was evaluated using the bank-account-fraud dataset, a large-scale (1 million instances) public benchmark representing real-world account opening fraud.

Because real-world datasets rarely include predictions from multiple experts for the same case, the authors developed a sophisticated Synthetic Expert Generation method. These synthetic experts aren't just random noise; their errors are "instance-dependent," meaning they struggle with specific types of features or cases where the AI is also uncertain, mimicking the complementary strengths and weaknesses found in real human-AI teams.

Key Insights and Ideas

  • Global beats Local: A "greedy" assigner that simply picks the best available expert for each case eventually runs out of capacity for the most skilled humans, leading to poor assignments for the remaining cases. By treating assignment as a batch optimization problem, DeCCaF ensures the right experts are "saved" for the cases where they add the most value.
  • Joint Modeling for Sparse Data: Modeling the entire human team within a single HEM allows the system to share information across experts. This makes the system much more robust when you only have a few examples of a specific expert's performance.
  • Inference-Time Flexibility: Capacity constraints are defined at inference time, not baked into the training. This means if an expert calls in sick or a team's schedule changes, the system can adapt immediately without needing to be retrained.

Key Results

The authors tested DeCCaF against several baselines, including "Random Assignment" and the state-of-the-art "One-vs-All" (OvA) L2D method.

  • Cost Reduction: DeCCaF achieved an average 8.4% reduction in misclassification costs compared to the best-performing baselines.
  • Statistical Significance: In 5 out of 6 tested scenarios (varying by fraud rate and cost structures), DeCCaF significantly outperformed the OvA baseline.
  • Data Efficiency: The system remained effective even when the amount of available training data for human experts was significantly reduced, outperforming the OvA method which struggled with data sparsity.

Limitations and Future Work

While DeCCaF optimizes for cost, it doesn't explicitly account for fairness. If the system determines one expert is highly skilled at a specific type of difficult case, it might "punish" them by assigning them only the hardest, most stressful work. The authors suggest that future versions should include fairness incentives to balance workload difficulty.

Additionally, the current model treats costs as class-dependent (e.g., all frauds cost the same). In reality, the cost of fraud is often the transaction value. The authors plan to explore instance-specific cost estimation using regression models to further refine the assigner's accuracy.

Summary updated

BibTeX
@misc{alves2024cost,
  author = {Jean V. Alves and Diogo Leitão and Sérgio Jesus and Marco O. P. Sampaio and Javier Liébana and Pedro Saleiro and Mário A. T. Figueiredo and Pedro Bizarro},
  title = {{Cost-Sensitive Learning to Defer to Multiple Experts with Workload Constraints}},
  year = {2024},
  eprint = {2403.06906},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.06906},
}
Figure