Real-Time Polyp Detection Using an Enhanced YOLOv12 Framework With Adaptive Feature Routing and Auxiliary Self-Distillation

IF 3 4区 计算机科学 Q2 ENGINEERING, ELECTRICAL & ELECTRONIC
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,&nbsp;Lipi B. Mahanta,&nbsp;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.

基于自适应特征路由和辅助自蒸馏的增强YOLOv12框架的息肉实时检测
在内镜手术中早期发现胃和结肠息肉对于预防癌症进展至关重要;然而,由于病变的细微外观、大小变化和临床工作流程的快节奏,人工识别仍然具有挑战性。基于yolo的目标检测模型在实时计算机辅助检测方面显示出强大的潜力。然而,在多尺度表示、小息肉检测和在不增加计算成本的情况下保持准确性方面仍然存在局限性。为了应对这些挑战,我们开发了一种基于yolov12的增强成像框架,专门用于内镜下息肉检测。该系统集成了三个关键创新:(1)RouteHead,一种自适应多尺度特征路由机制,可动态融合来自多个特征金字塔(P2-P5)级别的特征,从而提高对小颗粒和细颗粒病变的检测;(2)在自蒸馏训练中使用辅助检测头,在不影响推理时间性能的情况下增强表征学习;(3)任务特定损失函数,包括用于精确定位的α-CIoU、用于边界细化的边缘感知损失和用于更深层特征一致性的自蒸馏损失。该模型在一个综合的多中心结肠镜数据集上进行评估,该数据集包括2188张图像,这些图像来自四个公开可用的基准:Kvasir-SEG、CVC-ClinicDB、CVC-ColonDB和ETIS-LaribPolypDB。对于缺乏边界框标注的数据集,系统地从分割掩码中生成yolo格式的标签,以确保数据集间标注的一致性。训练采用分层数据划分策略,采用独立测试集和五倍交叉验证,以获得稳健的性能估计。增强模型的mAP@50 -95为0.6976,精度为0.9300,召回率为0.9069,f1得分为0.9182,在验证层中始终匹配或超过基准YOLOv12s架构,并且以很小的计算成本实现统计上可与更大的检测器相媲美的检测精度。尽管精度有所提高,但所提出的框架仍然具有881万个参数和792个GFLOPs的计算效率。通过将自适应多尺度特征路由与基于自提取的训练相结合,所提出的成像系统有效地克服了现有实时内窥镜检测方法的关键局限性。在检测准确性、跨多个数据集的鲁棒性和计算效率之间的良好平衡使得该框架适用于实际的计算机辅助内窥镜系统,具有提高早期检出率和减轻临床医生在常规检查中的认知负担的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
International Journal of Imaging Systems and Technology
International Journal of Imaging Systems and Technology 工程技术-成像科学与照相技术
CiteScore
6.90
自引率
6.10%
发文量
138
审稿时长
3 months
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书