When several specialists outline the same structure on a medical photograph, their outlines differ. Current methods treat that spread as one quantity, "ambiguity," and learn to reproduce it. In optical imaging such as retinal photography or endoscopy, though, part of the spread probably has a mundane cause: the boundary falls in a dark, vignetted, or glare-washed region where nobody can see the tissue well. Another part reflects real disagreement about anatomy or pathology that better lighting would not resolve. These two parts call for different responses. The first calls for re-imaging or enhancement. The second calls for more expert opinions. Collapsing them wastes the scarcest resource in medical AI, which is expert labelling time.
We propose a training-free estimator that splits predicted segmentation uncertainty into an illumination-attributable part and a residual part. It works by explicitly resampling the lighting of an image. The image is factored, following Retinex theory (the model that an observed image is a pixelwise product of surface reflectance and an illumination field), into reflectance and illumination. We then redraw only the illumination, with matching sensor noise, while holding the reflectance fixed, and measure how much a zero-shot segmenter's boundary moves. Separately, we perturb the segmenter's prompts with lighting held fixed. The claim is testable on existing multi-rater data. If it holds, it supports an annotation policy that sends lighting-limited images for enhancement or recapture and spends extra raters only where disagreement is intrinsic.
Core Claim
On multi-rater optical imaging data, a substantial and spatially specific share of human boundary disagreement is predicted by sensitivity to physically plausible illumination changes. That share is predicted better by spatially varying, noise-aware illumination resampling than by global brightness or gamma jitter. Neither it nor its complement requires any rater IDs, rater-specific training, or task-specific labels. The second half of the claim is what makes the Retinex step more than decoration. If global gamma jitter predicts disagreement equally well, the physics adds nothing, and we would report that.
The problem sits in an unaddressed corner of the literature. Latent-rater models capture disagreement well but treat it as a single quantity and require rater identity or support sets. Pionono learns an 8-dimensional Gaussian per known rater (Probabilistic Modeling of Inter- and Intra-observer Variability). The Latent Doctor Model infers doctor style from a support set of that doctor's annotations (The Latent Doctor Model). MRNet reconstructs each rater's mask to build an ambiguity map but needs dense multi-rater training labels (Learning Calibrated Medical Image Segmentation via Multi-Rater Agreement Modeling). PU-Net learns a prompt token per rater (Multi-rater Prompting). All of these motivate the proposal, because they show disagreement is structured signal rather than noise. None asks which part of that signal is optical.
Retinex work supplies the mechanism. Trash to Treasure and Disentangle then Parse show that the illumination field carries information a downstream model should use rather than discard. Both are fully supervised on natural scenes, and neither touches rater variability. QRNet shows that naive per-channel Retinex distorts endoscopic color. That result constrains our decomposition choice, and we use color-coupled decompositions for that reason. Zero-shot segmentation supplies the segmenter. SaLIP cascades SAM and CLIP without training but outputs one deterministic mask. Its stated weakness is that it fails when low-contrast inputs starve SAM of candidates, which is exactly where our illumination term should be large. AdaptiveDetector handles degraded endoscopy with heuristic synthetic corruptions and single-consensus boxes. We differ by using a physical lighting model and by validating against real expert spread.
Research Program
For an image $S = R \cdot I$, we estimate reflectance $R$ and illumination $I$ with an off-the-shelf decomposer. We use both a classical multiscale Retinex and a learned color-coupled one, so that results are not tied to one estimator. We then draw replacement illumination fields $I'$ from an empirical bank of fields estimated from other images in the same dataset, which captures realistic vignetting and falloff. The recomposed image is $S' = R \cdot I' + n(I')$, where $n$ is Poisson-Gaussian sensor noise whose variance scales with $I'$. The noise term is the physically important part: dark regions should become genuinely low signal-to-noise, rather than merely dim.
We also draw prompt perturbations $\pi$, such as jittered boxes or points and alternative text descriptions in the SaLIP-style cascade. These play the role of "where a reader would click." With $m(x)$ the segmenter's foreground probability at pixel $x$, the law of total variance splits the predicted spread into two terms:
$$\mathrm{Var}[m(x)] = \underbrace{\mathrm{Var}_{I'}\big(\mathbb{E}_{\pi}[m(x)]\big)}_{\text{illumination-attributable}} + \underbrace{\mathbb{E}_{I'}\big[\mathrm{Var}_{\pi}(m(x))\big]}_{\text{residual}}.$$
The segmenter is primarily the zero-shot SAM+CLIP cascade, so that no task labels are used. We repeat the analysis with a U-Net trained on consensus masks to show that the decomposition is not specific to one model. Nothing is trained on individual rater annotations. Rater data is used only for evaluation and, in the budget experiment, for simulating annotation collection.
Baselines
The naive reference is the zero-shot segmenter's own per-pixel confidence, $m(x)(1-m(x))$, together with a pure image-statistics predictor: local mean brightness and local contrast regressed against disagreement. If dark pixels alone predict disagreement as well as our estimator, the method is unnecessary. All predictors are evaluated on identical images and resolutions, using the same rater-derived disagreement maps.
The strongest competitor that requires no rater training is standard test-time augmentation with global photometric jitter (brightness, gamma, contrast) plus flips. It is given the same number of forward passes as our estimator, and its jitter range is tuned on the same held-out split. This is the key ablation for the Retinex ingredient. We run three further ablations: spatially varying $I'$ without the noise term, the noise term without spatial variation, and random smooth fields instead of the empirical field bank.
The strongest existing method overall is a supervised multi-rater model trained on RIGA's six raters. We use MRNet, for which the file reports "1.2% improvement in the soft Dice coefficient for the optic cup over previous benchmarks" (MRNet); no absolute disagreement-correlation figure on RIGA was found on Lacuna. We also use PU-Net (Multi-rater Prompting), retrained on the same train/test split. These models see rater labels and our estimator does not, so they serve as an upper reference rather than a target. Beating the photometric-augmentation baseline at matched compute, with a statistically significant margin across raters and splits, counts as success for the core claim. Closing a meaningful fraction of the gap to MRNet without rater labels counts as success for the annotation-bottleneck claim.
Why not just…?
Why not just use brightness and gamma test-time augmentation? This is the real threat, and the proposal is built so that it can lose to it. Global jitter cannot reproduce spatial falloff, where one rim of the optic disc is well lit and the other is dark, and it does not raise noise where light is scarce. If the matched-compute comparison and the ablations show no gain from spatial, noise-aware resampling, we would drop the physical framing and report that cheap augmentation suffices.
Why not just enhance the image and segment it? Enhancement yields one image and therefore no estimate of how much the boundary depends on lighting. Trash to Treasure also reports that enhancer cascades lose to joint decomposition on ExDark (ZeroDCE 56.85% and SCI 55.77% mAP versus 59.74%). We still include "enhance then segment" as a comparison for the downstream re-imaging policy, because it is the obvious intervention for images flagged as lighting-limited.
Why not just train a multi-rater model? That works when one has many images with multiple raters from known readers, which is precisely the expensive resource. It also cannot tell lighting-caused from intrinsic disagreement. The comparison against MRNet and PU-Net quantifies what is lost by needing no rater labels. The decomposition is something those models do not offer at any price.
Proposed Experiments
The main testbed is RIGA: fundus images with optic disc and cup outlined by six glaucoma specialists, with MESSIDOR and BinRushed for any consensus-trained model and Magrabia for testing. It has real illumination variation and notoriously ambiguous cups. Disagreement targets are per-pixel rater entropy and the fraction of raters dissenting from the majority. Metrics are pixel-level AUROC and Spearman correlation between predicted and observed disagreement, plus the staged-threshold soft Dice used in QUBIQ between the mean prediction and the soft rater label. For image-level comparison we report Spearman correlation with rater entropy. LDM reports up to 0.728 on ISUP histopathology (The Latent Doctor Model), a different modality, cited for scale only.
The first decisive check is stratification. The illumination term should explain disagreement predominantly in pixels whose estimated $I$ is low or saturated, and the residual term should dominate in well-lit regions. A uniform pattern would falsify the decomposition.
The second check is a negative control on QUBIQ's CT tasks. There, intensity is not optical lighting, so the illumination term should explain little. A large illumination term on CT would indicate that we are measuring generic sensitivity, not lighting.
The third check uses controlled degradation. Applying known spatial illumination fields to RIGA and to Kvasir-SEG frames should increase the illumination term in proportion to the injected darkening, while leaving the residual term roughly unchanged.
The fourth experiment translates the decomposition into annotation savings. Using RIGA's six raters as a pool, we simulate a fixed budget of rater annotations. One policy allocates raters uniformly. The other sends images whose disagreement is dominated by the illumination term to enhancement with a single rater, and spends the remaining raters on images with a high residual term. We measure how well each policy recovers the full six-rater soft label per unit of budget.
The final check is a small reader study on a subset of high-illumination-term RIGA images. Two or three ophthalmologists would re-outline QRNet-style color-preserving enhanced versions of these images. The causal prediction is that disagreement shrinks on these images and not on high-residual images. It is the only experiment requiring new expert time, and it is the one that would show that lighting-attributable disagreement is actually reducible rather than merely correlated.
References
- Probabilistic Modeling of Inter- and Intra-observer Variability in Medical Image Segmentation
- The Latent Doctor Model for Modeling Inter-Observer Variability
- Learning Calibrated Medical Image Segmentation via Multi-Rater Agreement Modeling
- Multi-rater Prompting for Ambiguous Medical Image Segmentation
- Trash to Treasure: Low-Light Object Detection via Decomposition-and-Aggregation
- Disentangle then Parse: Night-time Semantic Segmentation with Illumination Disentanglement
- QRNet: A Quaternion-Based Retinex Framework for Enhanced Wireless Capsule Endoscopy Image Quality
- Test-Time Adaptation with SaLIP: A Cascade of SAM and CLIP for Zero-shot Medical Image Segmentation
- Adaptive Detector-Verifier Framework for Zero-Shot Polyp Detection in Open-World Settings
- QUBIQ: Uncertainty Quantification for Biomedical Image Segmentation Challenge