Rethinking Interactive Image Segmentation: Feature Space Annotation

Jordão Bragantini, Alexandre X. Falcão, Laurent Najman · DOI

Introduction

Deep learning models for computer vision require vast amounts of pixel-level annotated data. However, traditional interactive segmentation tools—such as polygon drawers or "magic wands"—are designed for a microtask workflow, focusing on one object in one image at a time. This paper introduces a paradigm shift: annotating image segments in a projected 2D "feature space." By grouping similar objects from across an entire dataset into a single interactive canvas, the proposed method achieves a 74.75x speedup in annotating complex datasets like Cityscapes.

Methodology: The Feature Space Pipeline

The core innovation lies in moving the human-computer interaction from the image domain to a semantic feature domain.

The proposed pipeline: Input images are partitioned, features are extracted and projected into a 2D space for interactive clustering, resulting in final semantic labels.

The workflow consists of six primary stages:

  1. Image Partitioning: Images are decomposed into candidate segments using a hierarchical watershed framework guided by deep-learning-based edge detection (PoolNet).
  2. Feature Extraction: A pre-trained Convolutional Neural Network (HRNet) extracts high-dimensional semantic features for each segment.
  3. Dimensionality Reduction: Using UMAP, these features are projected onto a 2D canvas, causing similar segments (e.g., cars, trees) to cluster naturally.
  4. Interactive Annotation: Users draw boxes around clusters in the 2D space to assign labels to hundreds of segments simultaneously.
  5. Metric Learning: As labels are provided, the system uses a large-margin loss to update the feature space, pushing different classes apart and pulling similar ones together.
  6. Refinement: Users can revert to the image domain for fine-grained, click-based corrections if a segment is poorly delineated.

Experimental Results

The researchers evaluated the system across diverse datasets, including CMU-Cornell iCoSeg, DAVIS, and remote sensing (Rooftop). The most significant results were observed on the Cityscapes dataset, a benchmark for autonomous driving.

  • Massive Speedup: The method achieved 91.5% accuracy while being 74.75 times faster than the original manual annotation procedure.
  • Efficiency: For the Cityscapes validation set (98 images), the task was completed in roughly 2 hours, whereas traditional methods would have taken over 6 days of human effort.
  • Competitive Quality: In foreground segmentation tasks, the feature space approach achieved Intersection over Union (IoU) scores comparable to state-of-the-art deep learning methods like f-BRS and FCANet.

Discussion and Key Insights

The "Semantic Canvas" approach treats annotation as a global task rather than a local one. By leveraging pre-trained visual features, the system allows the user to act as a curator of a semantic space rather than a manual tracer.

Interactive annotation in the feature space allows for bulk labeling of semantically similar objects across multiple images, significantly reducing the cost per click.

While highly efficient, the system's performance is currently bounded by the quality of the initial unsupervised watershed segmentation. If segments are poorly partitioned (e.g., merging a car with the road), manual correction is required. Future work may involve integrating modern CNN-based refinement tools or implementing "Parametric UMAP" to unify feature extraction and embedding into a single, end-to-end trainable procedure.

Summary updated

BibTeX
@article{bragantini2021rethinking,
  author = {Jordão Bragantini and Alexandre X. Falcão and Laurent Najman},
  title = {{Rethinking Interactive Image Segmentation: Feature Space Annotation}},
  journal = {Pattern Recognition},
  year = {2021},
  doi = {10.1016/j.patcog.2022.108882},
}
Figure