Deep Active Learning for Joint Classification & Segmentation with Weak Annotator

Soufiane Belharbi, Ismail Ben Ayed, Luke McCaffrey, Eric Granger

Introduction

This research introduces a novel Active Learning (AL) framework that significantly improves image segmentation accuracy by treating the model itself as a "weak annotator." By combining a small number of expert-provided pixel masks with a large number of model-generated "pseudo-segmentations" from similar unlabeled images, the approach outperforms state-of-the-art weakly-supervised methods and standard active learning protocols.

In computer vision, an "annotation gap" exists between relatively inexpensive image-level labels and extremely costly pixel-level masks. This is particularly acute in specialized fields like medical histology, where only trained pathologists can provide accurate annotations. While Weakly-Supervised Learning (WSL) methods like Class Activation Maps (CAMs) generate segmentations from image-level labels, they often lack precision. Standard Active Learning (AL) selects informative samples for expert labeling but typically leaves the remaining unlabeled data unused during the training process.

Methodology

The authors propose a joint architecture and a unique training loop called Label_prop. The model utilizes a shared ResNet backbone branching into two heads: a classification head and a U-Net-style segmentation head. This dual-task setup allows the model to learn general features for classification while simultaneously refining pixel-level predictions.

The core innovation lies in the "Weak Annotator" concept. In each AL round, after the oracle (expert) provides masks for selected images, the model identifies visually similar unlabeled images using $k$-nearest neighbors based on color distribution. The model then generates its own segmentation masks—"pseudo-labels"—for these similar images. These masks, though potentially less accurate than expert labels, provide a dense training signal that enhances generalization significantly faster than using oracle labels alone.

Comparison of standard Active Learning (AL) and the proposed AL framework incorporating pseudo-labeling.

The training objective combines a standard segmentation loss for oracle-labeled samples and a weighted loss for pseudo-labeled samples, controlled by a hyperparameter $\lambda$.

Experimental Setup

The framework was evaluated on two distinct and challenging benchmarks:

  • GlaS (Gland Segmentation): A medical dataset of 165 high-resolution histology images for colon cancer diagnosis, where precise gland segmentation is critical.
  • CUB-200-2011: A natural image dataset featuring ~11,000 images of 200 bird species, used to test fine-grained classification and object localization.

Results and Discussion

The Label_prop method demonstrated dominant performance across both datasets. On the GlaS dataset, it reached an average Dice index of 81.48%, significantly higher than the pure WSL baseline (~66%) and standard AL methods (~78-79%) with the same budget. On the CUB dataset, it achieved a Dice index of 71.73%, nearly doubling the performance of the initial weakly-supervised model (~39%).

Dice index performance on the GlaS dataset, showing the superiority of the Label_prop method over standard AL baselines.

Key insights from the study include:

  • Unlabeled Data Utilization: Unlike standard AL, which treats unlabeled data as a menu to pick from, this framework treats it as a secondary source of supervision via self-learning.
  • Proximity Assumption: The method effectively leverages the assumption that visually similar images should have similar segmentation outputs, allowing the model to propagate its learning to "nearby" samples.
  • Algorithmic Simplicity: Interestingly, the pseudo-labeling approach outperformed complex AL selection strategies (like Entropy-based or MC Dropout) even when using random sample selection for the oracle, suggesting that the dense signal from pseudo-labels is more impactful than the selection strategy itself.

Conclusion

Current limitations include sensitivity to hyperparameters $k$ and $\lambda$, and the reliance on color-based similarity metrics. Future work may explore dynamic update protocols for these parameters and more sophisticated feature-based similarity measures to handle more complex datasets. Despite the computational overhead of $k$-NN and pseudo-label generation, the reduction in human annotation time makes this a highly practical approach for specialized domains like medical imaging.

Summary updated

BibTeX
@inproceedings{belharbi2021deep,
  author = {Soufiane Belharbi and Ismail Ben Ayed and Luke McCaffrey and Eric Granger},
  title = {{Deep Active Learning for Joint Classification \& Segmentation with Weak Annotator}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  doi = {10.1109/wacv48630.2021.00338},
}
Figure