Skip to content

Boundary Accuracy Does Not Predict Grading Correctness: A Controlled Error-Injection Study, Metric Audit and Pre-Registered Verdict on Meibomian Gland Segmentation

Koshun Huang

cs.CV

Abstract

Background. Meibomian gland dysfunction (MGD) is graded by the proportion of gland dropout on infrared meibography, yet deep segmentation models are reported almost exclusively with Dice/IoU. The field has never systematically asked whether a better segmentation metric actually changes the clinical grade. Methods. We train four architectures (our stride-4 high-resolution fusion decoder MGD-Former plus UNet, AttentionUNet, SegResNet) under a patient-level 5-fold, 2-seed protocol on MGD-1K (999 images, 338 patients), giving 40 paired runs, then run four analyses needing no new data: an in-sample oracle bound for the single-scalar channel; 17 controlled perturbations on 999 ground-truth masks (33,277 trials) measuring the grade-flip rate of each error class; cross-run rank correlation between seven metrics and decision correctness; and a pre-registered test of a decision-aware loss (three arms, 30 runs). Results. (1) The single-scalar channel has a hard ceiling: even with perfect masks and cut-points fitted on the same data, QWK reaches only 0.490 (image) / 0.536 (patient). (2) Boundary errors are almost never lethal: breaking one gland through its middle flips 1.9% of cases versus 85.9% for deleting one, while real model error equals only 0.42 px of uniform boundary displacement. (3) Dice is the weakest model-selection metric (Spearman 0.56 against decision QWK, behind dropout-ratio error, ASSD and clDice). (4) The decision-aware loss misses its pre-registered threshold (+0.012 QWK, CI crossing zero). Conclusions. Four independent lines of evidence converge: the bottleneck lies not in pixel accuracy, reference-standard noise or training technique, but in compressing multiple morphological observations into one scalar and thresholding it. We recommend selecting models by dropout-ratio error or clDice, always reporting the flip rate, and building review triggers on other signals.

Create a lesson

Metadata

Categories
cs.CV, cs.LG
Comments
33 pages, 7 figures, 12 tables. Preprint. Code and all 40 training artifacts released with the paper