RALC: Risk-Controlled Local Adoption of Segmentation Updates with Few Calibration Images

Shize YinarXiv 2026

It’s late, you’re tired, and you’ve just spent weeks fine-tuning a state-of-the-art segmentation model to handle driving in a torrential downpour. It works! Your car can finally see the road in the rain. But then you test it on a clear, sunny day and realize it’s started hallucinating trucks as buildings. This is the "regression" nightmare: fixing a model for a specific edge case often breaks it for the common case.

TL;DR

RALC (Risk-Controlled Local Adoption of Segmentation Updates) is a surgical approach to model updates. Instead of accepting or rejecting a whole-image update, it uses statistical guarantees to adopt only the "safe" local changes, ensuring that daytime performance stays within a strict error budget even if you only have 10 calibration images to work with.

What Problem Does This Paper Address?

When we fine-tune a road-scene segmenter for adverse conditions (rain, snow, night), we often introduce "harmful" changes to normal daytime predictions. Ideally, we’d use a set of labeled "normal" images to calibrate the update.

The standard approach is whole-image adoption: if the update looks risky on your calibration set, you reject the update for the entire image. But this is a blunt instrument. An update might fix 1,000 pixels and break 10. If you only have a few calibration images, a single error might make you reject the whole update, losing all those helpful corrections.

The challenge is: how do we decide which local parts of an update to keep while providing a mathematical guarantee that we won't exceed a specific "risk budget" (i.e., a maximum number of new errors) on normal scenes?

Methods

The authors propose RALC, which moves from "all-or-nothing" to a granular, pixel-level (or grid-level) decision process.

  1. Confidence Ranking: For every pixel where the old model ($f_0$) and the new model ($f_1$) disagree, RALC calculates a "confidence gap." It asks: "How much more confident is the new model in its choice than the old model was in its own?"
  2. Nested Candidates: It creates a family of potential updates, ranging from "change nothing" to "change everything," by thresholding that confidence gap.
  3. The Count Bound: This is the clever bit. Without knowing the ground truth of a new test image, how do you know if a change is an error? RALC uses a simple upper bound: every pixel you change can add, at most, one new error.
  4. Conformal Risk Control (CRC): RALC uses CRC to combine the observed losses from a tiny calibration set with the "count bound" on the test image. This allows it to pick the largest possible set of local changes that statistically guarantees the expected error increase stays below a user-defined budget ($\alpha$).
Figure 1. Offline calibration stores sums S of the upper-envelope losses defined in Sec. 3.3. Online adoption adds the current candidate’s replacement count |A|. Pixels are the default unit; grid candidates group disagreements within each cell. Bars show four of the 129 shared levels, from largest to smallest candidate on the full test image. The first whose sum is at most (n + 1)α supplies the outlined mask. The shared-bound variant also stores the largest calibration replacement count M per level. Both marked pixels belong to the truck. RALC adopts the proposed building label at the circle and retains the truck label at the cross.

Datasets

The researchers evaluated RALC across several diverse benchmarks:

  • BDD100K: The primary playground, using dry daytime images for calibration/normal testing and rain/snow/night images for "adverse" testing.
  • Cityscapes & ACDC: Used for initial rule development.
  • MUSES: A multi-sensor dataset used to inform the method's design.
  • RaidaR: Used for external evaluation on rainy street scenes.
  • COCO2014: Used to show the method also works for multi-label image classification.

Key Insights and Ideas

  • Granularity is a Free Lunch: You don't actually need to make decisions pixel-by-pixel. Adopting changes in 8×8 pixel cells recovered 93–98% of the performance of pixel-level adoption while being significantly more computationally efficient.
  • The Power of "Few": RALC is remarkably robust. Even with just 10 calibration images, it significantly outperformed whole-image adoption. As the calibration set grows (e.g., to 250 images), the gap closes because the "risk" becomes easier to estimate, but RALC is essential when data is scarce.
  • Surgical Precision: By looking locally, RALC can "adopt the building and keep the truck." It keeps the parts of the update that are highly confident and likely correct while rolling back the parts that look like regressions.

Key Results

The quantitative gains are substantial. On the BDD100K dataset:

  • Higher Accuracy: RALC achieved an adverse-scene mIoU (mean Intersection over Union) that was 1.89–3.19 percentage points higher than whole-image adoption at the same risk budget.
  • Efficiency: Even when the researchers handicapped RALC to match the measured "normal loss" of other methods, it still maintained a lead of 1.135–2.428 points.
  • Speed: While more complex than a simple model pass, the RALC controller only adds about 69–93 ms of overhead on an RTX 4080 SUPER, making it viable for many real-time applications.
Figure 2. Top panels sweep the nominal budget with ten calibration images. Each curve plots adverse mIoU gain against measured normal loss. The grid curve uses 32×32-pixel cells. Dots mark τ = 0.005, squares denote Whole and crosses ReCIRC-instance. Bottom panels compare 8×8-pixel cells and default RALC with Whole at the dashed line (1,000 pixels/image).

Limitations and Future Work

  • Resolution Scaling: The "pixel budget" ($\alpha$) is absolute. A budget of 1,000 pixels means a lot more on a low-res image than a 4K one. Future work could explore relative or area-based budgets.
  • Exchangeability: The statistical guarantees rely on the calibration images being "exchangeable" with the test images. If your calibration set is all sunny highways and your test set is a foggy city, the guarantees might wobble.
  • Computational Cost: Running two models ($f_0$ and $f_1$) plus the RALC controller is roughly 2.3x to 3.7x more expensive than running a single model. This is the "safety tax" you pay for the risk guarantee.

Summary updated

BibTeX
@misc{yin2026ralc,
  author = {Shize Yin},
  title = {{RALC: Risk-Controlled Local Adoption of Segmentation Updates with Few Calibration Images}},
  year = {2026},
  eprint = {2611.28122},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28122},
}
Figure