Intention-aware Feature Propagation Network for Interactive Segmentation

Chuyu Zhang, Chuanyang Hu, Yongfei Liu, Xuming He · DOI

Abstract

Interactive image segmentation is a critical task in computer vision that requires efficient propagation of sparse user feedback to generate accurate object masks. Traditional approaches often face a trade-off between the long-range dependency modeling of dense graphs and the computational efficiency required for high-resolution processing. We present the Cascaded Sparse Feature Propagation (CSFP) network, a novel architecture designed to spread user click information across an image using a computationally efficient sparse graph design. By focusing propagation on user-clicked points as source nodes, CSFP reduces complexity from quadratic to linear, enabling high-resolution feature processing. Our results demonstrate that CSFP achieves state-of-the-art performance across several benchmarks, including DAVIS and SBD, providing sharper boundaries with significantly fewer user interactions.

Introduction

Interactive segmentation involves a "human-in-the-loop" process where users provide point clicks to designate foreground and background regions. The primary challenge lies in effectively propagating these sparse signals to the rest of the image. Existing methods typically suffer from two main limitations: standard CNNs struggle with long-range dependencies, leading to incomplete masks, while dense graph-based or Transformer models are computationally expensive ($O(N^2)$ complexity). This expense often forces models to operate at low resolutions, resulting in blurry and imprecise object boundaries.

Cascaded Sparse Feature Propagation (CSFP)

The CSFP network addresses these challenges through a two-stage approach that leverages the inherent sparsity of user interactions to maintain high resolution without excessive computational overhead.

Overview of the CSFP model architecture, showing the propagation of user clicks through the sparse graph modules to the final decoder output.

Sparse Graph sub-Module (SGM)

Instead of a fully connected graph where every pixel communicates with every other pixel, the SGM treats only the user-clicked points as source nodes. These sources propagate the user's "intent" to all other pixels in the image. This design reduces computational complexity to $O(MN)$, where $M$ is the number of clicks and $N$ is the number of pixels. The SGM operates on low-resolution, high-level semantic features to establish a global understanding of the target object.

High-res Sparse Graph sub-Module (HSGM)

The output of the SGM is upsampled and fused with low-level, high-resolution features. A second sparse graph, the HSGM, then refines the object details. Because of the sparse design, the model can handle feature maps at half the original image resolution, a feat typically impossible for dense graph architectures.

Global-to-Local Strategy

To further enhance precision, the model employs a global-to-local strategy. It first segments the entire image and then automatically "zooms in" on the target object for a second, detailed pass. This mimics a human editor's workflow, focusing on specific areas to clean up edges and fine details.

Key Results and Evaluation

The CSFP network was evaluated on standard benchmarks including GrabCut, Berkeley, DAVIS, COCO, and SBD. The model consistently achieved state-of-the-art (SOTA) results, requiring the fewest clicks to reach high accuracy thresholds.

Comparison of the proposed CSFP network (Ours) against state-of-the-art methods across multiple benchmarks. The table highlights the Number of Clicks (NoC) required to reach specific IoU thresholds.
  • Interaction Efficiency: On the Berkeley dataset, the model achieved a 90% Intersection over Union (IoU) with an average of only 2.86 clicks.
  • Boundary Precision: CSFP outperformed previous leaders like FocusCut and CDNet on the DAVIS dataset, particularly in preserving fine-grained details.
  • Comparison with SAM: Notably, CSFP outperformed the Segment Anything Model (SAM) in early-stage interactions on specific benchmarks. For instance, on the DAVIS dataset (NoC@85), the HRNet-18 based CSFP model achieved a score of 4.03 compared to SAM's 4.21.
  • Computational Efficiency: The sparse architecture is significantly more efficient than dense alternatives. At high resolutions, the sparse design used approximately 531 GFLOPs, compared to 1510 GFLOPs for a dense graph version.

Conclusion and Future Work

The CSFP network demonstrates that sparsity is a significant strength in interactive segmentation. By treating user clicks as the primary information senders, the model can afford high-resolution propagation, which is essential for reducing the number of interactions needed for high-quality masks.

While highly effective, the model's performance remains dependent on the quality of features from its backbone (e.g., HRNet or DeepLabV3+). Additionally, current training relies on simulated clicks, which may not fully capture the variability of real-world human behavior. Future research could involve integrating sparse propagation logic into larger foundation models to further advance real-time, high-precision image editing.

Summary updated

BibTeX
@misc{zhang2022intention,
  author = {Chuyu Zhang and Chuanyang Hu and Yongfei Liu and Xuming He},
  title = {{Intention-aware Feature Propagation Network for Interactive Segmentation}},
  year = {2022},
  eprint = {2203.05145},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.05145},
}
Figure