Regression with Cost-based Rejection

Xin Cheng, Yuzhou Cao, Haobo Wang, Hongxin Wei, Bo An, Lei Feng

Abstract

In high-stakes regression tasks, the ability for a model to abstain from making a prediction when uncertainty is high is crucial. This paper introduces a formal framework for Regression with Cost-based Rejection (RcR). We derive the Bayes optimal solution, demonstrating that rejection is optimal when the conditional target variance exceeds a pre-defined rejection cost. To implement this, we propose a theoretically consistent surrogate loss function and a "Slow-Start" training strategy. Experimental results across diverse datasets, including healthcare and tabular benchmarks, show that RcR significantly improves reliability by reducing error on accepted instances.

Introduction

In domains such as autonomous driving and healthcare, the cost of an incorrect prediction can be extreme. "Learning with rejection" addresses this by allowing models to refrain from predicting on difficult instances, deferring them to human experts. While this concept is well-established for classification through class probabilities, it remains challenging for regression due to the continuous and infinite nature of the target space. Existing methods often rely on fixed rejection rates, which lack the flexibility needed for real-world scenarios where risks vary per instance. This work proposes a cost-based framework that balances prediction error against a rejection cost.

Methodology

The authors define the Regression with Cost-based Rejection (RcR) framework through three primary components:

  1. Risk Formulation: The loss function is defined to incur the Mean Squared Error (MSE) if an instance is accepted, or a rejection cost $c(x)$ if it is not.
  2. Bayes Optimal Solution: The optimal strategy is proven to be predicting the mean and rejecting the instance if its conditional variance $\mathbb{D}_{p(y|x)}[y]$ exceeds the cost $c(x)$.
  3. Surrogate Loss Function: As true variance is typically unknown, a surrogate loss $\psi$ is introduced: $$\psi(h, r, c, x, y) = (h(x) - y)^2 \ell(r(x), -1) + c(x) \ell(r(x), +1)$$ where $h$ is the regressor, $r$ is the rejector, and $\ell$ is a binary classification loss. This formulation treats rejection as a weighted classification problem.

  4. Slow-Start Training: To ensure the regressor learns before the rejector begins abstaining, a "Slow-Start" strategy prioritizes regressor training initially before co-training both components.

Experimental Results

The RcR method was evaluated on seven datasets spanning computer vision (AgeDB), healthcare (BreastPathQ), and UCI tabular benchmarks (Abalone, Airfoil, etc.).

Performance on Healthcare and Tabular Data

On the BreastPathQ dataset, which involves predicting tumor cellularity, the model effectively identifies and rejects high-variance patches. This results in an Accepted Loss (AL) that is consistently lower than the standard supervised baseline (Sup), as shown in Figure 1.

Test performance on BreastPathQ. AL (Accepted Loss) is consistently lower than the Supervised (Sup) baseline.

Similar performance gains were observed across UCI tabular datasets. The method demonstrates strong cost-sensitivity: as the rejection cost $c$ increases, the model rejects fewer instances, and the error on accepted samples naturally rises, confirming the model's ability to navigate the error-rejection trade-off.

Test performance on UCI datasets including Abalone, Airfoil, and Housing.

Discussion and Conclusion

The theoretical foundation of RcR highlights variance as the critical metric for rejection in regression. By framing rejection as a weighted classification task, the proposed surrogate loss avoids the need for explicit density estimation while maintaining consistency guarantees.

While effective, the current framework is optimized for MSE. Future research may explore extending these principles to other loss functions, such as Mean Absolute Error, and further refining the "Slow-Start" hyperparameter tuning for varied architectures. Overall, RcR offers a robust, theoretically grounded approach to building reliable regression models for risk-sensitive applications.

Summary updated

BibTeX
@inproceedings{cheng2023regression,
  author = {Xin Cheng and Yuzhou Cao and Haobo Wang and Hongxin Wei and Bo An and Lei Feng},
  title = {{Regression with Cost-based Rejection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=o7HckkxOZH},
}
Figure