Abstract
In this paper, we tackle the task of interactive object segmentation. We revive the old ideas on level set segmentation which framed object annotation as curve evolution. Carefully designed energy functions ensured that the curve was well aligned with image boundaries, and generally "well behaved". The Level Set Method can handle objects with complex shapes and topological changes such as merging and splitting, thus able to deal with occluded objects and objects with holes. We propose Deep Extreme Level Set Evolution that combines powerful CNN models with level set optimization in an end-to-end fashion. Our method learns to predict evolution parameters conditioned on the image and evolves the predicted initial contour to produce the final result. We make our model interactive by incorporating user clicks on the extreme boundary points, following DEXTR. We show that our approach significantly outperforms DEXTR on the static Cityscapes dataset and the video segmentation benchmark DAVIS, and performs on par on PASCAL and SBD.
Introduction
High-quality dataset creation for computer vision is a bottleneck due to the time-intensive nature of manual annotation. Interactive segmentation tools aim to mitigate this by generating precise masks from minimal human input, such as a few clicks. Current approaches typically fall into two categories: polygon-based methods and pixel-wise labeling. Polygon-based methods produce clean boundaries but struggle with complex topologies, such as holes or occlusions that split an object into disconnected parts. Conversely, pixel-wise CNN-based methods are powerful but often yield noisy, jagged results lacking global boundary coherence.
Deep Extreme Level Set Evolution (DELSE) addresses these issues by integrating classical level set methods—where segmentation is viewed as a curve evolving over time—into a deep learning framework. This combination leverages the topological flexibility of level sets with the representational strength of CNNs.
Methodology
DELSE utilizes a multi-branch CNN (ResNet-101 with a PSP module) that processes an image alongside four user-provided extreme points (top, bottom, left, and right-most pixels). The architecture consists of three specialized branches:
- Level Set Branch: Predicts an initial Level Set Function (LSF) in the form of a Truncated Signed Distance Function (TSDF), representing pixel distance from the boundary.
- Motion Branch: Generates a vector field that directs the boundary curve's movement to align with object edges.
- Modulation Branch: Produces a scalar field to control local curvature, allowing for selective smoothing while preserving sharp features.
The entire evolution process is formulated to be end-to-end differentiable, enabling the network to learn the optimal "physics" for curve evolution. Furthermore, the system supports interactive "Motion Field Editing," where users can drag points to correct errors, inducing a local force in the motion field for re-evolution.
Experiments and Results
The model was evaluated on several benchmarks, including Cityscapes, PASCAL VOC 2012, SBD, and DAVIS 2016. On Cityscapes, DELSE achieved a state-of-the-art 83.35% mIoU, significantly surpassing DEXTR (81.59%) and Polygon-RNN++ (71.38% on the "Hard" split).
Key insights include:
- Topology Independence: The implicit curve representation allows for effortless splitting and merging, crucial for occluded objects.
- Learned Regularization: Unlike traditional methods with hand-crafted smoothing, DELSE learns where to smooth, preserving sharp corners.
- Efficiency: With a high-quality initial LSF, the model requires only five evolution steps, achieving a fast inference time of approximately 160ms per instance.
Conclusion
DELSE demonstrates that reviving classical level set ideas within a modern deep learning context can yield superior interactive segmentation results. While sensitive to label noise in datasets like PASCAL, its performance on high-quality datasets like Cityscapes and DAVIS highlights its potential. Future work includes exploring adaptive evolution steps and extending the framework to 3D volumetric data.
Summary updated