NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Predicting Sufficient Annotation Strength for Interactive Foreground Segmentation

Suyog Dutt Jain, Kristen GraumanICCV 2013

Abstract

The mode of manual annotation used in an interactive segmentation algorithm affects both its accuracy and ease-of-use. For example, bounding boxes are fast to supply, yet may be too coarse to get good results on difficult images; freehand outlines are slower and more specific, yet they may be overkill for simple images. Whereas existing methods assume a fixed form of input regardless of the image, we propose to predict the tradeoff between accuracy and effort. Our approach learns whether a graph cuts segmentation will succeed if initialized with a given annotation mode, based on the image's visual separability and foreground uncertainty. Using these predictions, we optimize the mode of input requested on new images. Whether given a single image to be segmented quickly or a batch of images within a time budget, we show how to select the easiest modality that will be sufficiently strong to yield high-quality segmentations. Extensive results with real users and three datasets demonstrate the impact.

1. Introduction

Interactive foreground segmentation is a collaborative process between a human user and a computer algorithm. The human provides high-level semantic guidance, while the algorithm handles the low-level task of identifying precise pixel boundaries. A significant inefficiency in current interactive tools is their reliance on a "one-size-fits-all" approach to user input. For instance, popular algorithms like GrabCut always require a bounding box initialization.

The problem with this approach is that a bounding box is often insufficient for objects with complex shapes or those that blend into their backgrounds, leading to poor segmentation results. Conversely, requiring a detailed manual trace for every image is a waste of human labor if a simple box would have sufficed. We propose a framework to predict the "sufficient annotation strength" required for a given image before the user provides any input. By automatically selecting the easiest modality likely to yield a high-quality result, we optimize the tradeoff between human effort and algorithmic accuracy.

Figure 1: Examples of varying segmentation difficulty. While a bounding box (third column) suffices for the flower (top), it fails for the more complex cross (middle) and bird (bottom), where a sloppy contour (fourth column) is required for success.

2. Methodology

Our approach categorizes images based on their predicted difficulty for specific annotation types, aiming for a "one-shot" success where the first interaction is sufficient.

2.1 Annotation Modalities

We define and evaluate three distinct levels of human effort, or "annotation strength":

  • Bounding Box: The fastest modality, providing a coarse rectangular region around the object.
  • Sloppy Contour: A rough, freehand trace of the object. In our experiments, this is simulated by dilating the ground truth mask to represent a quick user outline.
  • Tight Polygon: A detailed manual trace, assumed to be perfectly accurate but significantly more time-consuming to produce.
Figure 2: The three annotation modalities used in this study: Bounding Box (left), Sloppy Contour (middle), and Tight Polygon (right).

2.2 Feature Extraction and Difficulty Prediction

A critical challenge is predicting difficulty before the user provides any input. We address this by using a saliency detector to generate an initial "rough guess" of the object's location. From this estimate, we extract 17 features designed to capture the challenges a graph-cut algorithm might face:

  • Color Separability: We measure the distance between foreground and background color histograms. High overlap suggests a difficult segmentation.
  • Edge Complexity: We analyze the distribution of gradient orientations to identify distracting background textures.
  • Label Uncertainty: By applying dynamic graph cuts to the saliency map, we measure how "unsure" the algorithm is about pixel assignments.

These features are used to train SVM classifiers that predict whether a Bounding Box or Sloppy Contour will result in a successful segmentation (defined as >0.85 Jaccard overlap with ground truth).

2.3 Budget Optimization

For large-scale tasks involving batches of images, we formulate an Integer Linear Program (ILP). This optimizes the mix of annotation types across the dataset to maximize total accuracy without exceeding a fixed time budget.

3. Experimental Evaluation

The proposed method was evaluated on three diverse datasets: Interactive Image Segmentation (IIS), MSRC, and CMU-Cornell iCoseg. We also conducted a user study with 101 participants on Amazon Mechanical Turk, collecting 2,100 manual annotations to validate our time-cost assumptions.

3.1 Key Results

  • Efficiency Gains: In a test of 1,351 images, our method achieved a 90% average overlap while saving 2.25 hours of human effort compared to the best fixed-modality baseline.
  • Generalization: Our predictive features focus on low-level properties rather than object semantics, allowing models trained on one dataset to generalize successfully to others.
  • Recognition Impact: When gathering training data for an object recognizer, our method saved up to 73% of annotation time (e.g., for the "Flower" category) with virtually no loss in the resulting classifier's accuracy.
  • User Validation: Real-world testing confirmed that "sloppy contours" are a viable middle ground, providing better accuracy than boxes (85.5% vs 82.1%) while being much faster than tight polygons.

4. Conclusion

By predicting the necessary annotation strength upfront, we move away from inefficient "one-size-fits-all" interactive segmentation. This approach ensures that users provide only as much effort as is required for a successful result. Future work will explore incorporating additional modalities, such as scribbles, and developing dynamic models that update difficulty estimates in real-time as user input is received.

Summary updated

BibTeX
@inproceedings{jain2013predicting,
  author = {Suyog Dutt Jain and Kristen Grauman},
  title = {{Predicting Sufficient Annotation Strength for Interactive Foreground Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2013},
  url = {https://openreview.net/forum?id=SJVAb-fuZr},
}
Figure