Localized Adaptive Risk Control

Matteo Zecchin, Osvaldo Simeone

Introduction

In high-stakes domains such as medical diagnostics and autonomous driving, point estimates are often insufficient. Instead, systems must provide "prediction sets" that offer a rigorous guarantee of containing the true value with a specified confidence level (e.g., 90%). While existing methods like Adaptive Risk Control (ARC) successfully maintain these guarantees on average, they frequently suffer from a "fairness" problem. By using a single global threshold, ARC may achieve a 90% average confidence by being 95% accurate for one subpopulation while falling to 85% for another. In clinical settings, such marginal guarantees can be dangerous for underserved groups.

Methodology: From Global to Local Control

The primary innovation of Localized Adaptive Risk Control (L-ARC) is the transition from a single scalar threshold to a dynamic threshold function, $g(x)$.

The L-ARC framework utilizes feature information to provide localized calibration, ensuring consistent performance across different datasets compared to the marginal approach of standard ARC.

Kernel-Based Adaptation

L-ARC updates its threshold function within a Reproducing Kernel Hilbert Space (RKHS). By selecting an appropriate kernel, such as the Radial Basis Function (RBF), users can define the scope of "locality." When the model encounters a prediction failure, L-ARC does not simply adjust the threshold for all future inputs. Instead, it specifically lowers the threshold for inputs that are "near" the failure in the feature space.

Online Learning and Guarantees

The algorithm operates online, updating the threshold function step-by-step as new data arrives. It employs a recursive update rule akin to online gradient descent. Crucially, L-ARC retains the deterministic worst-case guarantees of standard ARC; even under significant distribution shifts, the long-term cumulative risk remains bounded.

Experimental Evaluation

The authors evaluated L-ARC across several diverse domains:

  • Medical Imaging: Controlling the False Negative Rate (FNR) for tumor segmentation across multiple datasets including Kvasir, CVC-300, CVC-ColonDB, CVC-ClinicDB, and ETIS-LaribPolypDB.
  • Electricity Demand: Managing forecasting reliability for the Elec2 dataset, distinguishing between weekday and weekend patterns.
  • Wireless Beam Selection: Optimizing 6G network efficiency by controlling reliability across different geographical locations within a network deployment area.

Key Results

Empirical results demonstrate that L-ARC effectively bridges the gap between global safety and local fairness.

Comparison of ARC and L-ARC performance. While both converge to the long-term risk target (top), only L-ARC maintains the target risk across individual datasets (bottom), whereas ARC fails significantly on the difficult Larib dataset.

In the tumor segmentation task, standard ARC exhibited "lazy" behavior, performing exceptionally well on easy datasets to compensate for a 32% error rate on the challenging ETIS-Larib dataset (against a 10% target). L-ARC corrected this by automatically increasing prediction set sizes for the difficult images, bringing all datasets close to the target. Similarly, in energy forecasting, L-ARC reduced error spikes on weekends by avoiding the over-conservatism on weekdays that characterizes standard ARC.

Conclusion and Future Work

L-ARC introduces a tunable "localization trade-off": researchers can adjust the kernel's length scale to balance local precision with convergence speed. While the current implementation faces memory challenges due to its linear growth with input history, it represents a significant step toward fair and reliable AI. Future research will focus on developing memory-efficient versions and automated kernel optimization to further enhance the system's practical utility.

Summary updated

BibTeX
@inproceedings{zecchin2024localized,
  author = {Matteo Zecchin and Osvaldo Simeone},
  title = {{Localized Adaptive Risk Control}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=fogJgrozu1},
}
Figure