Classification with Rejection Based on Cost-sensitive Classification

Nontawat Charoenphakdee, Zhenghang Cui, Yivan Zhang, Masashi Sugiyama

Introduction

In high-stakes domains such as medical diagnosis and autonomous driving, a misclassification can have severe consequences. In these error-critical applications, it is often preferable for a model to abstain from making a prediction—a paradigm known as "classification with rejection."

Traditionally, models handle this by outputting a confidence score (e.g., a class-posterior probability) and rejecting the input if the score falls below a certain threshold. However, modern deep neural networks are notoriously overconfident and poorly calibrated, making probability-based rejection unreliable. Alternatively, researchers have tried simultaneously training a predictor and a separate "rejector" function, but this approach is mathematically difficult to justify for multiclass problems and common loss functions.

The authors of this paper invoke Vapnik’s Principle: "When solving a problem of interest, do not solve a more general problem as an intermediate step." Estimating exact class probabilities is a more general, and arguably more difficult, problem than simply deciding whether to reject a sample. Driven by this insight, the authors introduce a novel framework that bypasses the need for reliable probability estimates by leveraging the theory of cost-sensitive classification.

Methodology: A Cost-Sensitive Approach

The fundamental insight of the paper is that to follow the optimal rejection strategy (known as Chow’s rule), a model does not need to know the exact probability $p(y|x)$. It only needs to determine if the maximum probability exceeds a specific threshold, $1-c$, where $c$ represents the predefined cost of rejection.

To achieve this in a $K$-class problem, the authors propose learning an ensemble of $K$ binary cost-sensitive classifiers in a one-versus-rest configuration. Rejection is then governed by two practical rules:

  1. Distance Rejection: The model rejects a sample if no class is predicted "positively" by its respective binary classifier, indicating that the model is uncertain about all classes.
  2. Ambiguity Rejection: The model rejects a sample if multiple binary classifiers predict "positive," indicating a conflict or ambiguity between classes.

Crucially, the authors prove that as long as the underlying binary loss function is "classification-calibrated" (a standard property for most losses), the entire rejection framework is also calibrated. This theoretical guarantee allows for the use of a wide range of flexible loss functions, including non-convex and symmetric losses.

Experimental Setup

The framework was evaluated across three distinct data scenarios to test its robustness and versatility:

  • Clean-labeled Data: Standard benchmarks including Gisette, Phishing, Spambase, MNIST, Fashion-MNIST, and KMNIST.
  • Noisy-labeled Data: Datasets where 25% of the training labels were randomly flipped to simulate real-world data corruption.
  • Positive-Unlabeled (PU) Learning: A specialized setting using datasets like Subj and Twonorm, where only a subset of positive examples is labeled, and the rest remain unlabeled.

Key Findings and Results

  • Probability-Free Rejection: By reframing rejection as a series of cost-sensitive decisions, the model makes optimal "abstain" choices without ever needing to output a calibrated probability.
  • Robustness to Noise via Symmetric Losses: Because the method accommodates any calibrated binary loss, the authors successfully utilized "symmetric losses" (such as Sigmoid or Ramp loss). While mathematically incapable of estimating probabilities, these losses are exceptionally robust to label noise. In noisy-labeled and PU-learning tasks, the proposed cost-sensitive sigmoid (CS-sigmoid) loss significantly outperformed standard Softmax and state-of-the-art rejection methods like DEFER or ANGLE.
  • Overcoming Overconfidence: Standard Softmax Cross-Entropy often fails to reject ambiguous samples due to overconfidence. The proposed cost-sensitive approach successfully identified and rejected ambiguous samples in image datasets (MNIST/KMNIST) that standard models would have confidently misclassified.
  • Theoretical Guarantees: The paper establishes "excess risk bounds," proving that minimizing their proposed surrogate loss guarantees convergence toward the optimal theoretical rejection performance (Chow's Rule).

Limitations and Future Directions

  • Ensemble Scaling: For problems with a massive number of classes ($K$), training $K$ binary classifiers could become computationally expensive compared to a single multiclass model. However, the authors note that these can be trained simultaneously as a single vector-output network.
  • Defining the Rejection Cost ($c$): The rejection cost $c$ must be predefined. In practice, quantifying the exact cost of a rejection versus a misclassification is often a subjective business or clinical decision rather than a purely mathematical one.
  • Architecture Generalization: While the theoretical foundation holds for any model, the empirical evaluations primarily utilized Linear models, MLPs, and CNNs. Investigating how this framework interacts with large-scale architectures like Vision Transformers or Large Language Models represents a promising avenue for future research.

Summary updated

BibTeX
@inproceedings{charoenphakdee2021classification,
  author = {Nontawat Charoenphakdee and Zhenghang Cui and Yivan Zhang and Masashi Sugiyama},
  title = {{Classification with Rejection Based on Cost-sensitive Classification}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=Syy1WE8VMx},
}
Figure