Graph-Enhanced Vision Transformer for Crohn’s Disease Detection via Region-Level Spatial Reasoning
Journal: International Journal of Engineering and Manufacturing @ijem
Article in issue: 6 vol.16, 2026.
Free access
Crohn's disease is a chronic inflammatory bowel condition which can cause inflammation of the gastrointestinal system and may need to be diagnosed early and accurately to achieve good clinical management. The analysis of capsule endoscopy image data, however, is difficult because of the high volume of data, the complicated texture of the intestine and the existence of subtle patterns of lesions. A Graph-Enhanced Vision Transformer (ViT) is introduced in this work to automatically detect Crohn's disease from endoscopic images. The proposed solution combines the advantages of a transformer-based feature extraction model and a graph-based relational learning model. Transformer-based features can capture the global contextual information and the local spatial interactions among the intestinal regions. Endoscopic images are first pre-processed by resizing, normalizing, and contrast enhancement using Contrast Limited Adaptive Histogram Equalization (CLAHE), and data augmentation to enhance the quality and generalization of the data. Then, by using superpixel segmentation, the image is divided into meaningful regions and a graph is built at the level of these regions. A Vision Transformer backbone is used to obtain the feature embeddings at the level of the patch, and then these embeddings are mapped to the segmented regions to produce their representations. Then, a Graph Attention Network (GATv2) is used to capture the spatial interactions of regions by passing messages using attention, facilitating the flow of lesion-related features through the graph structure. Finally, the graph features are aggregated, and sent to a fully connected layer with SoftMax classifier for classification of Crohn's disease or normal cases. Experimental results on the CrohnIPI endoscopic image dataset show that the proposed method is compared with the conventional method and it is found out that the proposed method is better than the CNN and transformer-based baseline methods by 2.9 percentage points, with accuracy of 93.1% compared to the best among the baseline methods, Swin Transformer, with accuracy of 90.2%. The results show that the introduction of transformer representations combined with graph-based reasoning in automated Crohn's disease detection systems substantially boosts the reliability and diagnostic capabilities. The resulting model contains 92M parameters and requires 17.8G FLOPs, with an average inference time of 18 ms under the reported experimental configuration.
Short address: https://sciup.org/15020855
IDS: 15020855 | DOI: 10.5815/ijem.2026.06.11