When eleven pathologists grade the same Barrett's esophagus biopsy, they disagree. They also do not speak the same label language. One pathologist commits to a four-level grade. Another writes "indefinite for dysplasia" (IND), which says the case is somewhere between benign and low-grade but does not say where. A generalist might only record "dysplasia present." Current multi-rater models cope with this by discarding what does not fit. The strongest reported system on the Dutch Barrett's panel removes every IND case before training More is more, and latent-rater models assume every rater answers in the same full label space. The discarded material is exactly what is cheap to collect: coarse, hedged, or partial expert opinions. Throwing it away worsens the annotation bottleneck in cohorts that already have only a few hundred cases.
We propose to represent each case's diagnosis as a small linear-algebraic object called a cellular sheaf, a structure borrowed from graph learning. It attaches a vector space (a "stalk") to every node of a graph and a linear map to every edge. The case sits at the center node, each rater's report sits at a leaf node, and each stalk has the dimension of the vocabulary that rater actually uses. A binary rater gets a small stalk, a subspecialist a larger one, and an IND report becomes an observation of a coarsened quantity rather than an error. Mathematicians call sheaves whose stalk dimension jumps from point to point "not locally free." Every existing sheaf neural network uses a constant stalk dimension. The core claim is that letting stalk dimension follow each rater's label granularity, and tying raters together through maps into their shared coarser vocabulary, will do three things: use hedged and coarse labels that are currently discarded, share statistical strength with raters who contributed few labels, and yield a per-case disagreement score. All of this uses a handful of small matrices per rater rather than one network per rater.
Core Claim and Mechanism
A shared image encoder $f_\theta$ maps case $c$ to a latent vector $x_c \in \mathbb{R}^d$, the stalk at the case node. For rater $r$ with a $k_r$-category vocabulary, a learned restriction map $F_r \in \mathbb{R}^{k_r \times d}$ sends the case latent to the logits of that rater's report. Two raters $r$ and $s$ who both graded $c$ are joined by an edge. That edge's stalk is the finest vocabulary both can express, such as "dysplasia yes/no" for a binary rater and a four-grade rater. Fixed coarsening maps $G_{r\to rs}$ and $G_{s\to rs}$ project each rater's predicted class probabilities onto that common vocabulary. Training minimizes, per case,
$$ E_c = \sum_{r \in R_c} \ell\big(y_{cr},\, F_r x_c\big) \;+\; \lambda \sum_{(r,s) \in R_c \times R_c} \big\| G_{r\to rs}\,\sigma(F_r x_c) - G_{s\to rs}\,\sigma(F_s x_c) \big\|^2 . $$
Here $R_c$ is the set of raters who labeled case $c$, $y_{cr}$ is rater $r$'s report, $\ell$ is a likelihood of that report, $\sigma$ is the softmax, and $\lambda \ge 0$ sets how strongly raters are pulled to agree on what they can both express. The second term is the Dirichlet energy of the sheaf Laplacian, a measure of how inconsistent neighboring nodes are after projection into their shared edge space, in the sense of Neural Sheaf Diffusion. Here it is computed over a ragged block Laplacian whose blocks differ in size.
Coarse and hedged reports enter through the likelihood $\ell$. An IND report is scored as the probability mass the rater's head assigns to the set {non-dysplastic, low-grade}, plus a learned per-rater propensity to hedge. The case therefore contributes gradient without being forced into a category. This is the practical meaning of a non-locally-free stalk: some observations constrain only a quotient of the full diagnostic space.
At test time the model returns each rater's predicted report, a panel distribution obtained by averaging over raters, and the residual energy $E_c$. The residual energy is our proposed disagreement score and should track panel entropy.
Setting $\lambda = 0$ collapses the model to a shared encoder with per-rater heads, a crowd-layer or confusion-matrix model with variable output size. That makes the edge term the single ingredient the experiments must justify.
Relation to Prior Work
Three multi-rater lines motivate the gap. Grove et al. train one attention-based multiple-instance model per pathologist and ensemble them More is more. Their result shows that keeping every rater beats consensus, but it treats raters as independent, costs one network per rater, and drops IND. The Latent Doctor Model conditions a variational autoencoder on a support set of a doctor's labels Latent Doctor Model. Pionono gives each rater a Gaussian embedding whose mean is bias and whose variance is inconsistency Pionono. Both assume a flat latent space and a common, complete label vocabulary. We keep their per-rater idea but change what a rater is: a map into that rater's own vocabulary, linked to other raters through a known coarsening.
On the sheaf side, our method builds on three papers. Neural Sheaf Diffusion supplies the Laplacian energy. Bayesian Sheaf Neural Networks, which place distributions over restriction maps and report robustness when few nodes are labeled, supplies an optional prior over the $F_r$ for raters with few labels. Cooperative Sheaf Neural Networks introduces directed maps. We do not need its long-range propagation, because our graphs are shallow stars. All three use constant stalk dimension on citation and web graphs, and none touches clinical disagreement.
The algebraic-geometry work on sheaves that fail to be locally free Symplectic structures via the Atiyah class offers vocabulary and intuition: torsion sheaves supported on a subset, where dimension jumps. It does not supply a method. We claim no transfer of its symplectic constructions.
Research Program
The build has four parts. The first is a ragged-block sheaf Laplacian layer that runs over per-case rater stars with variable stalk sizes. The second is a coarse-label likelihood covering IND and any rater whose vocabulary is a coarsening of the finest one. The third is an adaptation routine that learns a new rater's $k_r \times d$ map from a few of their labels while the encoder stays frozen. The fourth is an analysis of whether residual energy is a calibrated disagreement signal.
The image encoder is the same attention-based multiple-instance model over frozen tile features for every method. Differences therefore come from how rater information is used, not from backbone capacity. The small-sample regime is enforced in three ways: by the datasets themselves (244 Gleason cores, 100 ISUP slides), by subsampling DEPP training cases to 100, 300, and the full 1,432 plus the IND cases, and by capping per-rater label counts.
Scribble-level segmentation under rater disagreement, the second gap in the research file, is out of scope. It would need a different base graph, and we would rather settle the classification question cleanly first.
Baselines
The naive reference point is a consensus model: the same multiple-instance model trained on the majority-vote grade, with IND cases removed. Grove et al. report an F1 of 72.9% and an expected calibration error (ECE) of 0.183 on the DEPP evaluation set More is more. We re-run it on our splits rather than rely on that figure.
The strongest existing method on DEPP is the Full Panel of virtual raters from the same paper, which reports 78.2% F1 and 0.050 ECE. We re-implement it with the identical encoder, training data, and per-model tuning budget. Its total compute is therefore roughly the number of raters times ours. We will report compute alongside accuracy and also give the panel a single-encoder, multi-head variant so the capacity comparison is honest.
On Gleason 2019, the latent-rater baselines are the Latent Doctor Model (reported KL divergence to the panel of 0.461) and Pionono (reported unweighted Cohen's kappa of 0.758). On ISUP, the Latent Doctor Model reports a Spearman correlation of up to 0.728 between predictive entropy and panel entropy. Each is run with the same features, splits, and hyperparameter search budget of 30 trials. The search budget for the ISUP disagreement-score baseline is set by us.
The key ablation is our own model with $\lambda = 0$, the variable-vocabulary crowd-layer model. A second ablation, "IND-dropped," trains our full model without IND and coarse labels, which isolates the value of the non-locally-free stalks.
Beating a baseline means one of two outcomes over five seeds with paired bootstrap intervals. On DEPP, it means higher F1 and lower ECE than the re-run Full Panel at a fraction of its parameters. Otherwise, it means matching the panel while showing a clear gain in the 100-case and sparse-rater regimes.
Why not just…?
Why not just use consensus labels? Grove et al. already show that consensus costs about five F1 points and more than triples ECE on this very cohort. Consensus also cannot use an IND vote at all. We include it only as the floor.
Why not just train one model per pathologist, as the virtual panel does? This is the strongest competitor on accuracy, and it may well match us on the full DEPP data. Its weakness is data splitting: a rater with under 200 labels gets a model trained on under 200 cases. The 100-case subsampling and per-rater label caps test exactly that weakness. If the panel still wins there, our efficiency argument reduces to compute alone, and we will say so.
Why not just a shared encoder with per-rater heads (a crowd layer or confusion matrices), letting IND be an extra output column? This is the most serious threat, because our model with $\lambda = 0$ essentially is this. The only claimed advantage of the sheaf edge term is that it borrows strength across raters through their shared coarse vocabulary. That should matter most for raters with few labels and for predicting a new rater from a handful of examples. If the $\lambda > 0$ model does not beat the $\lambda = 0$ ablation in the sparse-rater and new-rater experiments, the sheaf structure is decoration. We would then report the simpler model with a coarse-label likelihood as the result.
Why not just a flat latent rater embedding, as in the Latent Doctor Model or Pionono? Those models can capture bias and inconsistency, but they need a common complete vocabulary. They would therefore need IND and coarse labels either dropped or mapped by hand. We compare against them on Gleason and ISUP, where vocabularies are uniform, to check that our model is not worse when variable stalks give it no advantage.
Proposed Experiments
On DEPP, we train with IND and synthetic coarse raters included. Coarse raters are created by collapsing a random third of each rater's labels to binary, which simulates cheap generalist annotation. We evaluate on the 100-case held-out set with F1, ECE, and KL divergence to the panel. An annotation-budget curve then asks how many fine-grained labels can be replaced by coarse ones before F1 falls below the Full Panel.
For new-rater adaptation, we hold out each rater in turn. Their map is fit from $k \in \{5, 10, 25, 50\}$ labels, and we measure agreement with their remaining labels using Cohen's kappa. This is compared against the $\lambda = 0$ ablation and a Latent Doctor Model support set of the same size.
On Gleason 2019 and ISUP, we report kappa, KL divergence, and the Spearman correlation between residual energy $E_c$ and panel entropy, against the numbers above.
The decisive checks are three. The first is whether including IND and coarse labels improves the held-out DEPP metrics over the IND-dropped model. The second is whether $\lambda > 0$ beats $\lambda = 0$ when raters are sparse. The third is whether residual energy predicts panel disagreement at least as well as the Latent Doctor Model's entropy. If the first holds but the second fails, the contribution is the coarse-label likelihood rather than the sheaf, and we will frame it that way.
References
- More is more: leveraging multi-rater information for whole slide images grading via virtual expert panel
- Neural Sheaf Diffusion: A Topological Perspective on Heterophily and Oversmoothing in GNNs
- The Latent Doctor Model for Modeling Inter-Observer Variability
- Probabilistic Modeling of Inter- and Intra-observer Variability in Medical Image Segmentation
- Bayesian Sheaf Neural Networks
- Cooperative Sheaf Neural Networks
- Symplectic structures on moduli spaces of sheaves via the Atiyah class