Skip to main content
QUICK REVIEW

[Paper Review] BoundarySqueeze: Image Segmentation as Boundary Squeezing

Hao He, Xiangtai Li|arXiv (Cornell University)|May 25, 2021
Advanced Neural Network ApplicationsComputer Science80 references8 citations
TL;DR

This paper proposes BoundarySqueeze, a novel image segmentation method that treats instance and semantic segmentation as a boundary squeezing process using dual-directional flow-based warping to refine mask boundaries. By leveraging morphological dilation/erosion as supervision, the lightweight Boundary Squeeze module improves boundary precision, achieving state-of-the-art performance on COCO and Cityscapes with gains of 1.0–1.1 mIoU over PointRend and faster inference.

ABSTRACT

This paper proposes a novel method for high-quality image segmentation of both objects and scenes. Inspired by the dilation and erosion operations in morphological image processing techniques, the pixel-level image segmentation problems are treated as squeezing object boundaries. From this perspective, a novel and efficient extbf{Boundary Squeeze} module is proposed. This module is used to squeeze the object boundary from both inner and outer directions, which contributes to precise mask representation. A bi-directionally flow-based warping process is proposed to generate such squeezed feature representation, and two specific loss signals are designed to supervise the squeezing process. The Boundary Squeeze module can be easily applied to both instance and semantic segmentation tasks as a plug-and-play module by building on top of some existing methods. Moreover, the proposed module is light-weighted, and thus has potential for practical usage. Experiment results show that our simple yet effective design can produce high-quality results on several different datasets. Besides, several other metrics on the boundary are used to prove the effectiveness of our method over previous work. Our approach yields significant improvement on challenging COCO and Cityscapes datasets for both instance and semantic segmentation, and outperforms previous state-of-the-art PointRend in both accuracy and speed under the same setting. Codes and models will be published at \url{https://github.com/lxtGH/BSSeg}.

Motivation & Objective

  • Address the challenge of imprecise boundary localization in deep learning-based image segmentation, especially for fine-grained object details.
  • Overcome limitations of existing methods like PointRend, which rely on non-uniform point sampling without structural guidance and fail on ambiguous boundaries.
  • Unify instance and semantic segmentation through a shared boundary-centric paradigm, inspired by morphological image processing.
  • Develop a plug-and-play module that enhances existing networks without architectural overhaul, improving both accuracy and efficiency.

Proposed method

  • Propose the Boundary Squeeze Module (BSM), a lightweight, end-to-end trainable component that performs boundary refinement via bidirectional flow-based feature warping.
  • Design a Squeezed Feature Generator (SFG) that learns contraction (outer-to-boundary) and expansion (inner-to-boundary) flows using flow-based warping of feature maps.
  • Use morphological dilation and erosion of ground-truth masks as supervisory signals for the two flow branches, enabling data-driven boundary refinement.
  • Integrate BSM into existing segmentation frameworks—e.g., Mask R-CNN and DeeplabV3+—as a plug-in module for both instance and semantic segmentation.
  • Train the network with two auxiliary losses: one for contraction flow and one for expansion flow, both supervising boundary feature quality.
  • Apply random resize, crop, and horizontal flip augmentations, and use poly learning rate decay for training on COCO, Cityscapes, and BDD100K.

Experimental results

Research questions

  • RQ1Can a boundary-centric approach improve mask precision in image segmentation by modeling the boundary as a dynamic squeezing process?
  • RQ2Does dual-directional (inner and outer) boundary squeezing via learned flow fields lead to more accurate and structured boundary predictions than point-based or uniform feature refinement?
  • RQ3Can a lightweight, plug-and-play module like BSM achieve state-of-the-art performance across both instance and semantic segmentation tasks without architectural changes?
  • RQ4How does the proposed method compare to PointRend in terms of boundary accuracy, especially on challenging, fine-grained object boundaries with low contrast?
  • RQ5To what extent does the use of morphological operations (dilation/erosion) as supervision improve generalization and boundary localization?

Key findings

  • On the COCO instance segmentation benchmark, BoundarySqueeze achieves a 1.0 mIoU gain over PointRend when using ResNet-50, and a 1.1 mIoU gain with ResNet-101, under identical training and inference settings.
  • On the Cityscapes semantic segmentation dataset, the method improves mIoU by 1.0–1.1 points over PointRend, with consistent gains across all F-score thresholds, especially at lower thresholds indicating finer boundaries.
  • On the BDD10000 dataset, BoundarySqueeze maintains consistent performance improvements over baseline DeeplabV3+ and PointRnd, demonstrating strong generalization across diverse scene types.
  • Visualizations confirm that the BSM produces thinner, more precise boundary features and predictions, with clear contraction and expansion flow fields guiding accurate mask refinement.
  • The method outperforms PointRend in both accuracy and speed, indicating that the flow-based warping mechanism is more efficient and effective than adaptive point rendering.
  • The plug-and-play nature of BSM allows seamless integration into existing models like Mask R-CNN and DeeplabV3+, enabling consistent gains without retraining the backbone or modifying the main architecture.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.