{"title":"Similarity-Aware Evaluation, Probability Calibration, and Independent Replication for Reliable Gastrointestinal Image Classification","authors":"Housheng Liu, Yingwu Xu, Fang Cheng, Jinlian Zha","doi":"10.1002/ima.70452","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>High accuracy alone does not establish reliable medical-image classification because visually similar images may cross partitions and confidence may be miscalibrated. We evaluated a similarity-aware framework on a four-class gastrointestinal benchmark (4000 images) and independently replicated the methodology on GastroVision (8000 images; 27 classes). A 64-bit DCT perceptual hash defined groups at Hamming distance ≤ 4. Five-fold random and group-constrained protocols were matched by model and seed, with separate validation, calibration, and test subsets. We compared modern backbones, temperature scaling, a 2 × 2 Mixup/label-smoothing ablation, and deterministic maximum-softmax probability. On the primary benchmark, grouped EfficientNet-B0 achieved accuracy and macro-F1 of 0.9765 ± 0.0022. Grouping changed accuracy by +0.0025 relative to random splitting (Wilcoxon <i>p</i> = 0.625). Temperature scaling reduced expected calibration error from 0.1292 ± 0.0216 to 0.0123 ± 0.0030 without changing predictions, and deterministic MSP achieved error-detection AUROC of 0.9288 ± 0.0181. On GastroVision, random folds contained 78–101 detected cross-subset overlaps, whereas grouped folds contained none. Grouped EfficientNet-B0 achieved 0.8195 ± 0.0043 accuracy and 0.5792 ± 0.0148 macro-F1; ECE decreased from 0.1114 ± 0.0148 to 0.0323 ± 0.0048 after scaling. Similarity grouping removed detected resemblance without reducing accuracy, while calibration and uncertainty analyses exposed properties hidden by discrimination metrics. GastroVision supports methodological portability rather than direct external validation; pHash cannot establish patient or procedure independence, for which identifiers remain preferable.</p>\n </div>","PeriodicalId":14027,"journal":{"name":"International Journal of Imaging Systems and Technology","volume":"36 6","pages":""},"PeriodicalIF":3.0000,"publicationDate":"2026-10-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Imaging Systems and Technology","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/ima.70452","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0
Abstract
High accuracy alone does not establish reliable medical-image classification because visually similar images may cross partitions and confidence may be miscalibrated. We evaluated a similarity-aware framework on a four-class gastrointestinal benchmark (4000 images) and independently replicated the methodology on GastroVision (8000 images; 27 classes). A 64-bit DCT perceptual hash defined groups at Hamming distance ≤ 4. Five-fold random and group-constrained protocols were matched by model and seed, with separate validation, calibration, and test subsets. We compared modern backbones, temperature scaling, a 2 × 2 Mixup/label-smoothing ablation, and deterministic maximum-softmax probability. On the primary benchmark, grouped EfficientNet-B0 achieved accuracy and macro-F1 of 0.9765 ± 0.0022. Grouping changed accuracy by +0.0025 relative to random splitting (Wilcoxon p = 0.625). Temperature scaling reduced expected calibration error from 0.1292 ± 0.0216 to 0.0123 ± 0.0030 without changing predictions, and deterministic MSP achieved error-detection AUROC of 0.9288 ± 0.0181. On GastroVision, random folds contained 78–101 detected cross-subset overlaps, whereas grouped folds contained none. Grouped EfficientNet-B0 achieved 0.8195 ± 0.0043 accuracy and 0.5792 ± 0.0148 macro-F1; ECE decreased from 0.1114 ± 0.0148 to 0.0323 ± 0.0048 after scaling. Similarity grouping removed detected resemblance without reducing accuracy, while calibration and uncertainty analyses exposed properties hidden by discrimination metrics. GastroVision supports methodological portability rather than direct external validation; pHash cannot establish patient or procedure independence, for which identifiers remain preferable.
期刊介绍:
The International Journal of Imaging Systems and Technology (IMA) is a forum for the exchange of ideas and results relevant to imaging systems, including imaging physics and informatics. The journal covers all imaging modalities in humans and animals.
IMA accepts technically sound and scientifically rigorous research in the interdisciplinary field of imaging, including relevant algorithmic research and hardware and software development, and their applications relevant to medical research. The journal provides a platform to publish original research in structural and functional imaging.
The journal is also open to imaging studies of the human body and on animals that describe novel diagnostic imaging and analyses methods. Technical, theoretical, and clinical research in both normal and clinical populations is encouraged. Submissions describing methods, software, databases, replication studies as well as negative results are also considered.
The scope of the journal includes, but is not limited to, the following in the context of biomedical research:
Imaging and neuro-imaging modalities: structural MRI, functional MRI, PET, SPECT, CT, ultrasound, EEG, MEG, NIRS etc.;
Neuromodulation and brain stimulation techniques such as TMS and tDCS;
Software and hardware for imaging, especially related to human and animal health;
Image segmentation in normal and clinical populations;
Pattern analysis and classification using machine learning techniques;
Computational modeling and analysis;
Brain connectivity and connectomics;
Systems-level characterization of brain function;
Neural networks and neurorobotics;
Computer vision, based on human/animal physiology;
Brain-computer interface (BCI) technology;
Big data, databasing and data mining.