Connectivity-constrained Interactive Panoptic Segmentation

Ruobing Shen, Bo Tang, Andrea Lodi, Ismail Ben Ayed, Thomas GuthierarXiv 2022 · DOI

Connectivity-constrained Interactive Panoptic Segmentation

Panoptic segmentation—the task of identifying both discrete objects ("things") and amorphous background regions ("stuff")—is a cornerstone of computer vision. However, it remains one of the most labor-intensive tasks to annotate, with complex scenes often requiring over 1.5 hours of manual labor per image. This paper introduces a framework that combines the feature-extraction capabilities of Deep Convolutional Neural Networks (DCNNs) with the structural rigor of graph-based optimization to drastically reduce this burden.

The Problem: Data Hunger and Structural Logic

While DCNNs have revolutionized segmentation, they face two major hurdles. First, they require massive amounts of pixel-perfect training data. Second, they often lack an explicit understanding of physical connectivity, frequently producing "noisy" or fragmented outputs where a single object is split into disconnected parts. The authors address these issues by proposing an interactive tool that utilizes simple human "scribbles" and graph theory to ensure globally optimal, physically plausible segmentations.

Methodology

The proposed workflow transitions from pixels to superpixels and finally to a structured graph. The system can utilize raw RGB data, low-level features from general DCNNs (like ResNet), or high-level probability maps from task-specific models.

Figure 2: An example of user-provided scribbles on a source image. Purple marks the dog, brown marks the cat, and green marks the background "stuff."

Two primary algorithms drive the segmentation process:

  • $ℓ_0$ Region Fusion Heuristic ($ℓ_0H$): A fast, class-agnostic method based on the Potts model that iteratively merges similar neighboring regions. This is ideal for tasks where no pre-trained model exists.
  • Integer Linear Programming (ILP-P): This is the core optimization engine. It formulates segmentation as a global problem and enforces a connectivity prior. Using a "cutting plane" method, it iteratively adds constraints that prevent the algorithm from assigning the same label to disconnected parts of the image, ensuring each instance is a single connected component.

Key Insights: Connectivity as a Hard Constraint

The most significant innovation is treating connectivity as a mathematical requirement. In standard DCNNs, a car might be interrupted by a lamp post, resulting in two separate "car" fragments. The ILP-P formulation recognizes this as physically impossible for a single instance and forces a more logical boundary. Furthermore, the framework demonstrates that high-quality segmentation can be achieved using low-level features from general-purpose networks, significantly reducing the reliance on massive, task-specific training sets.

Figure 6: A comparison of segmentation results. The top-left shows the input scribbles. The other panels demonstrate how different algorithmic configurations (including the connectivity-constrained ILP-P) resolve the scene into connected components (top-right) versus fragmented baselines (bottom-right).

Results and Performance

The authors evaluated their framework on the PASCAL VOC 2012 and Cityscapes benchmarks:

  • PASCAL VOC: The framework reached 90.6% mIoU with just three rounds of correction scribbles, outperforming many fully automated DCNNs.
  • Cityscapes: The method achieved a 62.8% Panoptic Quality (PQ) score. This was accomplished with roughly 15 minutes of total interaction time, representing a massive efficiency gain over traditional manual masking.
  • Global Optimality: The ILP-P approach improved baseline DeepLab V2 performance on VOC by 14.1%, proving that structural constraints are as vital as feature depth.

Limitations and Future Work

While the heuristic is fast, the ILP-P solver is computationally expensive and can hit time limits on complex scenes. Additionally, the system relies on an initial superpixel grouping; if the superpixel algorithm fails to respect a boundary, the graph-based optimizer cannot correct it. Future research aims to integrate these discrete connectivity constraints directly into the training phase of DCNNs rather than applying them as a post-processing step.

Summary updated

BibTeX
@misc{shen2022connectivity,
  author = {Ruobing Shen and Bo Tang and Andrea Lodi and Ismail Ben Ayed and Thomas Guthier},
  title = {{Connectivity-constrained Interactive Panoptic Segmentation}},
  year = {2022},
  eprint = {2212.06756},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.06756},
}
Figure