Ordinal Multiple-instance Learning for Ulcerative Colitis Severity Estimation with Selective Aggregated Transformer

Kaito Shiku, Kazuya Nishimura, Daiki Suehiro, Kiyohito Tanaka, Ryoma Bise

Abstract: Patient-level diagnosis of severity in ulcerative colitis (UC) is common in clinical practice, where the most severe score for a patient is typically recorded as the diagnosis result. However, previous UC classification methods (i.e., image-level estimation) mainly assumed the input was a single image. Thus, these methods can not utilize severity labels recorded in real clinical settings. In this paper, we propose a patient-level severity estimation method by a transformer with selective aggregator tokens, where a severity label is estimated from multiple images taken from a patient, similar to a clinical setting. Our method can effectively aggregate features of severe parts from a set of images captured in each patient, and it facilitates improving the discriminative ability between adjacent severity classes. Experiments demonstrate the effectiveness of the proposed method on two datasets compared with the state-of-the-art MIL methods. Moreover, we evaluated our method using real clinical data and confirmed that our method outperformed the previous image-level methods.

Introduction

In clinical gastroenterology, diagnosing the severity of Ulcerative Colitis (UC) is essentially a "max-pooling" task. A physician typically captures 20 to 40 endoscopic images per patient, but the final diagnosis is based solely on the most severe area identified. This clinical reality presents two major challenges for automated systems: label scarcity and feature dilution. Clinical databases often only record the final patient-level score, leaving individual images unlabeled. Furthermore, standard Multiple-instance Learning (MIL) methods aggregate features from all images, which can lead to "dilution" where a few severe images are overshadowed by many mild ones, making it difficult to distinguish between adjacent severity levels (e.g., Level 3 vs. Level 4).

Methodology: Selective Aggregated Transformer (SATOMIL)

To address these issues, we propose the Selective Aggregated Transformer for Ordinal MIL (SATOMIL). Unlike standard Transformers that use a single [CLS] token to represent an entire set, SATOMIL introduces $K-1$ "selective aggregator tokens," where $K$ is the number of severity levels.

The SATOMIL architecture utilizes selective aggregator tokens and a transformer-based selective aggregation module to estimate ordinal labels from a bag of patient images.

Each token is trained to answer a specific binary question: "Is there at least one image in this bag with a severity greater than level k?" Through attention masking, these tokens learn to focus exclusively on images that exceed their specific threshold, effectively ignoring mild areas to concentrate on the most severe instances. The final patient-level score is derived by summing the binary outputs of these tokens, preserving the natural ordinal relationship of medical grades (e.g., Level 4 is inherently "more" than Level 3).

Results and Discussion

The model was evaluated on the LIMUC dataset (11,276 images, 564 patients) and a private clinical dataset (10,265 images, 388 patients). SATOMIL achieved a Quadratic Weighted Kappa of 0.826 on LIMUC, significantly outperforming standard MIL methods like DSMIL (0.744) and TransMIL (0.813).

Confusion matrices comparing the baseline Transformer K-rank method with the proposed SATOMIL (Ours), showing improved classification accuracy and better separation between adjacent severity classes.

As shown in the confusion matrices, SATOMIL demonstrates superior discriminative ability between adjacent classes compared to the previous state-of-the-art "K-rank MIL" approach. This reduction in "near-miss" errors is critical for clinical reliability. Interestingly, SATOMIL even outperformed standard supervised models trained on image-level labels, likely because patient-level "max severity" is a more robust clinical ground truth than potentially noisy individual image labels.

Conclusion

SATOMIL provides a novel framework for patient-level UC severity estimation by effectively focusing on the most severe diagnostic features. While the use of multiple aggregator tokens increases computational complexity, the gains in clinical relevance and accuracy are significant. Future work will explore applying this selective attention framework to other endoscopic procedures and pathology modalities where "max severity" is the diagnostic standard.

Summary updated

BibTeX
@inproceedings{shiku2025ordinal,
  author = {Kaito Shiku and Kazuya Nishimura and Daiki Suehiro and Kiyohito Tanaka and Ryoma Bise},
  title = {{Ordinal Multiple-instance Learning for Ulcerative Colitis Severity Estimation with Selective Aggregated Transformer}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  url = {https://openreview.net/forum?id=8M3JGkJy4e},
}
Figure