Differentiable Learning Under Triage

Nastaran Okati, Abir De, Manuel Gomez Rodriguez

Overview

In high-stakes fields like medicine or content moderation, we rarely trust an AI to make 100% of the decisions. Instead, we use "algorithmic triage": the AI handles the routine cases, and human experts step in for the tricky ones.

This paper introduces a gradient-based framework for algorithmic triage, where a predictive model learns to handle easy cases while deferring difficult ones to human experts. The authors prove that models trained for total automation are inherently suboptimal when triage is available, and they provide a differentiable algorithm to co-optimize the model and the triage policy simultaneously.

The Problem: The "Jack of All Trades" Penalty

The standard approach to human-AI collaboration is to take a model trained for full automation and simply "cut off" predictions where the model is least confident. However, this paper identifies a fundamental flaw in this pipeline: a model trained to be "pretty good" at everything is often "great" at nothing.

If we know a human will handle the hardest 20% of cases, the AI should be trained to be specialized and hyper-accurate on the remaining 80%. Otherwise, it wastes its capacity trying to learn complex patterns it will never actually have to predict in production. By trying to minimize error on the "hard" samples, the model's weights are pulled away from the optimal configuration for the "easy" samples.

Methods: Differentiable Triage

The authors propose a framework called Differentiable Triage, built on three key theoretical pillars:

  1. The Threshold Rule: They prove that for any fixed model, the optimal triage policy is a simple deterministic threshold. The system should defer to a human whenever the difference between the model's expected error and the human's expected error exceeds a certain value.
  2. Co-Optimization: Since the optimal model depends on the triage policy, and the optimal policy depends on the model, they develop an iterative gradient-based algorithm. It alternates between updating the model parameters (using Stochastic Gradient Descent) and updating the triage threshold to maintain a specific "budget" of human effort (e.g., "humans can only handle 30% of the load").
  3. Differentiable Surrogate: Because the "defer or not" decision is a discrete step function (which is not differentiable), they use a logistic function as a surrogate during training. This allows the entire system to be tuned using standard deep learning tools.

Key Insights and Ideas

Visualizing model specialization under different triage policies on synthetic data.
  • Specialization through Triage: As seen in the synthetic data visualizations above, under this framework, the model effectively "gives up" on certain regions of the feature space. This allows it to adjust its decision boundary to achieve near-zero error on the instances it does choose to predict.
  • Expert Uncertainty Matters: The authors show that you cannot just look at the model's confidence; you must also account for human disagreement. If humans are also very confused by a specific instance, the benefit of triaging that instance to them is lower than triaging an instance where the model is confused but humans are certain.

Key Results

The researchers evaluated their method on synthetic data, as well as two real-world datasets: a Hatespeech Dataset (24,783 tweets labeled by multiple human experts) and Galaxy Zoo (10,000 images of galaxies classified by volunteers, representing a scientific discovery use case).

The proposed algorithm was compared against several baselines, including confidence-based triage (deferring when the model is unsure) and score-based triage.

Training losses over epochs for Hatespeech and Galaxy Zoo datasets across different triage budgets.
  • Lower Error Rates: In both the Hatespeech and Galaxy Zoo tasks, Differentiable Triage consistently achieved lower misclassification errors across all levels of human involvement (budget $b$).
  • Efficiency: The model learns to "hand off" instances where the human loss is significantly lower than the model loss, maximizing the "bang for the buck" of human labor.
  • Stability: As shown in the training loss curves, the iterative training process successfully converges, making it a practical drop-in for existing machine learning pipelines.

Limitations and Future Work

  • Human-in-the-Loop Assumptions: The current model assumes humans and AI work separately (either/or). In reality, AI often assists humans. The authors suggest that future work could explore "informed" triage, where the AI's prediction is shown to the expert.
  • Data Requirements: To train this system effectively, you need data on human performance and disagreement at the instance level, which may not be available for all legacy datasets.
  • Generalization Error: While the algorithm is guaranteed to converge on training data, the authors note that more work is needed to theoretically analyze the generalization error (how it performs on totally unseen data) in the context of triage.

Summary updated

BibTeX
@inproceedings{okati2021differentiable,
  author = {Nastaran Okati and Abir De and Manuel Gomez Rodriguez},
  title = {{Differentiable Learning Under Triage}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=bdA60x7yG0T},
}
Figure