Introduction
Semantic segmentation—the process of assigning a specific class label to every pixel in an image—is a foundational task in computer vision, essential for applications ranging from autonomous driving to medical imaging. However, the high performance of modern deep learning models in this domain relies heavily on massive, pixel-perfect datasets. Creating these datasets is notoriously labor-intensive and expensive.
Active Learning (AL) seeks to mitigate this cost by identifying the most informative data points for a human "oracle" to label. While recent AL research has shifted from labeling whole images or single pixels to labeling local regions (superpixels), these methods typically ask the oracle to identify only the "dominant" class in a region. This paper, presented at NeurIPS 2023, argues that this standard approach is fundamentally flawed and proposes a more efficient alternative: the Multi-class Label Query.
The Limitations of Dominant Class Queries
Traditional region-based AL methods assume that asking for the dominant class in a superpixel is the most efficient way to gather supervision. The authors identify two primary issues with this assumption:
- High Cognitive Load: Determining which class occupies the largest area in a cluttered or complex region is mentally taxing for human annotators. This "calculation" step slows down the labeling process.
- Label Noise: Superpixels often cross object boundaries. When an oracle assigns a single dominant label to a region containing multiple classes, the pixels belonging to the non-dominant classes receive incorrect supervision, leading to noisy gradients during training.
Proposed Method: Multi-class Label Querying
To address these flaws, the researchers introduce a framework where the oracle provides a multi-hot vector—simply checking boxes for every class present in a region—rather than selecting just one. Surprisingly, a user study conducted by the authors revealed that this is faster per click than dominant-class labeling because it eliminates the need for the human to estimate area proportions.
Two-Stage Training Framework
Because a multi-class label does not explicitly state which pixel belongs to which class, the authors developed a two-stage approach to handle the resulting ambiguity.
Stage 1: Learning with Ambiguity The model is trained using two specialized loss functions designed for partial supervision:
- Merged Positive Loss: This encourages pixels within a queried region to predict any of the classes identified by the oracle.
- Prototypical Pixel Loss: Drawing on Multiple Instance Learning (MIL), the model identifies the most "representative" pixel for each class within a region. These pixels act as temporary "anchors" or prototypes to guide the initial learning phase.
Stage 2: Disambiguation and Expansion Once the model has learned basic features, it begins to refine its own supervision:
- Intra-region Localization: The model uses the prototypes from Stage 1 to assign specific, disambiguated labels to every pixel within the queried regions.
- Label Expansion: The model propagates these high-confidence labels to adjacent, unlabeled regions using a class-adaptive threshold. This effectively generates "free" supervision for areas the human oracle never inspected.
The PixBal Acquisition Function
To select the most useful regions for the next round of labeling, the authors propose PixBal. This acquisition function balances two critical factors:
- Uncertainty: Prioritizing regions where the model’s current predictions are most confused.
- Class Balance: Ensuring that rare but critical classes (such as "pedestrians" or "poles") are adequately represented in the training set, preventing them from being overshadowed by common classes like "road" or "sky."
Experimental Results
The method was rigorously evaluated on the Cityscapes (urban street scenes) and PASCAL VOC 2012 (general objects) benchmarks.
- Efficiency Gains: On the Cityscapes dataset, the proposed method achieved 95% of the performance (mIoU) of a fully supervised model while using only 4% of the total annotation cost.
- Superiority over Baselines: The multi-class approach consistently outperformed state-of-the-art dominant-class methods. For instance, at a budget of 200k clicks, this method reached a level of accuracy that the baseline required 500k clicks to achieve.
- Robustness: Unlike previous methods that fail when superpixels are "messy" or poorly segmented, this approach is inherently robust because it expects and accounts for the presence of multiple classes within a single query region.
Conclusion and Future Work
The core insight of this research is the "Efficiency Paradox": asking humans for more information (all classes present) can actually be faster and more effective than asking for less (the dominant class). By aligning the query design with human cognitive strengths and using a robust two-stage disambiguation process, the authors have significantly lowered the barrier to training high-quality segmentation models.
Future work may involve moving away from fixed geometric superpixels toward learned over-segmentation, where the model dynamically determines the most informative regions to query based on its internal feature representations.
Summary updated