TL;DR
Standard instance segmentation models fail dramatically when faced with thin, hollow, or heavily overlapping irregular objects like wires, fences, and tree branches. To bridge this gap, this paper introduces iShape, a benchmark dataset highlighting extreme aspect ratios and fragmented instances, alongside ASIS, an affinity-based segmentation algorithm that connects object pieces via local perceptual reasoning.
What Problem Does This Paper Address?
Modern instance segmentation benchmarks (such as COCO and Cityscapes) predominantly feature compact, regularly shaped objects well-approximated by rectangular bounding boxes (e.g., cars, pedestrians, chairs). Consequently, the dominant algorithms rely heavily on:
- Bounding-box proposals (e.g., Mask R-CNN), which struggle when overlapping irregular items share nearly identical bounding boxes and get eliminated by Non-Maximum Suppression (NMS).
- Object center regression (e.g., PolarMask, SOLOv2), which fails when an irregular object’s geometric center falls outside its physical body (such as hollow fences or bent wires) or when multiple objects share the same center.
Irregularly shaped objects—characterized by complex boundaries, high aspect ratios, and multiple disjoint segments due to self- or mutual occlusions—remain widespread in industrial and natural environments but lack dedicated evaluation benchmarks.
Methods
To overcome the failure modes of proposal- and center-based models, the authors propose ASIS (Arbitrary Shape Instance Segmentation), an affinity-based framework inspired by how humans trace winding contours:
- Dual-Head Architecture: Built on a PSPNet backbone, the network splits into a semantic head (predicting per-pixel class labels) and an affinity head (predicting whether neighboring pixels belong to the same instance).
- Asymmetric Semicircle Affinity Kernel: Previous affinity frameworks (like GMIS or SSAP) use centrosymmetric kernels, resulting in redundant bidirectional predictions and excessive receptive-field demands. ASIS removes redundant connections by sampling neighbors within an asymmetric semicircle, halving the required receptive field while effectively bridging disjoint object segments.
- Online Hard Example Mining (OHEM): Because connectivity between fragmented segments is rare and imbalanced, ASIS trains the affinity branch with OHEM on the top 10% highest-loss pixels.
- Graph Merge Inference: Pixels and predicted affinities form nodes and edges in a sparse undirected graph. A greedy graph merge clusters positive affinities into class-agnostic supernodes (instances), which are then mapped to semantic predictions.
Datasets
The authors introduce iShape, comprising 12,870 high-resolution images ($1024 \times 1024$) and 175,840 annotated instances across six sub-datasets:
- iShape-Antenna: 370 real-world industrial images (3,036 instances) of tangled antennas in bins.
- Five Synthetic Sub-datasets (Blender +
bpycv): iShape-Branch, iShape-Fence, iShape-Hanger, iShape-Log, and iShape-Wire (2,500 images each; 2,000 train / 500 test).
Compared to COCO and Cityscapes, iShape features:
- Massive bounding box overlap (measured by Overlap of Sum, reaching 0.65 vs. COCO's 0.15).
- Extreme aspect ratios (averaging 15.84 overall, and 34.14 for Log vs. 2.59 for COCO).
- High numbers of Connected Components Per Instance (CCPI) (averaging 53.65 on Fence due to hollow mesh structures).
Key Insights and Ideas
- Why Center and Proposal Priors Collapse: Models like Mask R-CNN drop target objects because heavy bounding-box overlap triggers aggressive NMS suppression, and RoI pooling destroys thin structures. Center-based methods (SOLOv2, SE) fail because irregular objects often share centers or have centers in empty space.
- The Star-Convex Bottleneck: PolarMask achieves near 0% accuracy across five sub-datasets because ray-based representations cannot model holes, disjoint components, or concave structures.
- Affinity Directionality Matters: Centrosymmetric affinity kernels waste parameter capacity on reciprocal edges ($A \to B$ and $B \to A$). Restricting neighbors to a directed semicircle preserves graph connectivity while easing representation learning for the CNN backbone.
Key Results
ASIS drastically outperforms existing paradigms across all six sub-datasets on mask mean Average Precision (mmAP):
| Method | Type | Avg mmAP | Antenna | Fence | Wire | Log |
|---|---|---|---|---|---|---|
| PolarMask | Center / Ray | 3.10 | 0.0 | 0.0 | 0.0 | 18.6 |
| Mask R-CNN | Proposal-based | 12.63 | 16.9 | 0.0 | 0.0 | 32.6 |
| DETR | Transformer/Query | 13.85 | 2.1 | 0.0 | 0.0 | 46.2 |
| SOLOv2 | Center-based | 14.07 | 6.6 | 0.0 | 0.0 | 22.2 |
| SE | Embedding/Center | 18.17 | 38.3 | 0.0 | 0.0 | 20.9 |
| ASIS (Ours) | Affinity / Graph | 54.50 | 77.5 | 37.1 | 64.9 | 69.3 |
- Existing baselines scored 0.0 mmAP on Fence and Wire, whereas ASIS scored 37.1 and 64.9.
- Ablation studies show that replacing GMIS's symmetric kernel with the ASIS asymmetric kernel and adding OHEM boosts antenna mAP from 44.5% to 77.5% (with an oracle upper bound of 98.5% using ground-truth affinities).
Limitations and Future Work
- Greedy Graph Merging: The inference stage merges nodes greedily based on local pairwise affinities. Highly confident false-positive edges can trigger catastrophic failure by merging two separate objects into one.
- Long-Range Dependencies: CNN backbones struggle to capture very long-range affinities when an object is severely occluded over large spatial distances.
- Synthetic Sim-to-Real Domain Shift: Five of the six sub-datasets rely entirely on synthetic 3D rendering in Blender; expanding real-world irregular benchmarks beyond the antenna setting remains an open avenue.
Summary updated