Deep Neural Network Benchmarks for Selective Classification

Andrea Pugnana, Lorenzo Perini, Jesse Davis, Salvatore Ruggieri

TL;DR

Selective classification allows models to abstain from predicting when uncertainty is high, but prior evaluations were narrow and often overstated algorithmic differences. This paper presents the first large-scale benchmark—evaluating 18 methods across 44 image and tabular datasets—revealing that while deep ensembles with softmax response perform best on average, their lead over standard baselines is rarely statistically significant. Furthermore, nearly all existing methods severely discriminate against minority classes and catastrophically fail to abstain on out-of-distribution data.

What Problem Does This Paper Address?

In safety-critical applications like clinical diagnostics, criminal justice, and credit scoring, incorrect model predictions can have severe real-world consequences. Selective Classification (SC) mitigates this risk by equipping a classifier with a reject/abstention mechanism, enabling it to trade coverage (the fraction of samples it predicts on) for accuracy on the accepted samples.

Despite rapid algorithmic development, existing empirical evaluations suffered from key blind spots:

  1. Limited scale and diversity: Typically tested on $\le 10$ datasets, almost exclusively focusing on computer vision.
  2. Small baseline pools: Rarely comparing more than a handful of methods directly.
  3. Narrow evaluation criteria: Focusing almost solely on selective accuracy, while ignoring coverage constraint violations, class-specific rejection biases, and behavior under distribution shift.

This paper addresses these gaps with a standardized, extensive empirical benchmark.

Methods

The authors evaluate 18 selective classification baselines categorized into three major paradigms:

  1. Learn-to-Abstain: Augment the target space with an $(m+1)$-th "abstain" class and penalize uncertainty during training.
  2. Baselines: DeepGamblers (DG), Self-Adaptive Training (SAT), and SAT+EM (entropy minimization).
  3. Learn-to-Select: Jointly optimize the classifier and a dedicated selection head for a specific target coverage $c$.
  4. Baselines: SelectiveNet (SELNET) and SELNET+EM.
  5. Score-Based (Post-Hoc): Derive confidence scores from model outputs to rank and threshold test predictions.
  6. Baselines: Softmax Response (SR), hybrid combinations (SAT+SR, SAT+EM+SR, SELNET+SR, SELNET+EM+SR), Deep Ensembles (ENS by entropy, ENS+SR by mean softmax response), CONFIDNET, auxiliary regressors/surrogate risk estimators (REG, SELE), cross-validation confidence stacking (SCROSS), and AUC-preserving rank rejectors (PLUGINAUC, AUCROSS).

The benchmark evaluates these methods across five research questions covering selective error rate, coverage violation tolerances ($\varepsilon$), class distribution of abstentions, Selection with Guaranteed Risk (SGR), and out-of-distribution (OOD) robustness.

Datasets

The benchmark evaluates 44 real-world datasets:

  • 20 Image Datasets: CIFAR-10, SVHN, MNIST, Food-101, StanfordCars, Waterbirds, Cats vs. Dogs, OxfordPets, and 12 MedMNIST benchmarks (e.g., BloodMNIST, OrganAMNIST, PathMNIST, TissueMNIST). Architectures used include ResNet-18, ResNet-34, ResNet-50, and VGG-16.
  • 24 Tabular Datasets: Spanning finance, demographics, and medicine (e.g., Adult, Bank Marketing, COMPAS, Covtype, Higgs, MiniBooNE, UCI Credit). Architectures include FT-Transformer and TabResNet.

Key Insights and Ideas

  • The "SOTA" gap is smaller than claimed: While Deep Ensembles combined with Softmax Response (ENS+SR) ranks first overall, critical difference tests reveal that between 8 and 14 baselines perform with no statistically significant difference across various target coverages. Standard, simple Softmax Response (SR) remains a remarkably competitive baseline.
  • Severe minority class bias: In class-imbalanced binary domains, almost all SC methods disproportionately reject minority class examples to artificially suppress total error. Only PLUGINAUC and AUCROSS preserve balanced representation among accepted predictions.
  • Ambiguity rejection does not protect against distribution shift: Because current SC techniques focus on boundary ambiguity rather than novelty detection, they fail on out-of-distribution inputs. When fed pure noise images, many models confidently output predictions rather than abstaining.

Key Results

  • Selective Error Rate:
  • On binary tasks, ENS+SR and SR achieved the lowest relative error rates (from $\approx 0.485$ at $c=0.99$ down to $\approx 0.365$ at $c=0.70$), while DG and REG performed worst ($\approx 0.564$ and $0.529$ at $c=0.70$).
  • On multiclass tasks, ENS+SR reduced relative error from $0.182$ ($c=0.99$) to $0.117$ ($c=0.70$).
  • Coverage Violations: Calibration sets effectively maintain target coverage; large coverage violations ($>10\%$) were rare across all baselines.
  • Class Bias on Imbalanced Data ($p \le 0.25$): At $c=0.70$, 11 of the 18 baselines dropped their minority representation ratio ($\text{MinCoeff}$) below $0.50$ (e.g., SELNET dropped to $0.375$; DG to $0.413$). In contrast, AUCROSS and PLUGINAUC maintained a stable $\text{MinCoeff} \approx 1.00$.
  • Out-of-Distribution Rejection: Given pure random noise images, no method rejected 100% of inputs across datasets. While ensemble methods performed best (mean coverage of $0.221$ for ENS and $0.353$ for ENS+SR), several baselines mistakenly accepted nearly all noise inputs on specific benchmarks like TissueMNIST.

Limitations and Future Work

  • Architectural Diversity: Each dataset was paired with a single representative architecture (e.g., ResNet or FT-Transformer); tree-based baselines—often state-of-the-art for tabular data—were not evaluated.
  • Computational Cost: High-performing methods like ensembles (ENS, ENS+SR) and cross-fitting approaches (SCROSS, AUCROSS) require training up to 10 separate neural networks, which can be prohibitive for massive datasets.
  • Modality Scope: The benchmark was restricted to vision and tabular domains, omitting NLP, audio, and time series.
  • Future Directions: The authors emphasize the urgent need for shift-aware selective classification (merging ambiguity rejection with novelty rejection) and methods designed to prevent algorithmic bias against minority subpopulations during abstention.

Summary updated

BibTeX
@inproceedings{pugnana2023deep,
  author = {Andrea Pugnana and Lorenzo Perini and Jesse Davis and Salvatore Ruggieri},
  title = {{Deep Neural Network Benchmarks for Selective Classification}},
  booktitle = {Accepted by DMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=xDPzHbtAEs},
}
Figure