Order-Guided Disentangled Representation Learning for Ulcerative Colitis Classification with Limited Labels

Shota Harada, Ryoma Bise, Hideaki Hayashi, Kiyohito Tanaka, Seiichi Uchida

TL;DR

Researchers have developed a new semi-supervised learning method for classifying Ulcerative Colitis (UC) in endoscopic images by exploiting "free" metadata: the location in the colon and the temporal order of the video frames. By disentangling disease features from anatomical features and enforcing temporal consistency, their model significantly outperforms state-of-the-art semi-supervised methods when labeled data is scarce.

What Problem Does This Paper Address?

Ulcerative Colitis (UC) is an inflammatory bowel disease that requires expert gastroenterologists to identify subtle textures like bleeding or vascular patterns in endoscopic images. Training deep learning models to automate this diagnosis faces two massive hurdles:

  1. The Label Scarcity Gap: Annotating thousands of medical images is exhausting and expensive for specialists.
  2. The Anatomy Nuisance: The colon looks very different depending on where the camera is (e.g., the rectum vs. the right colon). In standard machine learning, these anatomical differences often "drown out" the subtle signs of disease, leading the model to confuse a change in location with a change in disease severity.

Existing semi-supervised learning (SSL) techniques like FixMatch often fail here because they assume the primary visual variance in a dataset comes from the class labels. In endoscopy, the primary variance is actually the anatomy.

Methods

The authors propose a two-pronged strategy to solve these issues:

1. Disentangled Representation Learning

To stop the model from confusing anatomy with disease, they use a multi-task architecture. The network branches into two paths: one for UC classification and one for location classification.

  • The Twist: They use an adversarial loss. They train the UC branch to be excellent at identifying the disease but intentionally bad at identifying the location. This forces the model to "disentangle" the features, stripping away anatomical noise to find the pure "UC signal."

2. Order-Guided Learning (Ordinal Loss)

Endoscopic images aren't captured in isolation; they are part of a sequence. The authors point out that images captured at time $t$ and $t+1$ are highly likely to have the same UC status.

  • The Technique: They introduce an Ordinal Loss. This function pulls the feature representations of temporally adjacent images closer together in the feature space while pushing distant images further apart. This acts as a powerful regularizer for unlabeled data, effectively using the "arrow of time" as a supervisory signal.

Datasets

The study used a dataset provided by the Kyoto Second Red Cross Hospital:

  • Scope: 388 endoscopic image sequences totaling 10,262 images.
  • Labels: 6,678 images labeled as UC-positive and 3,584 as normal.
  • Metadata: Each image included a location label (Right Colon, Left Colon, or Rectum) and its capture order within the sequence.
  • Experimental Setup: To simulate a "limited label" environment, they trained the model using only 10% of the available UC labels ($R=0.1$).

Key Insights and Ideas

  • Metadata is a Goldmine: In medical imaging, we often focus solely on the pixels. This paper shows that "secondary" data—like where the camera was and when the shot was taken—can be just as important for training robust models.
  • Anatomy as a Nuisance Variable: By treating the colon's location as something to be "disentangled" or ignored by the disease classifier, the model becomes much more sensitive to actual pathological textures (ulcers, redness) rather than just anatomical shapes.
  • Temporal Smoothing: The "Ordinal Loss" essentially teaches the model that "disease states don't flicker." If frame 1 and frame 3 are UC-positive, frame 2 almost certainly is too. This simple intuition helps the model learn from unlabeled frames.

Key Results

The proposed method showed a clear advantage when working with limited data (10% labels):

  • Accuracy: The proposed method reached 84.52%, significantly beating the state-of-the-art FixMatch (77.90%) and Pseudo-Label (81.10%).
  • Recall: The model was particularly good at not missing UC cases (high recall), which is critical in a clinical setting.
  • Ablation Success: The researchers proved that both disentanglement and order-guided learning were necessary; removing either component led to a measurable drop in performance.

Limitations and Future Work

While the results are promising, the authors note a few areas for growth:

  • Task Specificity: Currently, the model is tailored specifically for UC. The authors suggest that this framework could be adapted for other endoscopic tasks, such as detecting polyps or cancerous lesions.
  • Sequence Complexity: The current ordinal loss is relatively simple. Future work could involve more complex sequence modeling (like Transformers or LSTMs) to better capture the long-term dependencies in an hour-long colonoscopy video.
  • Clinical Integration: The paper focuses on classification accuracy; moving this into a real-time "AI assistant" in the operating room would require further optimization for speed and edge-case handling.

Summary updated

BibTeX
@inproceedings{harada2021order,
  author = {Shota Harada and Ryoma Bise and Hideaki Hayashi and Kiyohito Tanaka and Seiichi Uchida},
  title = {{Order-Guided Disentangled Representation Learning for Ulcerative Colitis Classification with Limited Labels}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2021},
  url = {https://openreview.net/forum?id=TsMQNrwun4c},
}
Figure