Abstract
Recent state-of-the-art one-stage instance segmentation model SOLO divides the input image into a grid and directly predicts per grid cell object masks with fully-convolutional networks, yielding comparably good performance as traditional two-stage Mask R-CNN yet enjoying much simpler architecture and higher efficiency. We observe SOLO generates similar masks for an object at nearby grid cells, and these neighboring predictions can complement each other as some may better segment certain object part, most of which are however directly discarded by non-maximum-suppression. Motivated by the observed gap, we develop a novel learning-based aggregation method that improves upon SOLO by leveraging the rich neighboring information while maintaining the architectural efficiency. The resulting model is named SODAR. Unlike the original per grid cell object masks, SODAR is implicitly supervised to learn mask representations that encode geometric structure of nearby objects and complement adjacent representations with context. The aggregation method further includes two novel designs: 1) a mask interpolation mechanism that enables the model to generate much fewer mask representations by sharing neighboring representations among nearby grid cells, and thus saves computation and memory; 2) a deformable neighbour sampling mechanism that allows the model to adaptively adjust neighbor sampling locations thus gathering mask representations with more relevant context and achieving higher performance. SODAR significantly improves the instance segmentation performance, e.g., it outperforms a SOLO model with ResNet-101 backbone by 2.2 AP on COCO test set, with only about 3% additional computation. We further show consistent performance gain with the SOLOv2 model.
Introduction
One-stage instance segmentation frameworks like SOLO have gained popularity due to their architectural simplicity and efficiency. These models divide an input image into a grid, where each cell is responsible for predicting an object mask. However, because objects typically span multiple grid cells, neighboring cells often produce redundant predictions for the same instance.
Traditionally, these redundant masks are filtered using Non-Maximum Suppression (NMS), which selects the highest-scoring mask and discards the rest. This paper identifies NMS as an information bottleneck. Discarded masks often contain complementary spatial information—for instance, one cell might capture an object's boundaries more accurately than its neighbor. SODAR (Segmenting Objects by Dynamically Aggregating neighboring mask Representations) addresses this by replacing the destructive NMS process with a learnable, dynamic aggregation mechanism.
Methodology
The SODAR framework introduces three primary innovations to enhance the SOLO baseline while maintaining low computational overhead.
Dynamic Aggregation
Instead of discarding neighboring predictions, SODAR employs a lightweight sub-network to predict aggregation weights. It fuses a central "mask representation" with its nearest neighbors. This allows the model to adaptively combine features, leveraging the most useful context for each specific object. Crucially, these intermediate representations are supervised implicitly through the aggregation function, encouraging the learning of features optimized for combination.
Mask Interpolation
To optimize memory and computational efficiency, SODAR decouples the classification grid from the mask feature grid. A high-resolution grid can be used for classification, while a lower-resolution grid handles mask features. Spatial mapping via interpolation allows mask features to be shared across multiple classification cells, acting as a form of regularization while reducing the computational budget.
Deformable Neighbor Sampling
Building on the concept of deformable convolutions, this mechanism enables the model to learn spatial offsets for neighbor sampling. Rather than relying on a rigid grid, the model can adaptively "reach out" to more relevant spatial locations. This is particularly effective for segmenting objects with irregular shapes or complex poses.
Experimental Results
The authors evaluated SODAR on the MS COCO and LVIS datasets. LVIS, with its high-quality annotations, was specifically used to measure improvements in mask boundary precision.
- Performance Gains: SODAR with a ResNet-101 backbone achieved 38.6 AP on COCO test-dev, a 1.5 AP improvement over the SOLO baseline. Similar gains were observed when integrated with the more advanced SOLOv2.
- Mask Quality: The benefits of aggregation are most evident at high IoU thresholds. On LVIS, SODAR improved AP_90 by 3.2 points over SOLO, indicating significantly more precise object boundaries.
- Efficiency: These improvements are achieved with minimal overhead, requiring only approximately 3% additional GFLOPs compared to the standard SOLO model.
Discussion and Limitations
SODAR demonstrates that treating neighboring predictions as a "committee" rather than rivals leads to richer object representations. However, challenges remain in handling extremely slender objects (e.g., skis), irregular poses, and heavy occlusions in crowded scenes. Future work may explore more complex aggregation topologies to further improve performance in these difficult scenarios.
Summary updated