Expert clinicians often look at the same scan or slide and give different grades. A few models now learn the whole spread of expert opinion instead of a single "correct" label. All of them look only at the image. Clinicians, however, read images next to a chart: age, symptoms, lab values, history. Some of the disagreement may come from readers weighing that chart differently. A model that ignores the chart cannot separate two cases. In one, the patient's clinical picture changes what is really there. In the other, it only changes where a given reader draws the line between grades.
We propose a deliberately small model built to make that separation. A frozen image encoder and the clinical variables produce one continuous severity score per case. Each rater then turns that score into a grade using their own cutoffs, and those cutoffs may shift with clinical context. Equivocal categories such as "indefinite for dysplasia" become intervals on the severity scale, so they no longer have to be thrown away. The usable cohorts have roughly 100 to 1,500 cases. At that size, cross-validated numbers carry error bars of ±10% or more (Cross-validation failure). For that reason the evaluation is built around a permutation test on the clinical variables and paired, case-level comparisons, not leaderboard accuracy.
Core Claim
The claim is that clinical context explains a measurable share of inter-observer disagreement, and that this share can be split into two parts. One part acts on the shared severity of the case and should therefore improve agreement with an independent ground truth such as surgery. The other part acts on individual readers' thresholds and should improve prediction of the panel's spread without improving agreement with truth.
Concretely, rater $r$ assigns grade $y_r \le k$ with probability
$$P(y_r \le k \mid x, c) = \sigma\big(\tau_{r,k} + \beta_r^\top c - s(x, c)\big),$$
where the symbols are as follows:
- $x$ is the image.
- $c \in \mathbb{R}^m$ is a short vector of clinical variables.
- $s(x,c)$ is a scalar severity computed by a small head on a frozen image embedding.
- $\tau_{r,k}$ are rater $r$'s ordered cutoffs.
- $\beta_r$ is that rater's sensitivity to context.
- $\sigma$ is the logistic function.
Each rater contributes only $K-1+m$ parameters. This is what makes the model plausible at small sample sizes. It also lets us test hypotheses cleanly by forcing $\beta_r = 0$, or by removing $c$ from $s$.
Relation to Prior Work
Two existing methods model expert disagreement, and both use the image alone.
- The Latent Doctor Model learns each annotator's style as a latent vector inside a conditional variational autoencoder. It reaches a KL divergence of 0.461 to the real panel on Gleason2019, and an entropy–panel Spearman correlation of up to 0.728 on ISUP.
- The virtual expert panel trains one model per pathologist and ensembles them. On DEPP this reaches an average F1 of 78.2% and an expected calibration error (ECE) of 0.050, versus 72.9% and 0.183 for a consensus-trained model.
These papers motivate our proposal, because they show that keeping the panel's spread pays off. They also constrain it in two ways. Neither conditions on clinical data. The panel paper also dropped the "indefinite for dysplasia" cases, which is exactly where disagreement is greatest.
The closest existing work is HAICOMM. It combines T1 and T2 pelvic MRI with radiologists' labels used as input features, and it reaches 80% accuracy and 0.89 AUROC against laparoscopy on 30 test cases. However, it collapses the panel into one pseudo-label using CrowdLab, fuses by plain concatenation, uses no clinical record, and reports no error bars. We keep its most valuable asset, surgical ground truth, and instead model the panel's spread explicitly as a function of context.
Clinical-context fusion methods supply the motivation for using context, though we deliberately do not reuse their heavy machinery. TabMixer mixes cardiac video features with tabular features. Best of Both Worlds aligns image and tabular encoders by contrastive pretraining and shows that tabular data improves even image-only performance. The geometric multimodal foundation model adds a covariance head to BiomedCLIP. All three predict a single consensus target. All three also add capacity, which is the wrong direction on cohorts where Varoquaux shows that pipeline "vibration" alone can produce 71% accuracy on random labels.
The idea of a continuous severity scale comes from the cataract ranking system. That work reframed grading with about 35% disagreement as ranking along a continuum. We give that continuum explicit per-rater cutoffs.
Research Program
The model has four parts:
- Image encoder. A frozen pretrained encoder: a pathology foundation model for whole-slide images and a 3D MRI encoder for pelvic MRI. HAICOMM's masked-autoencoder backbone is the natural choice if it is available.
- Severity head. A linear or one-hidden-layer head that maps the image embedding and $c$ to $s$.
- Rater thresholds. Per-rater ordinal cutoffs and context offsets.
- Fitting and regularization. All parts are fit by maximum likelihood over every individual rating. Ratings never pass through a consensus step. Each $\beta_r$ is shrunk toward a shared population mean with a hierarchical prior, so raters with few annotations borrow strength from the rest.
We will compare three nested variants:
| Variant | Where context enters | Hypothesis it represents |
|---|---|---|
| Severity-only | $c$ enters $s$, with $\beta_r = 0$ | Context changes what is really there |
| Threshold-only | $c$ enters $\beta_r$ only | Context changes how raters read |
| Both | $c$ enters $s$ and $\beta_r$ | Both effects are present |
Data requirement. The research file does not confirm that any multi-rater cohort ships with clinical covariates, so obtaining them is the first work package and must be stated plainly. For DEPP (1,577 Barrett's biopsies, about 11 pathologists each), we would request patient age, sex, Barrett's segment length and endoscopic findings from the source institutions. For the endometriosis cohort (82 training cases, 30 test cases with surgery), we would request intake symptoms, age and surgical history.
Gleason2019 and ISUP have no clinical data. We use them only to check that the ordinal rater model with $c$ removed matches the Latent Doctor Model's reported numbers. If our constrained model cannot match a free-form latent model without context, then any later gain from context would be uninterpretable.
Baselines
Naive reference. Train on the majority vote, using an image-only network, and score it against the panel. On DEPP this corresponds to the consensus model's reported 72.9% F1 and 0.183 ECE. We will rerun it on our own split, which includes "indefinite for dysplasia." Any method that cannot clearly beat this reference on panel calibration is not worth its complexity.
Strongest simple competitor. A soft-label classifier trained by cross-entropy on each case's empirical rater distribution, with $c$ concatenated to the frozen image embedding. It uses the same information as our model, has no rater structure, and is what a reviewer would build in an afternoon. It gets the same frozen encoder, the same folds, and the same hyperparameter budget: a fixed grid searched by inner cross-validation, matched in size to ours.
Strongest published distribution learners.
- The Latent Doctor Model and its image-conditioned variant: KL 0.461 on Gleason2019, the best reported in the file.
- The virtual expert panel: 78.2% F1 and 0.050 ECE on DEPP excluding "indefinite."
- HAICOMM: 80% accuracy and 0.89 AUROC on the endometriosis surgical test set.
Each will be rerun on identical splits and encoders. We will also run versions extended with concatenated $c$, so that any advantage we show comes from structure and not from extra information.
Key ablation. Retrain with $c$ randomly permuted across patients. This keeps the model's capacity identical while destroying the patient–context pairing.
What counts as beating a baseline. All of the following must hold:
- The model has a lower case-level KL divergence to the panel than the soft-label-plus-context baseline.
- The 95% interval on the paired difference excludes zero. The interval comes from case-level bootstrap over repeated nested cross-validation, not from the standard error across folds, which Varoquaux shows underestimates variance by 2–4×.
- The gain over the permuted-context model exceeds the 95th percentile of its permutation distribution.
Why not just…?
Why not just train on soft labels with clinical features concatenated? This is the real threat. With frozen encoders and a few clinical variables, it may match our model on panel KL divergence. Our bet is that, on small cohorts, the ordinal per-rater structure gives lower variance. It also predicts an individual rater's grade, which soft labels cannot do. If the paired KL difference straddles zero, we will report that our predictive claim failed. The remaining contribution would then be the severity-versus-threshold decomposition, judged against surgical truth, which soft labels cannot provide at all.
Why not just extend the virtual expert panel with clinical inputs? One network per rater multiplies capacity by the panel size. Some DEPP raters have fewer than 200 annotations. The panel paper shows such models can converge, but not that they can also learn a context interaction. We run this extension as a baseline. It loses if its held-out per-rater log-likelihood falls below that of our hierarchical-$\beta$ model for low-annotation raters.
Why not just feed context into the Latent Doctor Model's prior network? This is a legitimate and stronger baseline, and we include it. Its free-form latent space cannot say whether context moves the case or the reader. It may also overfit, because its encoder ingests support sets that are already small. If it matches our model on panel KL divergence, our distinctive output is the decomposition and the inclusion of "indefinite" cases. We would then state the contribution in those narrower terms.
Proposed Experiments and Decisive Checks
Experiment 1: does the constrained model work without context? On Gleason2019 and ISUP, with context removed, the model should come within the case-level bootstrap interval of the Latent Doctor Model's KL of 0.461 and entropy correlation of 0.728.
Experiment 2: does context help, and at what sample size? On DEPP, including "indefinite" cases, we compare all variants on four measures:
- KL divergence to the panel,
- ECE,
- entropy–panel Spearman correlation,
- held-out per-rater log-likelihood.
We repeat this on subsamples of 50, 100, 300 and full size. The goal is to measure where the context effect becomes detectable, instead of assuming it is.
Experiment 3: the decisive test on the endometriosis cohort. The 30 surgical test cases give accuracy error bars of about ±15% (Varoquaux). Our primary endpoint is therefore paired, case-level log-loss against surgery, not accuracy. The hypothesis predicts a specific pattern:
| Variant | Predicted AUROC against surgery | Predicted panel KL |
|---|---|---|
| Severity-only | Improves over the HAICOMM-style baseline | — |
| Threshold-only | No gain | Improves |
If both variants improve surgical agreement equally, or neither does, the decomposition does not hold in this cohort.
Experiment 4: vibration analysis. We pre-register one analysis pipeline. We then rerun the key comparison across a fixed grid of preprocessing and encoder choices and report the full spread of outcomes. A context effect that survives only some of these choices will be treated as vibration, not signal.
References
- Cross-validation failure: Small sample sizes lead to large error bars
- The Latent Doctor Model for Modeling Inter-Observer Variability
- More is more: leveraging multi-rater information for whole slide images grading via virtual expert panel
- Human-AI Collaborative Multi-modal Multi-rater Learning for Endometriosis Diagnosis
- TabMixer: Noninvasive Estimation of the Mean Pulmonary Artery Pressure via Imaging and Tabular Data Mixing
- Best of Both Worlds: Multimodal Contrastive Learning with Tabular and Imaging Data
- A Geometric Multimodal Foundation Model Integrating Bp-MRI and Clinical Reports in Prostate Cancer Classification
- A Computer-Aided Diagnosis System of Nuclear Cataract via Ranking