Introduction
Training deep learning models for pathology requires massive amounts of expert-annotated data. Active Learning (AL) offers a solution by selecting only the most informative images for labeling. However, traditional AL faces two significant hurdles in clinical pathology: the Open-Set Problem and the Cold Start Problem.
In real-world "Whole Slide Images," many tissue types are irrelevant (e.g., muscle, fat) to the specific diagnostic task. Traditional AL often mistakenly selects these "Out-of-Distribution" (OOD) samples, wasting expert time. Furthermore, most AL methods start with a random initial batch, which in an open-set environment is often dominated by "garbage" OOD data, leading to a weak initial model. OpenPath addresses these issues by leveraging pre-trained Vision-Language Models (VLMs) and LLM-generated prompts to filter data from the very first round.
Methodology
OpenPath operates in two distinct phases to ensure high data purity and informativeness throughout the active learning process.
Phase 1: VLM-based Warm-up (Round 1)
To overcome the cold start problem, OpenPath utilizes BioMedCLIP, a VLM pre-trained on medical image-text pairs. The process begins with GPT-4 generating task-specific prompts for both In-Distribution (ID) target classes and potential OOD tissue types. The VLM then performs zero-shot filtering by comparing unlabeled images against these prompts. Only images identified as highly likely to be ID are considered for the initial round of expert labeling, ensuring a strong starting model.
Phase 2: Diverse Informative ID Sampling (Subsequent Rounds)
Once an initial model is established, OpenPath employs a two-step selection strategy:
- Prototype-based ID candidate Selection (PIS): The model calculates "prototypes" (centroid features) for each target class. It filters the unlabeled pool by retaining only samples close to these ID prototypes, effectively discarding OOD candidates.
- Entropy-Guided Stochastic Sampling (EGSS): To ensure the selected batch is both informative and diverse, OpenPath divides the ID candidates into random batches and selects the most uncertain (highest entropy) image from each. This prevents the selection of redundant, similar images.
Experimental Results
The framework was evaluated on two pathology benchmarks: CRC100K (colorectal cancer) and SkinTissue (imbalanced skin cancer). OpenPath consistently outperformed state-of-the-art methods like LfOSA and OpenAL.
On the CRC100K dataset, OpenPath achieved a query precision (purity) of 78.00% in the first round, significantly higher than the 33.60% achieved by random selection. By the fifth round, OpenPath reached 97.70% accuracy, nearly matching the upper bound of 98.40% achieved by training on the full labeled dataset. Similar trends were observed on the highly imbalanced SkinTissue dataset, where OpenPath maintained superior ID sample selection and accuracy across all rounds.
Discussion and Conclusion
OpenPath demonstrates that VLMs can act as effective "gatekeepers" in active learning, bridging the gap before labels exist. By using LLMs to anticipate irrelevant data, the framework filters the unlabeled pool before human annotation begins. A key finding is that simple uncertainty-based sampling (high entropy) often fails in open-set scenarios because models are frequently most uncertain about OOD noise. OpenPath mitigates this by prioritizing "purity" via prototypes and "informativeness" via entropy-guided batching.
While OpenPath relies on the quality of pre-trained models like BioMedCLIP and GPT-4, it significantly reduces the annotation burden for pathologists. Future work will explore its application across a broader range of medical imaging modalities and datasets.
Summary updated