University of Alberta
UNet-Based Sparse Data Intestinal Tract Segmentation for Inflammatory Bowel Disease
Abstract
dc:description.abstractInflammatory bowel disease (IBD) is a group of conditions causing inflammation in the gastrointestinal tract affecting over 300,000 people in Canada. It often requires cross-sectional imaging, such as computed tomography (CT) or magnetic resonance imaging, to assess the extent. Manual segmentation of the colon and small bowel can be time-consuming and cumbersome, and the state-of-the-art (SOTA) segmentation foundation models are largely trained on non-IBD anatomy and can underperform on IBD cases due to changes in the bowel structure. In this thesis, we aimed to develop a segmentation approach that leverages unlabelled IBD CT scans from the University of Alberta Hospital, with probabilistic pseudo labels generated by SOTA models to train an nnU-Net model capable of segmenting intestinal tracts of IBD patients with high accuracy. Retrospectively, we had had a dataset of over 500,000 anonymised abdominal CT scans of IBD patients curated from Alberta Health Services and filtered out non-diagnostic images. After excluding non-diagnostic and non-CT images using metadata and weighted criteria (e.g., slice count, resolution, contrast), we retained approximately 70,000 scans from patients with Crohn’s Disease, ulcerative colitis, or an unknown form of IBD for analysis. We combined 3,000 of these IBD scans with another dataset– The Rethinking Abdominal Organ Segmentation (RAOS) dataset– of 220 images for training, 67 for hyperparameter tuning, and 30 for testing, with ground truth manually segmented by a senior radiologist. We also generated soft pseudo labels by combining the labels of the aforementioned SOTA foundation models: TotalSegmentator, NVIDIA VISTA3D, and MedSAM-2– via model weighting, 3D neighbourhood smoothing, and a rescale function. Since the MedSAM-2 foundation model needs prompting to segment, we used binary-eroded masks from TotalSegmentator and VISTA3D as initial point prompts, resulting in 2 segmentations from MedSAM-2. A final adapted nnU-Net model for probabilistic labels was trained on a combination of the two datasets– the 220 RAOS images with expert annotations, and the vast set of IBD images with the generated pseudo labels acting as the ground truth segmentations. We modified the default loss to instead use a combination of soft Dice and cross-entropy losses. We trained over 1000 epochs with 5-fold cross-validation, with standard nnU-Net plans and pre-processing, obtaining an average validation loss of 0.923 over the folds. External evaluation involved using the 30-case RAOS test set with ground truth human-labels using Dice score as a metric. A good threshold for the soft label outputs from our model was found using the tuning set, resulting in an average Dice score of 0.892. This result is significantly higher than the average Dice scores for the other SOTA models for CT segmentation of the intestinal tract on the same dataset (TotalSegmentator: 0.836, VISTA3D: 0.837, MedSAM-2 (TotalSegmentator): 0.518, MedSAM-2 (VISTA): 0.552), proving that the extra IBD cases used for training helped the nnU-Net learn from the SOTA models. Additionally, the soft output labels from our model are more intuitively interpretable than binary labels. Varying colour intensities reflect the model’s confidence that a voxel belongs to the intestinal tract, mirroring human perception, which is typically less certain near boundaries. We expect future work to include segmentation of the straightened intestinal tract and comparison of wall inflammation at different points to determine sites of IBD, and improvement of the segmentation model using human-in-the-loop feedback with more of the IBD scans. Overall, the framework explored within this thesis shows that learning, guided by SOTA segmentation foundation models, can bridge the gap between solely relying on sparse amounts of training data with manual ground truth labels and being able to use unlabelled data with probabilistic pseudo labels to train versatile yet effective and interpretable models. By enhancing the accuracy and interpretability of gastrointestinal segmentation, this approach contributes to advancing AI-driven tools for IBD research and clinical diagnosis
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- Master's
- Discipline thesis:degree_discipline
- Statistical Machine Learning
- Grantor
- University of Alberta
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Mitchell, Connor K
- Advisors dc:contributor.advisor
-
- Linglong Kong (Mathematical and Statistical Sciences)
- Bei Jiang (Mathematical and Statistical Sciences)
Subjects
dc:subject × 13Rights
dc:rights- Statement dc:rights
-
- This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- DOI dc:identifier.doi
- https://doi.org/10.7939/84101