Detecting When the Annotator Drifts, Not the Data

Medical segmentation models are trained and audited against expert contours, and experts disagree. Two radiologists outlining the same lung nodule draw different boundaries, and the same radiologist redrawing it a month later draws a third. Recent models capture this inter-observer variability explicitly. Some learn a separate "style" for each annotator. Others learn a distribution over plausible masks for each image. All of them assume those styles never change. In practice they do: annotators tire over long sessions, learn, or adopt revised delineation guidelines. Annotators also supply the labels used to verify every downstream drift alarm. If an annotator's style quietly shifts, the deployed model's apparent accuracy shifts with it, and nobody can tell whether the patients changed or the person drawing the contours did.

We propose a test that answers that question online, from one annotation per image, without consensus labels. For each new contour from annotator $r$, we ask how typical the contour is relative to what a learned model of that annotator would have drawn on that specific image. We convert this to a p-value and accumulate the p-values in a betting martingale, a running product that stays small while the annotator behaves as before and grows quickly once they stop. Because the reference is conditioned on the image, a run of hard, ambiguous cases should not look like annotator drift. Because the martingale needs no window, the test controls false alarms over an unbounded stream.

Core Claim

Rater drift is an instance of the "hidden drift" failure mode in unsupervised drift detection. The mapping from images to labels changes while the images do not. Request-and-Reverify showed that input-distribution monitors never fire on such drift: on its synthetic 4CR stream, where the decision boundary inverts with $P(X)$ fixed, its unsupervised first layer never triggers. That paper's own remedy is to query labels and retest. In segmentation this fails, because the queried label carries the annotator's bias. Our claim is that a rater-conditional generative segmentation model turns this unobservable shift into a testable one. The model plays a role analogous to a null distribution for each annotator, and conformal martingales make the test valid under any image ordering that stays exchangeable.

Concretely, let $q_\theta(y \mid x, r)$ be a model of annotator $r$'s masks $y$ on image $x$. The base model is Pionono, which represents each rater as a Gaussian in an 8-dimensional latent space; its mean encodes systematic bias and its variance encodes self-inconsistency. For each streamed pair $(x_t, y_t)$ we draw $K$ samples $\hat y^{(k)} \sim q_\theta(\cdot \mid x_t, r)$. We compute a strangeness score $s_t$ as the energy distance between the observed mask and the sample set, using $1-\text{IoU}$ as the base distance. The energy distance is a two-sample statistic built from average pairwise distances; it is the same quantity that underlies the Generalized Energy Distance used to evaluate PHiSeg. Each $s_t$ is ranked against scores from a held-out calibration set from the same annotator. This gives a conformal p-value $p_t$, uniform under the null that the annotator is unchanged and the images are exchangeable. The p-values feed a power martingale, the construction of Ho & Wechsler:

$$M_n = \prod_{t=1}^{n} \epsilon\, p_t^{\epsilon-1}, \qquad \Pr\big(\sup_n M_n \ge \lambda\big) \le 1/\lambda,$$

where $\epsilon \in (0,1)$ sets how aggressively the martingale bets on small p-values. The bound follows from Ville's inequality for nonnegative martingales. An alarm at $\lambda = 100$ therefore carries at most a 1% lifetime false-alarm probability, with no window size to tune.

The novelty is the combination of three things: an image-conditional, annotator-specific reference distribution; a window-free sequential test; and an explicit target of annotator change rather than population change. Running a second, image-only martingale alongside it lets an alarm be attributed to the patients, the annotator, or both.

Relation to Prior Work

Two lines of work supply the method.

The first is sequential drift detection. Ho & Wechsler defined strangeness as distance to a single cluster of unlabeled inputs. We replace that with distance to an annotator's predicted mask distribution, a quantity their unlabeled formulation cannot express. Incremental KS makes windowed univariate testing cheap but still requires a window and monitors only marginals. We use it as a baseline, not a component.

The second is inter-observer modeling. Pionono and the Latent Doctor Model both learn annotator style. The Latent Doctor Model encodes a doctor's style from a small set of images they labeled. Both are fit once offline and treated as fixed. We reuse them as reference models and add the missing temporal test.

Two papers motivate the problem. Request-and-Reverify assumes the verification labels are objective. The reported strength of rater models is evidence that they are not: Pionono reaches an unweighted Cohen's κ of 0.758 on Gleason 2019 precisely because it does not average raters. Pitfalls of Unlabeled Disagreement-Based Drift Detection found that model-disagreement signals produce long detection delays and false alarms when the learner is rigid. That constrains our design: we do not rely on disagreement among model copies, and we test how sensitive our signal is to the reference model's quality.

Probabilistic U-Net learns a mask distribution per image without annotator identity. It supplies our key ablation, which asks whether annotator conditioning matters or whether any calibrated ambiguity model suffices.

Research Program

The work has three parts.

The first part builds the detector. We train Pionono and a Probabilistic U-Net on early-time data. We build calibration sets per annotator, and we implement the energy-distance score and the power martingale. We also implement an image-only companion martingale whose strangeness score is the distance of encoder features to the training distribution. Joint firing patterns of the two martingales give the attribution: annotator, population, or both.

