Deva Raj Mahanta, Lipi B. Mahanta, Manish Chowdhury
{"title":"Real-Time Polyp Detection Using an Enhanced YOLOv12 Framework With Adaptive Feature Routing and Auxiliary Self-Distillation","authors":"Deva Raj Mahanta, Lipi B. Mahanta, Manish Chowdhury","doi":"10.1002/ima.70442","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>Early detection of gastric and colorectal polyps during endoscopic procedures is essential for preventing cancer progression; however, manual identification remains challenging due to subtle lesion appearance, size variability, and the fast pace of clinical workflows. YOLO-based object detection models have demonstrated strong potential for real-time computer-aided detection. Still, limitations persist in multiscale representation, small polyp detection, and maintaining accuracy without increasing computational cost. To address these challenges, we developed an enhanced YOLOv12s-based imaging framework tailored for endoscopic polyp detection. The proposed system integrates three key innovations: (1) RouteHead, an adaptive multiscale feature routing mechanism that dynamically fuses features from multiple feature-pyramid levels (P2-P5), enabling improved detection of small and fine-grained lesions; (2) auxiliary detection heads employed during training for self-distillation, enhancing representational learning without affecting inference-time performance; and (3) task-specific loss functions, including α-CIoU for precise localization, edge-aware loss for boundary refinement, and self-distillation loss for deeper feature consistency. The model was evaluated on a comprehensive multicenter colonoscopy dataset comprising 2188 images aggregated from four publicly available benchmarks: Kvasir-SEG, CVC-ClinicDB, CVC-ColonDB, and ETIS-LaribPolypDB. For datasets lacking bounding box annotations, YOLO-format labels were systematically generated from segmentation masks to ensure consistency in annotations across datasets. Training was performed using a stratified data partitioning strategy with a held-out independent test set and fivefold cross-validation to obtain robust performance estimates. The enhanced model achieved a mAP@50–95 of 0.6976, a precision of 0.9300, a recall of 0.9069, and an F1-score of 0.9182, consistently matching or exceeding the baseline YOLOv12s architecture across validation folds and achieving detection accuracy statistically comparable to that of substantially larger detectors at a fraction of their computational cost. Despite improved accuracy, the proposed framework remains computationally efficient with 8.81 million parameters and 7.92 GFLOPs. By combining adaptive multiscale feature routing with self-distillation-based training, the proposed imaging system effectively overcomes key limitations of existing real-time endoscopic detection approaches. The strong balance between detection accuracy, robustness across multiple datasets, and computational efficiency makes the framework suitable for practical computer-aided endoscopy systems, with the potential to enhance early detection rates and reduce cognitive burden on clinicians during routine examinations.</p>\n </div>","PeriodicalId":14027,"journal":{"name":"International Journal of Imaging Systems and Technology","volume":"36 5","pages":""},"PeriodicalIF":3.0000,"publicationDate":"2026-09-07","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.70442","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0
Abstract
Early detection of gastric and colorectal polyps during endoscopic procedures is essential for preventing cancer progression; however, manual identification remains challenging due to subtle lesion appearance, size variability, and the fast pace of clinical workflows. YOLO-based object detection models have demonstrated strong potential for real-time computer-aided detection. Still, limitations persist in multiscale representation, small polyp detection, and maintaining accuracy without increasing computational cost. To address these challenges, we developed an enhanced YOLOv12s-based imaging framework tailored for endoscopic polyp detection. The proposed system integrates three key innovations: (1) RouteHead, an adaptive multiscale feature routing mechanism that dynamically fuses features from multiple feature-pyramid levels (P2-P5), enabling improved detection of small and fine-grained lesions; (2) auxiliary detection heads employed during training for self-distillation, enhancing representational learning without affecting inference-time performance; and (3) task-specific loss functions, including α-CIoU for precise localization, edge-aware loss for boundary refinement, and self-distillation loss for deeper feature consistency. The model was evaluated on a comprehensive multicenter colonoscopy dataset comprising 2188 images aggregated from four publicly available benchmarks: Kvasir-SEG, CVC-ClinicDB, CVC-ColonDB, and ETIS-LaribPolypDB. For datasets lacking bounding box annotations, YOLO-format labels were systematically generated from segmentation masks to ensure consistency in annotations across datasets. Training was performed using a stratified data partitioning strategy with a held-out independent test set and fivefold cross-validation to obtain robust performance estimates. The enhanced model achieved a mAP@50–95 of 0.6976, a precision of 0.9300, a recall of 0.9069, and an F1-score of 0.9182, consistently matching or exceeding the baseline YOLOv12s architecture across validation folds and achieving detection accuracy statistically comparable to that of substantially larger detectors at a fraction of their computational cost. Despite improved accuracy, the proposed framework remains computationally efficient with 8.81 million parameters and 7.92 GFLOPs. By combining adaptive multiscale feature routing with self-distillation-based training, the proposed imaging system effectively overcomes key limitations of existing real-time endoscopic detection approaches. The strong balance between detection accuracy, robustness across multiple datasets, and computational efficiency makes the framework suitable for practical computer-aided endoscopy systems, with the potential to enhance early detection rates and reduce cognitive burden on clinicians during routine examinations.
期刊介绍:
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.