Deep Interactive Object Selection

Ning Xu, Brian L. Price, Scott Cohen, Jimei Yang, Thomas S. Huang

Abstract

Interactive object selection is a fundamental task in computer vision, enabling users to extract objects from complex scenes with minimal input. Traditional methods, such as Graph Cuts and Random Walks, rely on low-level features like color and texture, often requiring extensive manual interaction to resolve ambiguities. This paper introduces the first deep learning-based approach to interactive segmentation. By transforming user clicks into Euclidean distance maps and integrating them into a 5-channel input for a Fully Convolutional Network (FCN), we leverage high-level semantic features. Our method achieves state-of-the-art results with significantly fewer interactions and demonstrates robust generalization to object categories not seen during training.

Introduction

The task of interactive object selection allows a user to isolate a foreground object by providing simple seeds, such as clicks or scribbles. Historically, this field has been dominated by "shallow" algorithms that lack a semantic understanding of what constitutes an "object." Consequently, these methods often struggle with internal color variations or complex backgrounds, leading to a tedious user experience. We propose to bridge this gap by using a deep FCN to capture the "objectness" of the target. By treating user interactions as spatial constraints within a deep learning framework, we can produce high-quality segmentations with a fraction of the effort required by previous techniques.

Methodology

The core innovation of this work is the method by which discrete user interactions are converted into a format suitable for deep neural networks.

Input Transformation and Architecture

To incorporate user intent, we convert positive (foreground) and negative (background) clicks into two separate Euclidean distance maps. These maps are concatenated with the original RGB channels to create a 5-channel input ($R, G, B, Dist_{pos}, Dist_{neg}$). This representation allows the network to learn the spatial relationship between the user's clicks and the image features.

The proposed deep interactive selection pipeline, illustrating the transformation of user clicks into distance maps and the subsequent processing by the FCN to produce a segmentation mask.

We employ a pre-trained FCN-8s architecture, fine-tuned specifically for this task. The network's ability to perform dense, pixel-wise prediction makes it ideal for generating object masks from sparse inputs.

Training via Simulated Interactions

Training a deep model for interactive tasks typically requires a massive amount of human interaction data. To circumvent this, we developed three automated sampling strategies to simulate human clicking behavior:

  1. Random Sampling: Clicks are placed randomly within the object and background regions.
  2. Distractor Sampling: Clicks are placed on other objects in the image to help the model learn to distinguish the target from similar-looking entities.
  3. Boundary Sampling: Clicks are placed sequentially to help the model refine the object's edges.
Visual representation of simulated user interaction strategies used during the training phase to mimic human behavior.

Boundary Refinement

While FCNs are excellent at capturing semantics, they often produce blurry boundaries due to downsampling layers. To achieve pixel-perfect results, we use the FCN's probability map as the unary potential in a traditional Graph Cut framework. This allows the final segmentation to "snap" to the high-resolution edges present in the original image.

Results and Discussion

We evaluated our model on several standard benchmarks, including PASCAL VOC 2012, Grabcut, Berkeley, and MS COCO.

  • Interaction Efficiency: On the PASCAL dataset, our method requires an average of only 6.88 clicks to reach an 85% Intersection over Union (IU) score. In contrast, traditional methods like Graph Cut or Random Walker require between 11 and 15 clicks to achieve the same accuracy.
  • Generalization to Unseen Objects: A key finding is the model's ability to generalize. When tested on 60 "unseen" categories in MS COCO, the model achieved 42.94% IU with just a single click, significantly outperforming standard semantic segmentation models which failed to recognize the novel classes.
  • Real-time Performance: The system is highly efficient, with FCN inference taking less than 100ms on a modern GPU, enabling a fluid and responsive user experience.

Conclusion

Deep Interactive Object Selection represents a significant shift in the field of interactive segmentation. By replacing low-level heuristics with a semantically aware deep network, we drastically reduce the manual effort required for object extraction. While the model currently faces challenges with very thin structures, it sets a new standard for performance and generalization. Future research will explore end-to-end architectures that integrate boundary refinement directly into the network training process.

Summary updated

BibTeX
@inproceedings{xu2016deep,
  author = {Ning Xu and Brian L. Price and Scott Cohen and Jimei Yang and Thomas S. Huang},
  title = {{Deep Interactive Object Selection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.47},
}
Figure