The second part builds realistic drift streams from real human disagreement rather than synthetic noise. In an identity-swap drift, annotator A's stream switches at a known time to annotator B's real masks on the same kind of images, presented under A's identity. In gradual drift, the switch happens with a rising mixing probability. In a guideline drift, masks are systematically dilated or eroded by a few pixels, mimicking a revised margin rule. In a fatigue drift, boundary perturbations grow over time while the mean contour stays put; this targets the variance term, which Pionono interprets as intra-observer inconsistency.

The third part analyzes the case-mix confounder directly. The stream is reordered so that images with high inter-rater disagreement concentrate late, while every annotator stays unchanged. This stresses validity: a reordered stream is not exchangeable, so the guarantee no longer applies, and the empirical question is whether conditioning on the image absorbs the effect. We also measure how far reference-model miscalibration erodes uniformity of the p-values. To do this, we deliberately weaken the rater model by reducing training data and by forcing posterior collapse, the failure in which the model ignores its latent code, flagged by MoSE.

Baselines

The naive reference point is periodic auditing. At fixed intervals, an annotator's recent masks are compared with a second annotator's masks on a shared batch. This is what a clinic could do today. Its cost is counted in doubly annotated images, and its delay is set by the audit interval.

The strongest simple competitor is agreement monitoring. We track each new mask's Dice against the consensus prediction of a model trained on majority vote, and run Incremental KS on that Dice stream. It is strong because it uses the same single annotation per image and needs no generative model. It gets the same calibration data and the same window and threshold tuning budget on a held-out stream, and its operating point is matched to ours on false-alarm rate.

The two-stage detector of Request-and-Reverify is run with its loss-based permutation test as the second stage, treating annotator masks as labels. This shows how the existing verification step behaves when the labels themselves drift.

A refit baseline re-estimates Pionono's per-annotator latent Gaussian on each successive batch and triggers when the mean moves beyond a bootstrap threshold. This tests whether a direct latent-space readout beats our p-value route.

Two ablations isolate our ingredients. The first replaces the annotator-conditional model with an annotator-agnostic Probabilistic U-Net, which tests whether conditioning on identity matters. The second replaces image-conditional sampling with a fixed annotator-level score distribution, which tests whether conditioning on the image is what protects against case mix.

No reported result was found on Lacuna for rater-drift detection on any of these datasets, so there is no published number to beat. The relevant published anchors are the quality of the reference models: κ = 0.758 for Pionono on Gleason 2019 (Pionono) and a KL divergence of 0.461 to the rater distribution for the conditional Latent Doctor Model (LDM).

Beating the baselines means two things at once. First, the method must keep the empirical false-alarm rate at or below the stated $1/\lambda$ under both the null stream and the case-mix stream. Second, at matched false-alarm rate, it must cut mean time to detection relative to Dice-plus-KS on the dilation and fatigue drifts.

Why not just…?

Why not just track each annotator's Dice against the model's consensus? This is the real threat. On abrupt, large drifts it may work as well as our method. It has two predictable failures. Dice to consensus falls whenever the images get harder, so an influx of ambiguous cases triggers alarms. And a pure increase in boundary scatter, the fatigue drift, barely moves average Dice. The case-mix stream and the fatigue drift test both failures directly. If Dice-plus-KS matches us on both, we will report that the generative reference is unnecessary.

Why not just monitor the images with KS tests or reconstruction error? Annotator drift leaves the images untouched. Request-and-Reverify already showed that input monitors never fire on 4CR, where the boundary changes but the inputs do not. Autoencoder monitors such as Artelt et al. see only inputs, so the same argument applies. We include the image-only martingale for attribution, and we expect it to stay silent on every annotator-drift stream.

Why not just refit the rater model periodically and compare latent means? Refitting reintroduces the window-size tradeoff that martingales avoid and provides no false-alarm guarantee. It also measures only the mean, so it is blind to a growing variance unless the variance is refit too. The refit baseline makes this an empirical comparison rather than an argument.

Why not just have two annotators label a sample of cases? Double annotation is the gold standard but costs a second expert's time on every audited case. We will report how many doubly annotated images periodic auditing needs to match our detection delay, which turns the question into a cost comparison.

Proposed Experiments

The main benchmarks are Gleason 2019, with six pathologists and persistent identities, and the 25-rater breast cancer histopathology set, both used by Pionono. Their many named raters make identity-swap drifts realistic. LIDC-IDRI, with four radiologist masks per lesion, serves mainly for the case-mix stress test. The reason is that its per-lesion disagreement provides a natural ambiguity ordering, so its use does not depend on annotators keeping consistent identities across scans.

The metrics are empirical false-alarm rate against the $1/\lambda$ bound, detection rate, and mean time to detection in images. We also report attribution accuracy, meaning whether the correct martingale fires, on streams that combine a population shift with annotator drift. The population shift is a stain or contrast perturbation of the images.

Three checks are decisive. First, under the reordered case-mix stream with unchanged annotators, our method's false-alarm rate should stay near the bound while Dice-plus-KS exceeds it. Second, on fatigue drift, our method should detect where the agreement baselines do not, at matched false-alarm rate. Third, removing either annotator conditioning or image conditioning should measurably degrade one of the first two results. If neither conditioning helps, the generative machinery has not earned its place, and that negative result is itself the finding we would publish.