Skip to content

Cervical Cytology Benchmarks Overstate Accuracy When Cell Crops Share a Parent

THE ARGUMENT

Splitting at the crop level systematically inflates public cervical cytology benchmarks; on SIPaKMeD the 0.97-point gain is sibling leakage rather than parent diversity, on CRIC the gap reaches 12.08 points, and neither linear decodability nor saliency can substitute for a parent-disjoint split.

On this page

Your team has a vendor's evaluation report in hand: 97% accuracy on the public SIPaKMeD benchmark, an 80:20 train/test split, no duplicate filenames. Do you sign the purchase order? Most reviewers check the split ratio and look for repeated files. This paper says that is not enough: those "non-overlapping" test images may have been cut from the same microscope field as training images, and the model has already seen that field's stain and illumination [1].

Cell crops are not independent samples: meet the parent

Public cervical cytology benchmarks are not collections of independent photographs. They are cell crops cut from far fewer microscope fields or whole slide images, which the paper calls the acquisition parent: the deepest acquisition unit a release identifies, whether a field, a source image or a slide. It is not a patient, and that is one boundary of the whole study [1]. Crops cut from one field share stain, illumination, focus and background, and sometimes pixels.

SIPaKMeD's 4,049 crops come from 966 fields, CRIC's 11,534 from 400 slides, Cx22's 1,320 from 514 source images, while Herlev has one cell per image (917 for 917) and serves as a negative control. Split the files as if each were an independent image and siblings land on both sides. The paper gives a closed form: if a parent's k crops are allocated independently to a test fraction q, a test crop has a training sibling with probability 1−q^(k−1). At equal size a crop-level training set holds 1.18 times as many distinct parents on SIPaKMeD and 1.25 times on CRIC — the confound that the later factorial has to remove.

Four public datasets: how many test crops have a training sibling

Table 1 is the structural audit, computable before training any model. All percentages are means over five random splits. Sibling rate is the share of test crops with a training sibling under a random stratified 80:20 crop split; pixel rate is the share sharing source pixels with a training crop. Only SIPaKMeD and CRIC were used for classifier training; Cx22 and Herlev received the structural audit only [1].

DatasetParentCropsParentsTest crops with a training siblingTest crops sharing source pixels
SIPaKMeDfield4,04996692.6%52.6%
Cx22image1,32051485.2%34.0%
CRICslide11,53440099.97%71.5%
Herlevcell9179170.0%0.0%

The measured gap: 0.97 points on SIPaKMeD, 12.08 on CRIC

The preregistered study fine-tunes twelve ImageNet-pretrained backbones (ResNet-18/50, DenseNet-121, MobileNet-V2, EfficientNet-B0 and V2-S, RegNetY-1.6GF, ConvNeXt-T, Swin-T, MaxViT-T, ViT-B/16, DINOv2 ViT-S/14) with one deterministic recipe and scores the final epoch without model selection. P1 is a stratified crop-level 80:20 split, P2 a parent-disjoint split of equal test size, P3 additionally merges parents linked by near-duplicates. Percentage points (pp) are a straight difference of two accuracies, not a relative gain.

On SIPaKMeD, accuracy was 97.14% under P1 and 96.18% under P2, a gap of 0.97 pp (95% CI 0.59–1.39) with all four sensitivity analyses at p<0.001. Every architecture scored higher under P1, by 0.66–1.44 pp, so crop-level splitting hides roughly a quarter of the errors. Merging near-duplicate-linked parents changed nothing (P2−P3: 0.03 pp, −0.49 to 0.56), which points at shared parents rather than stray duplicates, and the architecture ranking largely survived (Kendall τ = 0.82). On CRIC, six architectures and ten seeds, accuracy fell from 90.48% to 78.40%, a gap of 12.08 pp (11.16–12.99), and balanced accuracy from 78.53% to 58.89%; a size-matched crop-level control gave the same 12.11 pp. CRIC holds about 29 mixed-class cells per slide against four single-class crops per SIPaKMeD field, the structural difference the authors use to explain the twelvefold gap. The inputs are 100×100 windows around published nucleus coordinates, so absolute accuracies are not comparable with other CRIC results [1].

Leakage or diversity? A matched factorial separates them

The split comparison has a hole: P2 removes siblings but also leaves fewer distinct training parents, so a lower score might reflect lost diversity rather than absent leakage. A factorial (vary two factors at once while holding sample counts fixed) handles this. One test set per seed is fixed, half the crops of a random 30% of multi-crop fields (about 527). Training is always 220 crops per class. Clean cells draw from other fields; leak cells swap the last fields of the same permutation for the test fields' remaining siblings, so crop count, field count and allocation are identical and only sibling presence differs. Diversity varies separately: 720 versus 504 fields, a 1.43-fold contrast that brackets the natural 1.18.

Result: leakage raised accuracy by 1.73 pp (0.95–2.51) in every architecture at both diversity levels, while 43% more fields without leakage did nothing (0.00 pp, −0.65 to 0.64; interaction −0.20 pp, p=0.60). The leak replicated on fresh seeds at 1.47 pp, persisted at 1.86 pp with every background masked in training and testing, and was as large on test crops sharing no pixel with any training crop (1.68 pp) as on overlapping ones (1.78 pp). What helps is a seen field, not memorised pixels [1].

Why decodability and saliency cannot certify a clean evaluation

First, is parent identity even learnable? A ResNet-18 trained to identify 424 SIPaKMeD fields recognised held-out siblings at 25.7% against a 0.24% chance level, about 100 times chance, and still at 18.7% from cell-free backgrounds. Then, is that code actually used? The paper's answer is that neither probe nor saliency can testify:

  • Rank-256 LEACE erasure cut parent recoverability R from 25.1% to 5.4%, removing 82% of its above-floor value (class-only floor 1.2%), at a 0.17-pp cost in P2 accuracy — and the crop-versus-parent gap stayed at 0.93–0.95 pp (F5).
  • A linear adversary (F7) passed its check in all three architectures with no change; pooled over 15 cells the dose-response slope was 0.000 (−0.005 to 0.005), so a 20-pp loss of R moves the gap by at most 0.1 pp (F8).
  • Grad-CAM put 21.8% of attribution outside the cell mask in leak and clean models alike, a difference of −0.09 pp (−0.57 to 0.39), even though its maps passed the randomised-head check.
  • Background transplants (H4: 0.42 pp, −0.35 to 1.18) and gradient reversal (H5: 0.06, −0.01 to 0.12) were not supported; ConvNeXt-T evaded H5 by making parents more decodable (R from 29.5% to 55.1%).
  • Only colour transfer moved the leak: matching each test crop's colour statistics to an unseen field of its own class cut it from 1.72 to 0.46 pp (F2: 1.27 pp, 0.38–2.16), whereas illumination flattening (1.30 pp) and background removal (1.17 pp) did not, and strong HED colour jitter in training left it intact (F4: −0.23, −0.81 to 0.35).
  • On CRIC, seen slides pulled minority-class cells away from the slide majority (F1: −4.29 pp), arguing against a simple slide-majority prior.

What this method can and cannot tell you, and how to use it when buying

The authors list their own limits. Parents are the deepest released units, not patients: a parent-disjoint evaluation removes the leakage measured here, but patient-level grouping could reveal further dependence these experiments cannot bound. The factorial trains on 1,100 crops rather than 3,239, establishing the leak's existence and direction more firmly than an exact decomposition of H1. One training recipe was used, erasure acts on linearly readable pooled features, and the follow-up was registered after the main results, so it is confirmatory only for its own questions. The CRIC gap is consistent with acquisition leakage but was not causally decomposed. And the mechanism is narrowed, not identified: the advantage survives background masking, does not depend on shared pixels, does not follow a slide-majority prior, and is unaffected by erasing the linear parent code, while label-conditioned colour transfer implicates field-specific appearance [1].

The recommendations are directly usable: label every observation with its parent, and its patient where permitted; split at the deepest released unit; publish hashed fold manifests; report the fraction of test observations with a training sibling. Code, provenance maps, split manifests, run records and a risk calculator accompany the paper [1]. What the method answers is how much crop-level splitting inflates a score, and whether that inflation is leakage. What it does not answer is the exact mechanism, and it never substitutes for grouping at the patient level.

References

  1. When Cell Crops Share a Parent: Measuring and Isolating Acquisition Leakage in Cervical Cytology Benchmarks

Read next

All articles

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…