Deep Bayesian active learning-to-rank with relative annotation for estimation of ulcerative colitis severity

Takeaki Kadota, Hideaki Hayashi, Ryoma Bise, Kiyohito Tanaka, Seiichi Uchida

Introduction

Estimating the severity of diseases like Ulcerative Colitis (UC) from endoscopic images is a cornerstone of computer-aided diagnosis. Traditionally, this is treated as a classification task where experts assign discrete labels, such as Mayo scores (0, 1, 2, or 3). However, disease severity is inherently continuous. Assigning a discrete number to a "borderline" case is subjective, time-consuming, and prone to high inter-observer variability.

The Challenge of Severity Estimation

The primary difficulty in absolute annotation lies in the ambiguity of intermediate cases. Experts often struggle to decide between adjacent scores, leading to inconsistent datasets. Relative annotation—comparing two images to determine which is more severe—is much easier and more consistent for human experts.

Comparison of absolute vs. relative annotation. Absolute labels can be ambiguous for intermediate cases, whereas relative comparison is often more intuitive.

The challenge with relative annotation is scale: for $N$ images, there are $N(N-1)/2$ possible pairs. Annotating all of them is impossible. This paper introduces a Deep Bayesian Active Learning-to-Rank (BALR) framework to solve the "pair selection problem" by identifying the most informative pairs for expert review using model uncertainty.

Deep Bayesian Active Learning-to-Rank

The proposed framework utilizes a Siamese architecture and RankNet loss to learn continuous rank scores from image pairs. The core innovation is the integration of Bayesian uncertainty estimation into the active learning loop.

  1. Siamese Network & RankNet: The model processes image pairs through two identical branches sharing weights. It is trained to output a continuous rank score $f(x)$ such that $f(x_i) > f(x_j)$ if image $i$ is more severe than image $j$.
  2. Uncertainty Estimation via MC Dropout: The authors use Monte Carlo (MC) Dropout to estimate model uncertainty. By running multiple forward passes with different dropout masks, the system calculates the variance of the rank scores. Theoretically, the authors demonstrate that MC Dropout in a Siamese network provides a valid variational lower bound for the pairwise learning-to-rank objective.
  3. Active Learning Loop: Starting with a small set of randomly selected pairs, the system iteratively identifies unlabeled images with the highest uncertainty and requests expert annotations for new pairs involving those images.
An example of a relative comparison pair where one image is identified as less severe than another.

Key Insights and Results

The method was evaluated on two large-scale endoscopic image datasets: a private dataset (10,265 images) and the public LIMUC dataset (11,276 images). Both datasets exhibit significant class imbalance, with severe cases being relatively rare.

  • Uncertainty as a Class Balancer: Uncertainty-based sampling naturally corrects for class imbalance. Because severe cases are rare, the model is initially more uncertain about them, leading the active learning loop to preferentially select these minority-class samples for annotation.
  • Efficiency and Accuracy: The model trained on only 50% of the possible labels (selected via active learning) outperformed a baseline model trained on 100% of the labels (selected randomly). On the private dataset, it achieved an overall relative estimation accuracy of 88.0%.
  • Reduced Annotation Cost: For the classification task, the proposed method achieved a higher F1-score (0.649) than the conventional absolute-labeling approach (0.629) while requiring only one-third of the total annotation time. To ensure clinical utility, the authors integrated a calibration step to map continuous rank scores back to discrete Mayo levels.

Conclusion

By leveraging relative comparisons and Bayesian uncertainty, this framework significantly reduces the burden on medical experts while improving the accuracy of disease severity estimation. The ability to naturally handle class imbalance and distinguish between similar severity levels makes it a powerful tool for clinical computer-aided diagnosis.

Summary updated

BibTeX
@article{kadota2024deep,
  author = {Takeaki Kadota and Hideaki Hayashi and Ryoma Bise and Kiyohito Tanaka and Seiichi Uchida},
  title = {{Deep Bayesian active learning-to-rank with relative annotation for estimation of ulcerative colitis severity}},
  journal = {Medical Image Analysis},
  year = {2024},
  doi = {10.1016/j.media.2024.103262},
}
Figure