Quantifying and Improving Adaptivity in Conformal Prediction Through Input Transformations

Sooyong Jang, Insup Lee

TL;DR

This paper introduces a more robust way to measure and improve "adaptivity" in Conformal Prediction—the ability of a model to give larger prediction sets for hard examples and smaller ones for easy ones. By using input transformations (like adding noise) to estimate example difficulty, the authors develop more reliable evaluation metrics and a new algorithm that outperforms standard baselines in providing uncertainty estimates that truly reflect instance-level difficulty.

What Problem Does This Paper Address?

Conformal Prediction (CP) is a powerful framework that turns standard point predictions into sets of labels that are guaranteed to contain the true answer with a user-defined probability (e.g., 90%). However, a "valid" model isn't necessarily a "useful" one. A model could achieve 90% coverage by simply returning a massive set of labels for every single image, regardless of whether the image is a clear "Golden Retriever" or a blurry, ambiguous blob.

The goal is adaptivity: the model should be "smart" enough to give a small set for easy cases and a large set for difficult ones. To build adaptive models, we first need to measure adaptivity. Existing metrics usually group (bin) examples by difficulty and check if coverage holds in each bin. But there’s a catch: most current binning methods are imbalanced. For instance, if a classifier is 80% accurate, the "ground truth rank" for most images is 1. This makes it nearly impossible to create balanced bins that meaningfully distinguish between "easy" and "very easy" examples, leading to biased and unreliable metrics.

Methods

The authors propose a two-part solution centered on Input Transformations.

  1. Difficulty Estimation via Perturbation: Instead of looking at the ground truth label, they estimate difficulty by seeing how much a model’s prediction changes when the input is slightly perturbed (e.g., adding Gaussian noise). If the model's output is stable under noise, the example is "easy." If the prediction swings wildly, it's "hard."
  2. Uniform-Mass Binning: Using these "ease" scores, they sort examples and create bins that contain an equal number of samples. This solves the imbalance problem.
  3. New Metrics: They introduce T-CV (Transformation-based Coverage Violation) to measure the worst-case coverage error across bins, and T-SS (Transformation-based Set Size relationship) to measure how well the prediction set size correlates with estimated difficulty.
  4. The Algorithm (O-LAC / O-SAPS): They use this transformation-based binning to apply group-conditional conformal prediction. Instead of one global threshold for the entire dataset, the algorithm calculates specific thresholds for each difficulty group, forcing the model to be more "honest" about its uncertainty for harder instances.

Datasets

The researchers evaluated their approach on two distinct tasks:

  • Image Classification: Using ImageNet, they tested their method across nine different base architectures, including ResNets, Vision Transformers (ViTs), and EfficientNets.
  • Medical Regression: A Visual Acuity Prediction task using retinal fundus images. This demonstrated the method's utility in a high-stakes regression setting where "prediction interval width" replaces "set size."

Key Insights and Ideas

  • Noise as a Proxy for Difficulty: The most elegant "aha moment" is using prediction stability under noise as a label-free proxy for difficulty. This allows for much finer-grained binning than traditional methods like ground truth ranking.
  • The Failure of Global Thresholds: Standard CP often uses a single threshold for all data. The authors show that by breaking the data into difficulty-based "neighborhoods" and solving for thresholds locally, you get much better adaptivity without sacrificing the global coverage guarantee.
  • Metric Validation: The authors didn't just propose a new metric; they proved it works. They defined a "desired property" of adaptivity and showed that their T-SS metric correlates much more strongly with this property than existing metrics like SSCV or ESCV.

Key Results

  • Better Evaluation: In experiments across 36 different model/algorithm combinations on ImageNet, the proposed T-SS metric achieved the best rank in most cases for identifying truly adaptive models.
  • Superior Performance: Their proposed algorithms (O-LAC and O-SAPS) consistently achieved lower coverage violations (T-CV) and higher adaptivity scores (T-SS) than popular baselines like APS or RAPS.
  • Clinical Utility: In the visual acuity task, the authors' method showed a significantly stronger positive correlation ($R^2 \approx 0.92$) between the width of the prediction interval and the actual prediction error. This means a clinician can actually trust a "wide" interval as a signal that the model is struggling with that specific patient's image.

Limitations and Future Work

The authors note a few key limitations:

  • The Accuracy Ceiling: As base classifiers approach 100% accuracy, the "ease" scores become more homogeneous, making it harder for T-SS to distinguish between bins.
  • Miscoverage Sensitivity: The metrics become less effective at very high miscoverage rates (e.g., $\alpha = 0.2$), as prediction sets become too small to show meaningful variation.
  • Future Directions: The authors suggest that establishing tighter theoretical bounds on the number of samples needed per bin for stable calibration would be a valuable next step for the field.

Summary updated

BibTeX
@inproceedings{jang2026quantifying,
  author = {Sooyong Jang and Insup Lee},
  title = {{Quantifying and Improving Adaptivity in Conformal Prediction Through Input Transformations}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i26.39370},
}
Figure