收藏切换
Ring-Feature Fusion Network(RFFNet): a deep learning model integrating CNN and transformer with endoscopic distortion correction for high-accuracy real-time diagnosis of inflammatory bowel disease
收藏切换
Hualong LI1, Yanling WEI2, Guangcong RUAN2, Wei MENG2, Yi WU1, Ying LI1, Jiajie TANG3, Jingjing LIU1, Yongjian NIAN1
Journal of Army Medical University | 2026, 48(4) : 479 - 492
Less
收藏切换
Journal of Army Medical University | 2026, 48(4): 479-492
• Intelligent Medicine and Prediction Model •
Ring-Feature Fusion Network(RFFNet): a deep learning model integrating CNN and transformer with endoscopic distortion correction for high-accuracy real-time diagnosis of inflammatory bowel disease
Full
Hualong LI1, Yanling WEI2, Guangcong RUAN2, Wei MENG2, Yi WU1, Ying LI1, Jiajie TANG3, Jingjing LIU1, Yongjian NIAN1
Affiliations
  • 1Department of Digital Medicine, College of Biomedical Engineering and Imaging Medicine, Army Medical University (Third Military Medical University), Chongqing
  • 2Department of Gastroenterology, Daping Hospital, Army Medical University (Third Military Medical University), Chongqing
  • 3Department of information, Second Affiliated Hospital, Army Medical University(Third Military Medical University), Chongqing, China
Published: 2026-02-28 doi: 10.16016/j.2097-0927.202510069
Outline
收藏切换
Objective

To leverage deep learning technology to assist endoscopists in accurately diagnosing colonoscopy images of Crohn’s disease (CD), ulcerative colitis (UC), and Normal tissue.

Methods

A total of 24 492 colonoscopy images from 1 309 subjects were collected from Department of Gastroenterology, Daping Hospital, Army Medical University, and Sir Run Run Shaw Hospital between January 2018 and November 2020. The dataset included 4 729 CD images from 424 cases, 7 074 UC images from 605 cases, and 12 689 Normal images from 280 cases. The images were randomly split by case in a 7∶1∶2 ratio into a training set (915 cases, 17 136 images), an internal test set (131 cases, 2 626 images), and an external validation set (263 cases, 4 730 images). To address feature fusion between CNN and Transformer architectures and correct endoscopic image distortion, we constructed a Ring-Feature Fusion Network (RFFNet) based on ResNeSt50 and MViTv2. The network employs bidirectional channel-spatial attention for cross-stage feature fusion, effectively combining the local feature extraction strengths of CNN with the global modeling capabilities of Transformer. An innovative ring-feature mechanism was introduced to handle barrel distortion and depth-of-field phenomena in colonoscopy images, enhancing the model’s adaptability to the geometric properties of the distal intestinal lumen. RFFNet was compared with five existing deep learning models. Recognition results on the external validation set were visualized using confusion matrices, and performance was evaluated using accuracy, sensitivity, specificity, F1-score, and area under the curve (AUC). Ablation studies were conducted on the external validation set using metrics like accuracy and F1-score to validate the effectiveness and necessity of each improvement in RFFNet. Gradient-weighted class activation mapping (Grad-CAM) was used to generate heatmaps, visually demonstrating the model’s focus areas and improving interpretability.

Results

On the external validation set, RFFNet achieved an overall accuracy of 95.68% (95%CI: 94.14% to 98.58%) and an overall AUC of 0.987 (95%CI: 0.985 to 0.990). For CD, UC, and Normal classes, the AUCs were 0.982 (95%CI: 0.979 to 0.986), 0.981 (95%CI: 0.977 to 0.984), and 0.997 (95%CI: 0.995 to 0.998), respectively; sensitivities were 93.35% (95%CI: 91.67% to 94.71%), 94.00% (95%CI: 92.60% to 95.16%), and 98.56% (95%CI: 97.99% to 98.97%), respectively; specificities were 94.58% (95%CI: 93.81% to 95.27%), 94.20% (95%CI: 93.36% to 94.94%), and 98.61% (95%CI: 98.05% to 99.01%), respectively; F1-scores were 87.81% (95%CI: 86.28% to 89.25%), 90.05% (95%CI: 89.00% to 91.25%), and 98.58% (95%CI: 98.22% to 98.92%), respectively. These results indicate that RFFNet achieved high diagnostic precision. Compared to using CNN or Transformer models alone, RFFNet’s overall accuracy improvement was statistically significant (P<0.05). Ablation studies confirmed that the model, through a dynamic spatial attention mechanism, deeply integrates CNN’s local fine-grained feature extraction with Transformer’s global contextual modeling advantages. The CNN-Transformer architecture improved overall accuracy by 0.11% compared to using CNN alone, respectively. The ring-feature mechanism corrected endoscopic optical distortion and depth-of-field attenuation, enhancing modeling of the distal lumen geometry, and improved RFFNet’s overall accuracy by 0.57%. Grad-CAM heatmaps demonstrated the model’s adaptive ability to capture structural features in colonoscopy images.

Conclusion

RFFNet, through its dual-backbone architecture that deeply couples CNN’s local texture perception with Transformer’s global dependency modeling, and explicit correction of endoscopic distortion via ring-features, enables high-accuracy real-time classification of CD, UC, and normal mucosa.

inflammatory bowel disease  /  deep learning  /  ulcerative colitis  /  the Crohn’s disease
李华龙, 魏艳玲, 阮广聪, 孟薇, 吴毅, 李颖, 唐嘉杰, 刘静静, 粘永健. 环形特征融合网络(RFFNet):一种融合CNN与Transformer并校正内镜畸变实现炎症性肠病高精度实时诊断的深度学习模型. 陆军军医大学学报, 2026 , 48 (4) : 479 -492 . DOI: 10.16016/j.2097-0927.202510069
Hualong LI, Yanling WEI, Guangcong RUAN, Wei MENG, Yi WU, Ying LI, Jiajie TANG, Jingjing LIU, Yongjian NIAN. Ring-Feature Fusion Network(RFFNet): a deep learning model integrating CNN and transformer with endoscopic distortion correction for high-accuracy real-time diagnosis of inflammatory bowel disease[J]. Journal of Army Medical University, 2026 , 48 (4) : 479 -492 . DOI: 10.16016/j.2097-0927.202510069
Year 2026 volume 48 Issue 4
74
29
Cite this Article
BibTeX
Article Info
doi: 10.16016/j.2097-0927.202510069
  • Receive Date:2025-10-23
  • Online Date:2026-10-23
  • Published:2026-02-28
Article Data
Affiliations
History
  • Received:2025-10-23
  • Revised:2025-12-09
Affiliations
    1Department of Digital Medicine, College of Biomedical Engineering and Imaging Medicine, Army Medical University (Third Military Medical University), Chongqing
    2Department of Gastroenterology, Daping Hospital, Army Medical University (Third Military Medical University), Chongqing
    3Department of information, Second Affiliated Hospital, Army Medical University(Third Military Medical University), Chongqing, China
References
Share
https://castjournals.cast.org.cn/joweb/ljjydxxb/EN/10.16016/j.2097-0927.202510069
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT