A Unifying Post-Processing Framework for Multi-Objective Learn-to-Defer Problems

Mohammad-Amin Charusaie, Samira Samadi

Introduction

In many critical fields—such as medical diagnostics or recidivism prediction—AI is not meant to work in isolation. Instead, it operates as part of a team with human experts. This is known as the Learn-to-Defer (L2D) paradigm, where an AI system can choose to hand off difficult or uncertain tasks to a human.

While L2D systems are traditionally designed to maximize the overall accuracy of the human-AI team, real-world deployments require satisfying multiple complex constraints simultaneously. This paper introduces a unifying post-processing framework that leverages a new $d$-dimensional generalization of the classical Neyman-Pearson lemma ($d$-GNP) to provide a mathematically optimal way to maximize team accuracy while strictly adhering to constraints like algorithmic fairness and expert intervention budgets.

The Challenge of Multi-Objective L2D

Most existing L2D research focuses solely on maximizing team accuracy. However, practical applications demand attention to several other factors:

  1. Fairness: Ensuring the combined AI-human decisions are not biased against specific demographic groups.
  2. Budgets: Human experts have limited time and cognitive bandwidth; the system cannot defer every difficult case.
  3. Safety: The system must handle out-of-distribution (OOD) data gracefully, deferring when the AI is likely to fail.

Existing approaches often fall short. "Staged" approaches (training the AI first, then deciding when to defer) frequently fail because fairness is not compositional—combining a fair AI and a fair human does not guarantee a fair team outcome due to shifts in data distribution (Yule’s effect). Conversely, "in-processing" methods that bake constraints directly into the training phase can be computationally heavy and often struggle to generalize to unseen data.

Proposed Methodology: A Post-Processing Framework

To overcome these challenges, the authors propose a post-processing framework that operates on the calibrated probability scores of an existing model.

Overview of the proposed post-processing framework for Learn-to-Defer systems.

The $d$-GNP Theorem

The core innovation of this framework is a $d$-dimensional generalization of the fundamental Neyman-Pearson lemma ($d$-GNP). While the original lemma helps find the "most powerful" binary test for a fixed error rate, $d$-GNP extends this logic to accommodate multiple hypotheses and multiple constraints simultaneously.

Joint Optimization and Randomized Rules

Instead of treating the classifier and the deferral rule as separate entities, the framework jointly determines the optimal classifier and rejection function. The authors prove that finding an optimal deterministic rule for this problem is NP-Hard (akin to the Knapsack problem). To bypass this computational bottleneck, they employ randomized rules (e.g., flipping a biased coin for borderline cases). These randomized rules are shown to be both Bayes optimal and computationally tractable.

Embedding Functions

To make the framework adaptable to various goals, the authors provide a "dictionary" of embedding functions. These functions map diverse constraints—such as Demographic Parity, Equalized Odds, and OOD detection—into a unified vector space that the $d$-GNP algorithm can process.

Dictionary of embedding functions mapping various constraints into a unified vector space.

Experimental Validation

The framework was rigorously evaluated across three distinct datasets, demonstrating its versatility and effectiveness:

  • COMPAS: Used to predict criminal recidivism with a focus on racial fairness. The $d$-GNP approach achieved a superior accuracy-fairness trade-off compared to established baselines.
  • Hatespeech: A dataset of ~25,000 tweets labeled for hate speech and offensiveness. The algorithm successfully controlled demographic disparity across multiple classes simultaneously, a notoriously difficult task for standard L2D models.
  • ACSIncome: A large-scale dataset (1.6M rows) used for income prediction. With simulated human experts, the method accurately met "Equalized Odds" targets on test data, with team performance naturally scaling as constraints were loosened.

Key Insights

  • The Compositionality Trap: The paper highlights a critical "aha" moment: you cannot simply combine a fair AI with a fair human and expect a fair outcome. The act of deferring tasks inherently changes the data distribution for both parties, potentially introducing new biases.
  • Post-Processing is Bayes Optimal: Often viewed as a mere "band-aid," post-processing is mathematically proven in this paper to provide the Bayes optimal solution for multi-objective L2D under the right conditions.
  • Generalization of Deferral Labels: "In-processing" methods often reduce human/AI accuracy into a single "defer/no-defer" binary label during training, losing vital information. This post-processing approach retains the full probability distributions, leading to better generalization on unseen data.

Limitations and Future Directions

While powerful, the framework has limitations. Most notably, it relies heavily on having calibrated probability scores. If the underlying AI model provides overconfident or underconfident scores, the post-processing results will be sub-optimal. Additionally, while the framework accommodates noisy human experts, the experiments primarily relied on simulated experts; real-world human behavior is often more dynamic and complex to model.

Looking forward, the authors note that $d$-GNP is a highly general mathematical tool. Beyond Learn-to-Defer systems, it holds potential for applications in standard multi-class classification, resource allocation, and other complex decision-making problems with multi-faceted performance measures.

Summary updated

BibTeX
@inproceedings{charusaie2024unifying,
  author = {Mohammad-Amin Charusaie and Samira Samadi},
  title = {{A Unifying Post-Processing Framework for Multi-Objective Learn-to-Defer Problems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=Mtsi1eDdbH},
}
Figure