Data-Adaptive Tradeoffs among Multiple Risks in Distribution-Free Prediction

Drew T. Nguyen, Reese Pathak, Anastasios N. Angelopoulos, Stephen Bates, Michael I. JordanarXiv 2024 · DOI

Introduction

In modern machine learning, uncertainty quantification (UQ) often relies on conformal prediction to provide rigorous error guarantees. Traditionally, these methods require users to pre-specify their error tolerance ($\alpha$) and risk measure ($R$) before observing calibration data. However, in practice, practitioners often prefer to visualize tradeoffs—such as the balance between false negatives and false positives—and select an optimal threshold after inspecting the data. This paper addresses the "data-adaptive" trap: choosing thresholds post hoc can lead to significant violations of risk guarantees due to overfitting the uncertainty bounds to a specific calibration set.

The Challenge of Post Hoc Optimization

When a user "peeks" at the data to set parameters, standard pointwise bounds fail. In experiments using the MS-COCO dataset, the authors found that naive methods intended to limit risk to 10% actually failed 14% of the time when parameters were chosen adaptively. To solve this, the authors propose moving from pointwise bounds (valid for one fixed parameter) to uniform bounds (valid for all possible parameters simultaneously). If a bound is uniform, the guarantee remains valid regardless of where the threshold is moved after seeing the data.

Proposed Methods

The framework leverages the structure of monotonically-indexed function classes. Since many common risks (like False Negative Rate or prediction set size) change monotonically with the classification threshold, the authors can construct tighter bounds than general-purpose "black-box" methods. They introduce three procedures:

  1. NASM (Nonasymptotic Monotone Bound): A theoretical extension of the Dvoretzky-Kiefer-Wolfowitz (DKW) inequality providing a safe upper bound for any sample size $n$.
  2. RR (Risk Resampling): A bootstrap-based approach that builds an empirical distribution of the risk process, offering asymptotic exactness as data volume increases.
  3. RRR (Restricted Risk Resampling): The most practical contribution, which localizes the bootstrap to a specific range of interest (e.g., low-error thresholds), resulting in significantly tighter confidence intervals.
Figure 4: Visualization of the tradeoff between False Negative Rate (FNR) and False Positive Rate (FPR) on the MS-COCO dataset. As the threshold changes, the set of predicted object labels (person, car, bus, etc.) shifts, demonstrating the need for stable risk control across the entire threshold range.

Experimental Validation and Results

The authors validated their approach using synthetic Gaussian data and the MS-COCO vision dataset (approx. 120K images). Using a TResNet model for multi-label classification, they managed tradeoffs between FNR, FPR, and False Discovery Rate (FDR).

Key findings include:

  • Validity: The RRR method successfully controlled risks at the desired $\delta=0.1$ level across all experiments. In contrast, previous state-of-the-art pointwise methods failed significantly under adaptive selection.
  • Efficiency: RRR provided much tighter bounds than the conservative NASM, allowing for more "aggressive" and useful thresholds while maintaining a statistical safety net.
  • Convergence: Bootstrap-based estimates (RR/RRR) were shown to converge to true risk quantiles as the calibration set size $n$ increased from 30 to 3000.
Figure 1: Comparison of the risk gap between the RRR method and previous pointwise methods across different sample sizes (n). The RRR method (green line) consistently maintains a non-positive risk gap, ensuring the promised error levels are not exceeded, while the previous method (orange) frequently violates these bounds.

Conclusion and Future Work

This work provides a robust framework for distribution-free risk control that survives the realities of data-driven decision-making. While the RRR method is computationally more intensive than analytical bounds due to the bootstrap (typically 1000 resamples), it remains feasible for offline calibration. Future research aims to develop "Bernstein-style" inequalities that are both nonasymptotic and variance-aware, potentially offering the best of both NASM and RRR.

Summary updated

BibTeX
@misc{nguyen2024data,
  author = {Drew T. Nguyen and Reese Pathak and Anastasios N. Angelopoulos and Stephen Bates and Michael I. Jordan},
  title = {{Data-Adaptive Tradeoffs among Multiple Risks in Distribution-Free Prediction}},
  year = {2024},
  eprint = {2403.19605},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.19605},
}
Figure