Hierarchical Multi-Stage Attention and Dynamic Expert Routing for Explainable Gastrointestinal Disease Diagnosis
<b>Purpose:</b> Gastrointestinal (GI) illness demands precise and efficient diagnostics, yet conventional approaches (e.g., endoscopy and histopathology) are time-consuming and prone to reader variability. This work presents GID-Xpert, a deep learning framework designed to improve feature learning, accuracy, and interpretability for GI disease classification. <b>Methods:</b> GID-Xpert integrates a hierarchical, multi-stage attention-driven mixture of experts with dynamic routing. The architecture couples spatial-channel attention mechanisms with specialized expert blocks; a routing module adaptively selects expert paths to enhance representation quality and reduce redundancy. The model is trained and evaluated on three benchmark datasets-WCEBleedGen, GastroEndoNet, and the King Abdulaziz University Hospital Capsule (KAUHC) dataset. Comparative experiments against state-of-the-art baselines and ablation studies (removing attention, expert blocks, and routing) are conducted to quantify the contribution of each component. <b>Results:</b> GID-Xpert achieves superior performance with 100% accuracy on WCEBleedGen, 99.98% on KAUHC, and 75.32% on GastroEndoNet. Comparative evaluations show consistent improvements over contemporary models, while ablations confirm the additive benefits of spatial-channel attention, expert specialization, and dynamic routing. The design also yields reduced computational cost and improved explanation quality via attention-driven reasoning. <b>Conclusion:</b> By unifying attention, expert specialization, and dynamic routing, GID-Xpert delivers accurate, computationally efficient, and more interpretable GI disease classification. These findings support GID-Xpert as a credible diagnostic aid and a strong foundation for future extensions toward broader GI pathologies and clinical integration.
Authors
- Nehal Hassan (ORCID: https://orcid.org/0000-0002-8302-5769)
- Inzamam Mashood Nasir (ORCID: https://orcid.org/0000-0002-3578-0081)
- Hend Alshaya (ORCID: https://orcid.org/0009-0002-1441-694X)
- Wided Bouchelligua (ORCID: https://orcid.org/0009-0003-3620-6924)
- Muhammad John Abbas (ORCID: https://orcid.org/0009-0007-2942-3006)
Institutions
- Kaunas University of Technology (LT)
- Imam Mohammad ibn Saud Islamic University (SA)
- HITEC University (PK)
Publication Details
- Journal
- Diagnostics
- Published
- 2025-10-27
- DOI
- https://doi.org/10.3390/diagnostics15212714
- Citations
- 1
- Primary Topic
- Colorectal Cancer Screening and Detection
- Type
- article
- Field-Weighted Citation Impact
- 1.05
Funders
- Al-Imam Muhammad Ibn Saud Islamic University