Two-Step Active Learning for Instance Segmentation with Uncertainty and Diversity Sampling

Ke Yu, Stephen Albro, Giulia DeSalvo, Suraj Kothawade, Abdullah Rashwan, Sasan Tavakkol, Kayhan Batmanghelich, Xiaoqi YinarXiv 2023 · DOI

Abstract

Labeling images for instance segmentation is a resource-intensive process, requiring precise pixel-level masks for every object. This paper introduces TAUDIS (Two-step Active learning for Uncertainty and Diversity sampling for Instance Segmentation), a framework designed to optimize labeling efficiency. By prioritizing individual object instances over entire images and balancing model uncertainty with data diversity, TAUDIS achieves significant performance gains. Notably, on overhead imagery datasets, TAUDIS demonstrates a fivefold increase in labeling efficiency compared to random sampling strategies.

Introduction

Instance segmentation—the task of identifying and masking every individual object in an image—represents a major bottleneck in computer vision development. Unlike image classification, which requires a single label per image, instance segmentation demands that human annotators trace the exact outlines of every object of interest.

Active Learning (AL) offers a potential solution by allowing models to select the most informative data for labeling. However, applying AL to instance segmentation is challenging due to the complexity of the output (class, bounding box, and mask) and the inherent redundancy in large datasets. A model might be uncertain about many similar objects, leading to redundant labeling. TAUDIS addresses these challenges by focusing on instance-level features and a two-stage selection process.

The TAUDIS Framework

The TAUDIS framework: Step 1 identifies uncertain instances, and Step 2 selects a diverse subset from them using instance embeddings.

TAUDIS operates through a two-step selection cycle designed to maximize the information gain from each newly labeled image:

  1. Step 1: Uncertainty Sampling: The model evaluates unlabeled images to identify "uncertain" object instances. Through empirical testing, the authors determined that Segmentation Entropy—a measure of the model's uncertainty regarding the pixel-level mask—is the most effective metric for this stage.
  2. Step 2: Diversity Sampling: To prevent the selection of redundant data, TAUDIS employs a graph-based maximum set cover algorithm. It analyzes the mathematical "embeddings" (feature signatures) of the uncertain instances identified in Step 1 and selects a subset that represents the broadest variety of visual features.

Finally, the framework uses Majority Vote Aggregation to select the actual images for human annotation. This step prioritizes images containing the highest density of these "uncertain-yet-diverse" instances, ensuring that every labeling hour is spent on the most valuable data.

Experimental Evaluation

The researchers evaluated TAUDIS on two distinct benchmarks to test its versatility:

  • MS-COCO: The standard industry benchmark for general object detection and segmentation, featuring common objects like animals, people, and household items.
  • OVERHEAD: A challenging dataset of high-resolution satellite imagery for building segmentation. This dataset is characterized by a high density of similar-looking objects, making redundancy a significant hurdle for standard AL methods.

Key Results and Insights

Performance comparison on (a) MS-COCO and (b) OVERHEAD datasets. TAUDIS consistently outperforms standard active learning baselines.

Efficiency Gains

On the OVERHEAD dataset, TAUDIS demonstrated a massive 5x efficiency gain. The model reached a performance threshold with only 10,000 labeled images that required 45,000 images under a random sampling strategy. On MS-COCO, TAUDIS consistently outperformed standard baselines such as "Coreset" (diversity-only) and "Entropy" (uncertainty-only), particularly in the early stages of training when labeled data is most scarce.

Instance-Level Granularity

A core finding of the paper is that instance-level features are superior to image-level features for driving diversity in segmentation tasks. By looking at the objects within an image, TAUDIS avoids the "Small Pedestrian Trap," where pure uncertainty sampling gets stuck on repetitive, hard-to-label cases that do not contribute to the model's general understanding of the data manifold.

The Power of Segmentation Entropy

While classification margin is a popular metric for simpler tasks, this research highlights that measuring uncertainty at the pixel-mask level is significantly more effective for training high-quality segmentation models. This granular approach allows the model to identify specifically where its spatial understanding is weakest.

Conclusion and Future Work

TAUDIS represents a significant step forward in making instance segmentation more scalable. While the method currently requires an initial "seed" of labeled data and introduces some computational overhead during the selection phase, the trade-off is a dramatic reduction in human labeling costs.

Future research directions include extending the TAUDIS logic to Panoptic Segmentation (combining instance and semantic segmentation) and exploring the use of transformer-based architectures, such as Mask2Former, to generate even richer embeddings for the diversity sampling stage.

Summary updated

BibTeX
@misc{yu2023two,
  author = {Ke Yu and Stephen Albro and Giulia DeSalvo and Suraj Kothawade and Abdullah Rashwan and Sasan Tavakkol and Kayhan Batmanghelich and Xiaoqi Yin},
  title = {{Two-Step Active Learning for Instance Segmentation with Uncertainty and Diversity Sampling}},
  year = {2023},
  eprint = {2309.16139},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.16139},
}
Figure