Annotator Trace Explorer
← back to the notes · Zhang, Tanno et al., Learning from multiple annotators for medical image segmentation, Pattern Recognition 2023. Three companions to §2.3–2.4: every explanation of one pixel's label and where the trace picks among them; the loss trained on a toy you can change; and the trace next to HSIC.
1. One pixel: every explanation of the same label
The pixel is lesion. Its annotator writes "lesion" with probability t and "background" with probability 1 − t, so the data at this pixel are the distribution $q=(1-t,\,t)$. A model explains it with a segmentation output $\hat p=(1-s,\,s)$ and a confusion matrix $\hat A=\begin{bmatrix}1-b&a\\ b&1-a\end{bmatrix}$ (column = truth, row = what is written). Cross-entropy only asks for $\hat A\hat p=q$. That leaves one free number once $s$ and $b$ are chosen, so every point of the white band below is a perfect fit. On the band the trace is $\operatorname{tr}\hat A=1+(t-b)/s$, and the level sets are straight lines through the circle at $(0,t)$.
2. Train it: one careful and two sloppy annotators
The smallest problem where Eq 4 can be run as written: 48 × 48 pixels, each with a free segmentation logit (the limit of a very flexible network), one confusion matrix per annotator shared by all pixels, labels drawn from each annotator's (FPR, FNR). The loss is the paper's, $\sum_r$ mean cross-entropy $+\ \lambda\sum_r\operatorname{tr}\hat A^{(r)}$, trained with Adam. The warm-up start is what the paper describes: identity CMs, then 300 steps of maximising the trace.
3. The trace next to HSIC, for one annotator
Treat the annotator's label ỹ and the true label y as random variables, with lesions a fraction π of pixels. The cross-covariance of their one-hot encodings is $C=\hat A\operatorname{diag}(\pi)-(\hat A\pi)\pi^\top$. HSIC with delta kernels is $\lVert C\rVert_F^2$. With the classes weighted equally, the paper's penalty is $\operatorname{tr}\hat A=1+L\operatorname{tr}C$. It is the same matrix, measured linearly instead of quadratically.