# DuDeM: A Dual-Network Model for Early Gastric Cancer Detection Based on Capsule Endoscopy

**Authors:** Tianyi Feng, Qian He, Tianqi Chen, Weibing Wang

PMC · DOI: 10.3390/bioengineering13030356 · Bioengineering · 2026-03-18

## TL;DR

DuDeM is a new AI model that improves early detection of gastric cancer using capsule endoscopy images.

## Contribution

The novel dual-network model combines ResNet50 and CapsuleNet with dynamic routing for robust gastric cancer detection.

## Key findings

- DuDeM achieved an AUC of 0.981 and an F1-score of 0.979 for gastric cancer detection.
- The model maintained over 97% sensitivity, specificity, and precision with minimal performance degradation under image perturbations.

## Abstract

Early detection is critical for improving outcomes in gastric cancer, yet lesion recognition in capsule endoscopy is challenged by interference from different gastric anatomical sites, patient posture changes, and gastric peristalsis. This study aims to prompt a robust deep learning model to address these challenges. A dual-network model, named DuDeM (DualNet Detection Model), was developed by integrating a ResNet50-based convolutional branch with a CapsuleNet branch incorporating dynamic routing. The convolutional branch extracts local lesion features that are transmitted to primary capsules, while dynamic routing enables adaptive matching between capsule layers to establish local–global feature associations. An attention-weighted strategy is applied for feature fusion. The model was trained using capsule endoscopy images from nine hospitals in China and public datasets, and its performance was compared with eight representative models, with ablation analyses validating key components. Results showed that DuDeM achieved an area under the curve (AUC) of 0.981 and an F1-score of 0.979, with sensitivity, specificity, and precision all exceeding 97%, and performance degradation limited to within 3% under mild image perturbations. These findings suggest that DuDeM enables reliable early gastric cancer (EGC) recognition and may support large-scale capsule endoscopy screening in clinical practice.

## Linked entities

- **Diseases:** gastric cancer (MONDO:0001056), early gastric cancer (MONDO:0001060)

## Full-text entities

- **Diseases:** lesion (MESH:D009059), EGC (MESH:D013274)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC13024527/full.md

## Figures

14 figures with captions in the complete paper: https://tomesphere.com/paper/PMC13024527/full.md

## References

28 references — full list in the complete paper: https://tomesphere.com/paper/PMC13024527/full.md

---
Source: https://tomesphere.com/paper/PMC13024527