Toward trustworthy ovarian ultrasound frame classification through leakage-aware and calibrated deep learning
Duplicate and visually similar images can inflate performance estimates when they cross dataset partitions, while test-guided calibration and threshold selection can introduce additional optimism. We developed an integrity-controlled workflow for frame-level ovarian ultrasound classification using the public PCOSGen training and test archives. Exact duplicates were identified with SHA-256 hashing, and cross-partition near copies were screened using perceptual hashing followed by correlation verification. The audit identified 347 near-copy train-test pairs and led to the exclusion of 309 contaminated development frames. Development data were partitioned by perceptual-similarity proxy groups. ResNet-18, MobileNetV3-Small and a shared-encoder global-local gated model were trained, calibrated and evaluated without using test labels for model selection, temperature scaling, threshold selection or ensemble weighting. On 1,448 cleaned held-out frames, the validation-weighted ensemble achieved 0.9309 accuracy, 0.9026 balanced accuracy, 0.9682 sensitivity, 0.8370 specificity, 0.8272 Matthews correlation coefficient, 0.9555 area under the receiver-operating-characteristic curve and 0.9765 average precision. Its Brier score was 0.0734. The ensemble improved the validation-selected sensitivity-specificity balance but did not improve discrimination significantly relative to MobileNetV3-Small (paired area-under-the-curve difference − 0.00113, 95% interval − 0.01027 to 0.00813; bootstrap p = 0.78). A quality-only control achieved an area under the curve of 0.8260, indicating residual acquisition-related information. These findings support integrity auditing, locked-test evaluation and calibrated reporting for public ultrasound benchmarks, while limiting interpretation to frame-level classification rather than patient-level diagnosis.
Authors
- Kalakotla Arunima
- J Bhavana²
- Uday Chandra S³
Institutions
- SR University (IN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-23
- DOI
- https://doi.org/10.21203/rs.3.rs-11266008/v1
- Primary Topic
- Ovarian function and disorders
- Type
- preprint