Optimal Model Selection for Conformalized Robust Optimization

Yajie Bao, Yang Hu, Haojie Ren, Peng Zhao, Changliang ZouarXiv 2025 · DOI

Abstract

In high-stakes decision-making environments, such as medical diagnostics and autonomous systems, Contextual Robust Optimization (CRO) is frequently employed to minimize worst-case loss over a prediction set. While Conformal Prediction (CP) provides a rigorous framework for constructing these sets with finite-sample coverage guarantees, traditional model selection within CP focuses on minimizing set width rather than downstream decision risk. This paper introduces Conformalized Robust Optimization with Model Selection (CROMS), a novel framework that selects machine learning models specifically to minimize empirical risk. We propose four algorithms—E-CROMS, F-CROMS, J-CROMS, and the individualized CROiMS—to balance computational efficiency with statistical robustness. Our results on medical datasets demonstrate that CROMS significantly reduces decision loss while maintaining target coverage levels.

Introduction

Decision-making under uncertainty often relies on Contextual Robust Optimization (CRO). In this paradigm, a decision-maker minimizes the worst-case loss over a range of possible outcomes, known as a prediction set. To ensure these sets are reliable, researchers utilize Conformal Prediction (CP), which guarantees that the true outcome will fall within the set with a pre-specified probability (e.g., $1-\alpha$).

However, a critical gap exists in current CP methodologies: model selection. Standard approaches typically select the model that produces the smallest average set width. This "width-centric" view ignores the geometry of the downstream optimization task; a narrow set is not necessarily the one that leads to the most effective decision. Furthermore, traditional selection methods optimize for average performance, failing to account for individual variations where a specific model might perform better for certain sub-populations.

The CROMS Framework

We propose Conformalized Robust Optimization with Model Selection (CROMS) to bridge the gap between uncertainty quantification and optimal decision-making. Instead of treating model selection as a secondary step focused on set size, CROMS embeds the decision-making objective directly into the selection process. The framework identifies the model index $\lambda$ that minimizes the Empirical Risk—the actual expected loss of the downstream decision.

Algorithmic Approaches

To address varying computational and statistical requirements, we introduce four distinct algorithms:

  1. E-CROMS (Efficient): Designed for speed, this approach utilizes all available labeled data to estimate decision risk. While computationally lean, its robustness guarantees are asymptotic, meaning they hold as the sample size becomes sufficiently large.
  2. F-CROMS (Full): Based on Full Conformal techniques, this algorithm provides rigorous robustness guarantees even for small datasets. It achieves this by "imputing" potential labels and searching the label space, though this increases computational overhead.
  3. J-CROMS (Jackknife+): A middle-ground approach using leave-one-out cross-validation. It offers a faster alternative to F-CROMS while maintaining a slightly relaxed but valid robustness guarantee ($1-2\alpha$).
  4. CROiMS (Individualized): This algorithm performs individualized model selection. Upon receiving a new test point, CROiMS evaluates its specific covariates and selects the model that minimizes the conditional decision risk for that specific context, moving beyond "average" optimality.

Empirical Evaluation

We evaluated the CROMS framework using synthetic simulations and two high-dimensional medical imaging datasets:

  • COVID-19 Radiography Database: Chest X-ray images categorized into four classes (Normal, Pneumonia, COVID-19, and Lung Opacity).
  • HAM10000 Dataset: Dermatoscopic images for skin lesion classification.

In these clinical contexts, we utilized "loss matrices" to represent real-world priorities. For example, the cost of a false negative (failing to treat a sick patient) was weighted significantly higher than the cost of a false positive (performing an additional diagnostic test).

Key Insights

Decision-Centric Selection

The primary innovation of CROMS is the realization that prediction set geometry is merely a proxy for the true goal: minimizing loss. By integrating the optimization task into the selection process, the framework ensures the chosen model is "fit for purpose."

Localization and Personalization

CROiMS highlights the limitations of global model selection. By using kernel methods to weight training data based on similarity to the current subject, the system adapts its model choice dynamically. This is particularly vital in medicine, where a model's predictive accuracy may vary across different demographic or age groups.

Restoring Validity through Symmetry

A major challenge in model selection is the bias introduced when the same data is used for both selection and prediction. We demonstrate that by using symmetric augmented data (in F-CROMS) or swapping techniques, we can restore the "exchangeability" required for rigorous conformal guarantees, effectively correcting for selection bias.

Results and Discussion

Our experiments show that CROMS consistently outperforms standard baselines, such as random model selection or simple sample-splitting:

  • Efficiency and Loss: CROMS methods achieved significantly lower average decision loss while strictly maintaining the target 90% coverage level.
  • Impact of Individualization: On the HAM10000 dataset, CROiMS reduced the group conditional loss by nearly 41% for specific age groups compared to traditional non-individualized methods.
  • Robustness Control: Unlike end-to-end training methods that often overfit and fail to provide coverage guarantees, F-CROMS and J-CROMS successfully controlled the "misrobustness" rate at or below the specified threshold $\alpha$.

Limitations and Future Directions

While CROMS offers a robust path forward, several challenges remain. F-CROMS scales poorly with high-dimensional label spaces due to its search requirements. Additionally, when the set of candidate models is continuous, the optimization problem becomes non-convex, complicating the search for the absolute optimal model index. Finally, the resulting prediction sets can occasionally be conservative; future research will focus on "tightening" these sets to improve decision efficiency without compromising safety guarantees.

Summary updated

BibTeX
@misc{bao2025optimal,
  author = {Yajie Bao and Yang Hu and Haojie Ren and Peng Zhao and Changliang Zou},
  title = {{Optimal Model Selection for Conformalized Robust Optimization}},
  year = {2025},
  eprint = {2507.04716},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.04716},
}
Figure