TL;DR
When self-driving cars use class-wise conformal prediction to flag uncertain pixels, they promise to catch the true object class 90% of the time for every class—from pedestrians to road signs. Researchers usually stress-test these guarantees using synthetic corruptions like simulated fog or blur. This paper shows that synthetic tests are dangerously optimistic: real-world shifts (like night driving, snow, or new cities) break individual classes even when average accuracy looks fine, because new scene content causes models to confuse entire regions. Fortunately, calibrating on other real domains plus just 20 labelled target images repairs the guarantee to within ~3 percentage points of its target.
What Problem Does This Paper Address?
Imagine a driving system that hands control back to a human whenever a pixel's prediction set contains both "road" and "sidewalk." For this safety mechanism to work, the prediction sets must contain the true class as often as promised for every single class—a model that is great at spotting the sky but misses pedestrians fails where it matters most.
Class-wise (Mondrian) conformal prediction provides this per-class guarantee, assuming test images resemble the calibration images. In practice, engineers test robustness to distribution shift using synthetic benchmarks (like adding blur, noise, or JPEG compression to clean images). The authors ask: Do synthetic corruptions actually predict how class-wise conformal guarantees behave under real-world shifts?
Methods
The authors evaluate 14 Cityscapes-trained segmentation models—spanning CNNs (DeepLabV3+, OCRNet), transformer pixel classifiers (SETR, SegFormer), mask-classification transformers (Mask2Former, OneFormer, EoMT, Rein with DINOv2), and three custom sparse mixture-of-experts models—at a 90% coverage target ($\alpha = 0.1$).
To separate image degradation from new scene content, they:
- Match images by difficulty: They bin real-shift and synthetically corrupted images by their per-image error rate and compare class-wise coverage at the exact same error rate.
- Decompose the error: They split the error increase into class-mix change (different proportions of classes) and confusion change (which classes the model mixes up), and measure how often errors occur over whole connected regions ("wrong-region share").
- Propose a simple repair: They combine a "prior" built from other real domains (excluding the target) with a small budget of ~20 labelled target images using weighted quantiles (at the pixel level) and conformal risk control (at the image level). They also prove a one-sided coverage bound (Theorem 1) explaining what happens when the prior looks easier than the target.
Datasets
- Source / Calibration: Clean Cityscapes validation images.
- Real Shift (7 test sets): ACDC (fog, night, rain, snow), BDD100K, Mapillary Vistas, and IDD (India Driving Dataset).
- Synthetic Shift: Cityscapes-C (brightness, contrast, defocus blur, fog, JPEG compression at severity 3), Foggy Cityscapes, and IDD-C (Cityscapes-C applied to IDD).
- Generality Checks: Three Mapillary-trained models tested on Cityscapes, ACDC, BDD100K, and IDD; plus OpenEarthMap (aerial land-cover images across six continents, training on Europe and testing on the other five).
Key Insights and Ideas
- Average coverage hides class-wise collapse: A single threshold calibrated on 20 target images can hit ~90% coverage overall while individual classes fall 10–19 points short. Under real shift, road coverage drops to 42–50% in rain, snow, night, and BDD100K, and sky at night drops to 3%.
- Synthetic tests understate the failure—even at equal difficulty: Comparing images with the exact same per-image error rate, real shift costs 4.1 to 11.4 points more class-wise coverage than synthetic corruption in 13 of 14 models (including all 11 public models).
- The culprit is new scene content, not pixel degradation: A changed class mix barely explains the error increase (at most 0.3 points for the median public model). Instead, 90%+ of the error increase in most models comes from changed confusions—like night turning sky into building, or snow turning terrain into sidewalk—often over whole regions. Corrupting familiar scenes doesn't trigger this; new scenes do.
- No free lunch at small label budgets: The authors prove that without assumptions about how other domains relate to the target, no method can guarantee class-wise coverage with small sets using only 20 labelled images (where rare classes appear in fewer than 9 images).
Key Results
- The repair works: Using other real domains plus 20 labelled target images reduces the average coverage shortfall from 21.1 points (clean calibration) to 2.6 points at the pixel level (and 1.2 points at the image level).
- Oracle-sized sets: Crucially, the repair achieves this at a mean set size of 3.17 classes, matching the oracle's 3.26 (for the 11 public models alone, 1.85 vs. the oracle's 2.04). Existing methods either fall further short or blow up set sizes (e.g., 6.03 for union over domains, 11.24 for labelled audit).
- Carries over to aerial imagery: On OpenEarthMap, real shift costs 6.2 points more coverage than synthetic corruption at matched error rates, and the 20-image repair brings shortfall down from 15.9 to 2.3 points at the oracle's set size.
Limitations and Future Work
- Fixed vs. continuous shift: The paper tests fixed, known target datasets, whereas real deployment involves continuous, mixed shifts, and labelling 20 segmentation images is still a real cost.
- Domain & model caveats: Medical and indoor segmentation remain untested. The three custom mixture-of-experts models are weaker than the public models (and one of them was the lone exception to the matched-error gap). Also, Gaussian and shot noise were excluded from the synthetic pool because they destroyed several models.
- Why models make these confusions: The authors describe which confusions grow under new scene content, but explaining why models make them internally is left for future work.
Summary updated