Many medical imaging models are trained on one kind of image and then asked to work on another: a diabetic retinopathy classifier trained on photographs from hospital benchtop fundus cameras is reused on photographs from cheap smartphone cameras, or a vessel segmenter trained on color fundus photos is reused on angiography scans. Methods for this kind of transfer are judged only on frozen, curated archives. Separately, the first careful study of the gap between archive testing and live deployment found something else. When a model runs on live data, most of the accuracy it loses comes from differences in how data reaches it (the "plumbing"), not from the patient population changing over time. That study used a tabular hospital-records model, not an imaging model. This proposal joins the two findings. We will run several cross-device retinal screening models silently alongside a live smartphone screening program. Afterwards we will split their prospective accuracy loss into a part caused by time, a part caused by dataset curation, and a part caused by the live data pipeline. We then ask whether a cheap offline check can predict the loss before anyone deploys.
The claim is specific and testable. Transfer methods learn to ignore the nuisance variation they saw during training, such as blur and illumination. The variation a live screening stream produces is different: ungradeable captures, off-center fields, small undilated pupils, repeated attempts, and device-side compression. We therefore predict that transferred models lose more to curation and pipeline shift than to temporal shift. We also predict that the offline advantage of the best transfer method over plain training shrinks on the live stream. If this holds, the field's retrospective benchmark rankings for cross-modality methods are partly an artifact of curation. It also implies a concrete, inexpensive evaluation protocol that would catch the problem before a trial.
Grounding in prior work
Three papers motivate the problem. Mind the Performance Gap compares three snapshots of a C. difficile risk model's data: historical warehouse data, live near-real-time data, and warehouse data from the live period pulled months later. Its AUROC fell from 0.778 to 0.767. Infrastructure shift cost 0.016, and temporal shift contributed a gain of 0.005. Live data feeds also failed silently on 10 of 356 days. We reuse its decomposition and adapt it to images, where the "infrastructure" differs in kind. Archived pixels are often identical to live ones. What differs is which images reach the model: curated research sets drop ungradeable captures, and retrospective series selection differs from what live routing delivers. CausalFund transfers glaucoma and diabetic retinopathy models from benchtop cameras to smartphone cameras (mBRSET, Brazil Glaucoma). It separates disease-relevant latent factors from device factors and perturbs the device factors during training. It reports glaucoma AUC rising from 0.649 with a standard EfficientNet to 0.757, and diabetic retinopathy AUC up to 0.947. Its authors state the work is purely retrospective. That makes it both our strongest transfer method and the claim we put under test. The review Volumetric Radiology AI in the Era of Multimodal Large Language Models proposes a Claim–Design–Validation check, which asks whether a study's validation design matches its clinical claim. It finds that cross-modality foundation models almost never satisfy it. Our protocol is one concrete way to satisfy it without an interventional trial.
Two papers constrain the design. Towards Modality Generalization shows on general video and audio benchmarks that tight alignment between modalities does not imply transfer: "binding is not generalizing." Despite its title, it contains no clinical prospective analysis. We take from it the warning that a transfer method's training objective can be satisfied without the model learning what matters for the target. AI support for accurate and fast radiological diagnosis of COVID-19 evaluates multi-vendor CT and radiologist assistance on an enriched, curated reader cohort. It shows that multi-vendor robustness can be measured offline. It is also an example of the curated-cohort design whose blind spots we want to quantify. The sepsis trigger study Creating an automated trigger for sepsis clinical decision support and the live mammography reader Prospective implementation of AI-assisted screen reading show that consecutive, uncurated streams are feasible to evaluate and that they change conclusions. Neither involves transferred models.
We chose smartphone fundus screening deliberately over true cross-modality pairs such as fundus photography to angiography (AdaptDiff). Two properties make it suitable. It has a real high-volume screening workflow with a binary referral decision, and it already has a strong published transfer method with public source and target data. Strictly speaking it is a cross-device shift within one modality. We state that limitation openly and return to it at the end.
Core Claim
For cross-device retinal screening models, the drop from retrospective to prospective performance is dominated by curation and pipeline effects rather than time. The drop is larger for transferred models than for models trained on labeled target-device data. The ordering of methods on curated benchmarks does not reliably carry over to the live stream. We also expect that most of the gap can be recovered offline by evaluating on the uncurated archive from the same period. This single additional snapshot is cheap to build and is almost never reported.
Research Program
The deployment is a silent "shadow mode" run inside an existing smartphone-camera diabetic retinopathy screening program for 12 months. Every capture the device transmits is sent to the models as it arrives, and no output reaches clinicians. The reference standard is adjudicated grading for referable diabetic retinopathy by two retina specialists with a third arbiter. Grading uses the best available image of each eye, and dilated-exam findings are used where the patient was referred. Glaucoma is a secondary endpoint because its reference standard is weaker. The unit of analysis is the screening encounter, and the ungradeable rate is reported as its own outcome.
We extend the three-snapshot decomposition to four. $D_{ret}$ is the historical curated smartphone set, built the way public target sets are built, with quality filtering and one image per eye. $D'_{cur}$ applies the same curation to archived images from the deployment period. $D'_{unc}$ is the archived images from the deployment period without curation: every stored capture, with retrospective series selection. $D_{pro}$ is exactly what arrived live, in arrival order, including repeat captures and transmission artifacts. With $A(\cdot)$ denoting encounter-level AUROC on a snapshot, the total gap separates exactly into three terms:
$$A(D_{ret}) - A(D_{pro}) = \underbrace{[A(D_{ret}) - A(D'_{cur})]}_{\text{temporal}} + \underbrace{[A(D'_{cur}) - A(D'_{unc})]}_{\text{curation}} + \underbrace{[A(D'_{unc}) - A(D_{pro})]}_{\text{pipeline}}.$$
The encounters behind the last three snapshots are the same patients, so differences are paired. We estimate confidence intervals by patient-level bootstrap. The Ötles gap was only about 0.01 AUROC, which is why pairing matters. We will size enrollment so that the interval on each component is narrow enough to distinguish effects of that magnitude. The final count depends on the program's referable-disease prevalence, which we estimate in the first two months. We also report calibration (expected calibration error and Brier score), because Ötles et al. found that temporal shift mainly moved calibration. Clinically, we report sensitivity at the specificity chosen on $D_{ret}$, because that fixed operating point is what a real deployment would use.
Five models are trained offline once, frozen, and then shadowed. The first is source-only standard training on benchtop sets (APTOS, DDR, IDRiD, EyePACS, Messidor). The second is source-only training with heavy blur, noise, and color augmentation. The third is CausalFund. The fourth is a supervised model trained on labeled public smartphone data (mBRSET) together with the source sets. The fifth is the CausalFund model with a gradeability gate that withholds output on low-quality captures. Every model uses the same EfficientNet backbone and the same training budget.
Baselines
The naive reference point is source-only standard training: an EfficientNet trained on benchtop images and applied to smartphone captures unchanged. CausalFund reports 0.649 glaucoma AUC for this configuration on smartphone images. We found no result on Lacuna for referable diabetic retinopathy under this exact setup. It anchors how much any transfer method buys at all.
The strongest existing transfer method is CausalFund. The file reports 0.757 glaucoma AUC and up to 0.947 diabetic retinopathy AUC on retrospective smartphone sets. We re-implement it on the same backbone, data, and hyperparameter search budget as the other models, and first check that we reproduce its retrospective numbers on $D_{ret}$ within noise. It "wins" on this question only if its advantage over the source-only baseline on $D_{pro}$ has a bootstrap interval excluding zero. It "survives the gap" if that advantage shrinks by less than half between $D_{ret}$ and $D_{pro}$.
The in-domain supervised model is the competitor a clinician would actually consider. If it beats CausalFund on $D_{pro}$ by more than it does on $D_{ret}$, then label-free transfer is more fragile than its benchmarks suggest.
For the evaluation question, the naive baseline is the curated retrospective estimate $A(D_{ret})$ used as a forecast of $A(D_{pro})$. The main ablation isolates our key ingredient: we compare the forecast error of $A(D'_{unc})$ against $A(D'_{cur})$ and against a synthetic-corruption estimate. That estimate is $D'_{cur}$ with standard blur, noise, JPEG, and illumination corruptions applied at severities matched to device statistics. The uncurated snapshot counts as a success if its forecast error is under a third of the curated snapshot's. The gradeability-gate model separates "the model is wrong on bad images" from "bad images should not be scored."
Why not just…?
Why not just run a large multi-center retrospective evaluation instead of a live shadow deployment? For tabular models, Ötles et al. showed that retrospective data cannot reveal pipeline loss or silent feed outages. Imaging may differ, and the pipeline term could turn out to be near zero because archived pixels equal live ones. That is a real possibility. Our design measures it directly. If the pipeline term is negligible and the curation term dominates, the conclusion is that uncurated retrospective evaluation suffices. That is a useful, cost-saving result, and it would partly vindicate this alternative.
Why not just test robustness with synthetic corruptions? Corruption benchmarks are cheap and are how transfer papers, including CausalFund, stress-test their models. They perturb images that were already gradeable. They do not reproduce off-center fields, missing eyes, or repeat captures. The corruption-based forecast is one of our compared estimators, so the experiment settles whether it tracks $A(D_{pro})$ as well as the uncurated archive does.
Why not just collect target-device labels and train in-domain, skipping transfer? This is the most serious threat to the premise of transfer methods, so the in-domain model is a full competitor rather than a strawman. If it dominates CausalFund on the live stream, we will report that transfer's value lies only in the zero-label startup phase. We will then quantify how many target labels close the gap.
Why not just add a quality gate or out-of-distribution detector and ignore the gap? Gating can remove much of the curation loss, but it moves the cost to the ungradeable rate, which means more recaptures and referrals. The gated model is evaluated on both AUROC and abstention rate. If gating closes the gap at an acceptable abstention rate, the practical recommendation becomes "ship the gate."
Proposed Experiments and Decisive Checks
The primary analysis estimates the three components for each model with paired bootstrap intervals. The first decisive check is whether curation plus pipeline loss exceeds temporal loss for CausalFund. The second is whether CausalFund's advantage over the source-only baseline shrinks from $D_{ret}$ to $D_{pro}$. The third is whether $A(D'_{unc})$ predicts $A(D_{pro})$ better than the curated and corruption-based estimates. A clean negative result on all three would also be informative: small, time-driven gaps would mean the retrospective literature on cross-device transfer is more trustworthy than the tabular precedent implies.
As secondary analyses, we log inference latency on the program's edge hardware and count silent feed failures per deployment day, for comparison with the 10 of 356 days Ötles et al. observed. We also stratify errors by capture attribute (pupil size, field centering, repeat index) to identify which live nuisances the invariance training failed to cover.
The four-snapshot protocol is modality-agnostic. A natural follow-on is to rerun it for a true cross-modality transfer, such as an AdaptDiff-style fundus-to-angiography segmenter, where source and target are different imaging physics rather than different cameras. We do not claim that the cross-device result transfers to that setting until it is measured.
References
- Mind the Performance Gap: Examining Dataset Shift During Prospective Validation
- CausalFund: Causality-Inspired Domain Generalization in Retinal Fundus Imaging for Low-Resource Screening
- Volumetric Radiology AI in the Era of Multimodal Large Language Models
- Towards Modality Generalization: A Benchmark and Prospective Analysis
- AI support for accurate and fast radiological diagnosis of COVID-19: an international multicenter, multivendor CT study
- Creating an automated trigger for sepsis clinical decision support at emergency department triage using machine learning
- Prospective implementation of AI-assisted screen reading to improve early detection of breast cancer
- AdaptDiff: Cross-Modality Domain Adaptation via Weak Conditional Semantic Diffusion for Retinal Vessel Segmentation