NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

OpenAL: An Efficient Deep Active Learning Framework for Open-Set Pathology Image Classification

Linhao Qu, Yingfan Ma, Zhiwei Yang, Manning Wang, Zhijian Song · DOI

Abstract

Active Learning (AL) is a critical strategy for reducing the annotation burden in medical imaging. However, standard AL frameworks often struggle with the "open-set" nature of pathology, where unlabeled data pools are frequently contaminated with irrelevant categories such as tissue debris, fat, or background. This paper introduces OpenAL, a novel framework that combines self-supervised feature representation with a two-stage selection strategy to effectively filter non-target samples and prioritize informative data for clinical tasks.

Introduction

Deep learning models in pathology require vast amounts of annotated data, which is both time-consuming and expensive to acquire. Active Learning (AL) addresses this by iteratively selecting the most informative samples for expert annotation. Most existing AL algorithms operate under a "closed-set" assumption, assuming every image in the unlabeled pool belongs to a target class.

In clinical practice, this assumption is rarely met. When Whole Slide Images (WSIs) are processed into patches, the resulting pool contains target classes (e.g., tumor cells, lymphocytes) alongside a massive volume of "distractor" data (e.g., stroma, mucus, or background). Standard AL methods often perceive these irrelevant samples as highly "uncertain," leading them to waste annotation budgets on data that does not improve the classifier's performance. OpenAL is designed to navigate this messy reality.

Methodology

OpenAL employs a two-stage approach to isolate high-value samples from the noisy unlabeled pool.

1. Self-Supervised Pre-training

Before the annotation process begins, the framework utilizes DINO (a self-supervised learning method) to train a feature extractor on the entire unlabeled pool. This step allows the model to develop a "biological intuition" for the tissue patches, learning robust visual characteristics without requiring any manual labels.

2. Stage 1: Feature-based Target Sample Selection (FTSS)

The FTSS stage acts as a filter to separate target classes from distractors. The model maps all samples into a latent feature space and calculates two primary metrics:

  • $s_t$: The Mahalanobis distance to known target class clusters.
  • $s_w$: The distance to known non-target clusters (grouped via K-means).

A scoring function, $s_i = s_t - s_w$, identifies samples that are close to target clusters but far from distractors. This "push-pull" mechanism ensures the creation of a high-quality candidate set.

3. Stage 2: Model-based Informative Sample Selection (MISS)

Once the candidate set is filtered, the model applies an entropy-based uncertainty measure. This stage ensures that the expert annotates the most difficult and informative samples within the target categories, rather than simply labeling "easy" targets that the model already understands.

Experimental Setup

The framework was evaluated using the NCT-CRC-HE-100K dataset, which contains 100,000 colorectal cancer pathology image patches. To simulate an open-set environment, the authors designated Tumor, Lymphocytes, and Normal Mucosa as target classes, while treating the remaining six categories (Adipose, Background, Debris, Mucus, Muscle, and Stroma) as non-target classes. The experiments tested two matching ratios (the proportion of target samples in the pool): 33% and 42%.

Results and Discussion

OpenAL significantly outperformed standard AL methods (such as Coreset and Uncertainty sampling) and the previous state-of-the-art open-set specialist, LfOSA.

Precision and Accuracy

OpenAL demonstrated much higher query precision, meaning a significantly higher percentage of samples sent to the pathologist were relevant target classes. Consequently, the accuracy curve for OpenAL climbed faster and reached higher peaks than competitors under the same annotation budget. For instance, at a 33% matching ratio, OpenAL maintained a clear performance lead throughout the querying process.

Class Balance and Robustness

A key finding was OpenAL's ability to maintain balance across target classes. While previous methods like LfOSA often suffered from "mode collapse"—ignoring certain target classes for several rounds—OpenAL consistently queried a diverse range of target samples. Ablation studies further confirmed that both the target distance ($s_t$) and non-target distance ($s_w$) components are essential for the framework's success.

Conclusion

OpenAL provides a robust solution for the open-set challenges inherent in pathology image classification. By leveraging self-supervised pre-training and a dual-stage selection process, it ensures that annotation efforts are focused on the most relevant and informative data. While the method currently requires a small initial labeled set (1%) and a fixed number of clusters for distractors, it represents a significant step toward more efficient and realistic active learning in medical diagnostics. Future work will explore adaptive clustering and "zero-shot" initialization to further refine the framework.

Summary updated

BibTeX
@inproceedings{qu2023openal,
  author = {Linhao Qu and Yingfan Ma and Zhiwei Yang and Manning Wang and Zhijian Song},
  title = {{OpenAL: An Efficient Deep Active Learning Framework for Open-Set Pathology Image Classification}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2023},
  doi = {10.1007/978-3-031-43895-0\_1},
}
Figure