MeasureNet: Measurement Based Celiac Disease Identification
Aayush Kumar Tyagi, Vaibhav Mishra, Ashok Tiwari, Lalita Mehra, Prasenjit Das, Govind Makharia, Prathosh AP, Mausam
TL;DR
MeasureNet addresses the challenging problem of CeD assessment from duodenal biopsies by measuring villi-to-crypt length using polyline-based detection rather than traditional segmentation. Built on a DINO-DETR backbone, it integrates pathological insight through auxiliary segmentation masks of villi shoulder and crypt border, augmented by robust mask mixup and an image–mask fusion module to improve curvature-aware length estimation. The framework introduces object-driven losses for total and partial polyline lengths, and a DTW-guided segmentation loss to align key anatomical cues, all evaluated on the CeDeM dataset of 750 images with 6,800 polylines. Experimental results show significant improvements in localization, measurement accuracy, and celiac disease classification over strong baselines, with the release of code and CeDeM enabling future research in automated histopathology measurement.
Abstract
Celiac disease is an autoimmune disorder triggered by the consumption of gluten. It causes damage to the villi, the finger-like projections in the small intestine that are responsible for nutrient absorption. Additionally, the crypts, which form the base of the villi, are also affected, impairing the regenerative process. The deterioration in villi length, computed as the villi-to-crypt length ratio, indicates the severity of celiac disease. However, manual measurement of villi-crypt length can be both time-consuming and susceptible to inter-observer variability, leading to inconsistencies in diagnosis. While some methods can perform measurement as a post-hoc process, they are prone to errors in the initial stages. This gap underscores the need for pathologically driven solutions that enhance measurement accuracy and reduce human error in celiac disease assessments. Our proposed method, MeasureNet, is a pathologically driven polyline detection framework incorporating polyline localization and object-driven losses specifically designed for measurement tasks. Furthermore, we leverage segmentation model to provide auxiliary guidance about crypt location when crypt are partially visible. To ensure that model is not overdependent on segmentation mask we enhance model robustness through a mask feature mixup technique. Additionally, we introduce a novel dataset for grading celiac disease, consisting of 750 annotated duodenum biopsy images. MeasureNet achieves an 82.66% classification accuracy for binary classification and 81% accuracy for multi-class grading of celiac disease. Code: https://github.com/dair-iitd/MeasureNet
