Interactive Image Segmentation via Backpropagating Refinement Scheme

Won-Dong Jang, Chang-Su KimCVPR 2019

Introduction

Interactive image segmentation is a critical task in computer vision, enabling users to guide algorithms toward precise object isolation through sparse annotations like clicks or scribbles. While deep learning has significantly advanced this field, standard convolutional neural networks (CNNs) often fail to strictly adhere to user-provided constraints. A common issue is that a pixel explicitly marked as "foreground" by a user may still be classified as "background" after a standard forward pass. Furthermore, the loss of spatial resolution in deep feature maps often results in blurry boundaries that lack fine detail.

Methodology

The proposed Backpropagating Refinement Scheme (BRS) addresses these challenges by treating user interactions as optimization constraints rather than static inputs. The framework consists of a specialized architecture and a novel iterative refinement process.

Network Architecture

The framework utilizes an encoder-decoder architecture based on DenseNet. It incorporates a "Coarse Decoder" to capture global object shape and a "Fine Decoder" that leverages skip connections to recover high-frequency spatial details. The input consists of the RGB image concatenated with two interaction maps—distance transforms representing the proximity of each pixel to the nearest foreground and background clicks.

Backpropagating Refinement Scheme (BRS)

The core innovation is the BRS, which ensures the network's output is consistent with user clicks. When a forward pass produces an error at a clicked location, the system performs an optimization step:

  1. Energy Minimization: An energy function is defined, combining "Corrective Energy" (the discrepancy between the prediction and user labels) and "Inertial Energy" (the degree of change in the interaction maps).
  2. Input Optimization: Unlike standard training, the network weights remain frozen. The error is backpropagated to the input interaction maps.
  3. Iterative Refinement: Using the L-BFGS algorithm, the interaction maps are iteratively updated until the network's prediction matches the user's labels at the specified points.
Overview of the BRS pipeline, showing the transition from interaction maps to the final segmentation mask through forward and backward passes.

This approach effectively "forces" the network to listen to the user. By slightly warping the distance maps, the network finds a path to the correct segmentation that it might have missed with the raw, unrefined input. This modularity is a key advantage; BRS can be integrated into existing segmentation models (like standard FCNs or U-Nets) without requiring additional training, simply by reconfiguring the input layer to accept interaction maps.

Experimental Results

The model was evaluated on several standard benchmarks, including GrabCut, Berkeley, DAVIS, and the Semantic Boundaries Dataset (SBD). The GrabCut benchmark (50 images) and Berkeley (100 masks) represent classic challenges, while DAVIS (345 video frames) tests performance on high-quality, complex scenes. The large-scale SBD dataset (6,671 masks) confirms the model's ability to generalize across a wide variety of object categories.

Performance Metrics

BRS demonstrates superior efficiency, requiring significantly fewer user interactions to achieve high-quality results. On the GrabCut dataset, the model reaches a 90% Intersection over Union (IoU) with an average of just 3.60 clicks, compared to 6.08 for Deep Object Selection (DOS) and 5.00 for Regional Interactive Segmentation (RIS).

Computational Efficiency

Despite the iterative nature of the refinement process, the system remains highly responsive. On a modern GPU, the optimization takes approximately 0.81 seconds per click, providing a near-real-time interactive experience.

Discussion and Conclusion

The primary insight of this work is the re-interpretation of user input as a variable for optimization. By allowing the network to "nudge" its own input maps, it can find a configuration that satisfies both its learned priors and the user's explicit constraints.

The backpropagating refinement step, where errors are sent back to the input layers to adjust the interaction maps.

While BRS offers guaranteed consistency and high accuracy, it does introduce additional computational overhead compared to pure feed-forward models. Future research may explore applying this "backpropagation to input" paradigm to other interactive tasks, such as image colorization or depth estimation, where user guidance is essential for high-fidelity results.

Summary updated

BibTeX
@inproceedings{jang2019interactive,
  author = {Won-Dong Jang and Chang-Su Kim},
  title = {{Interactive Image Segmentation via Backpropagating Refinement Scheme}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00544},
}
Figure