Demonstrates effective GI disease classification in medical imaging, suggesting improved diagnostic speed and accuracy.
In order to promote early diagnosis and lessen the workload of doctors during endoscopic and capsule endoscopy tests, automated analysis of gastrointestinal (GI) images is essential. However, current deep learning techniques frequently fail to simultaneously capture long-range contextual information and fine-grained local patterns, especially in large-scale and highly imbalanced datasets. We suggest LightGastroFormer, a lightweight transformer-based architecture intended for reliable and effective GI disease categorization, as a solution to these problems.The suggested model combines a gated feed-forward network, effective self-attention, and a multi-resolution patchwise tokenizer to efficiently find minor lesion characteristics while preserving computational efficiency. Three public benchmarks are used to evaluate LightGastroFormer: Kvasir v1, Kvasir v2, and the extensive Kvasir-Capsule dataset. Across all evaluated datasets, the proposed approach demonstrates consistently strong performance, matching or surpassing existing state-of-the-art CNN- and transformer-based methods. In particular, without using explicit data balancing strategies, LightGastroFormer obtains an accuracy of 0.94 on Kvasir v1, 0.95 on Kvasir v2, and 0.97 accuracy with a 0.97 F1-score on the highly imbalanced Kvasir-Capsule dataset. Further ablation studies confirm the effectiveness of each architectural component and reveal important insights into model behavior under class imbalance. With only 6.42 million trainable parameters, LightGastroFormer offers a favorable balance between accuracy, robustness, and efficiency, making it well suited for real-world clinical deployment in gastrointestinal disease screening and diagnosis. The code is available here: https://github.com/Prateeksingh-moa/LightGastroformer .
No takes yet. Share an insight, caveat, or question.
Singh et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: