Abstract
DR1Mask introduces a novel Dynamic Rank-1 Convolution (DR1Conv) to unify instance and panoptic segmentation into a single, highly efficient framework. By factorizing dynamic filters into rank-1 components, the model achieves state-of-the-art accuracy while running twice as fast as previous top-performing two-branch panoptic segmentation architectures.
Introduction
Computer vision traditionally treats "things" (countable objects like people or cars) and "stuff" (amorphous regions like sky or grass) differently. Instance segmentation focuses on things, while semantic segmentation focuses on stuff. Panoptic segmentation aims to do both.
The current state-of-the-art usually relies on two separate, redundant networks for these tasks, which is computationally expensive and ignores the fact that "stuff" provides vital context for "things." Furthermore, existing one-stage instance segmenters often use very narrow feature channels to keep computation manageable, which limits their ability to capture the rich class-sensitive information needed for high-quality semantic segmentation.
Methodology
The core innovation is the Dynamic Rank-1 Convolution (DR1Conv).
The DR1Conv Mechanism
Instead of using static weights, DR1Conv generates convolution kernels on the fly based on the input. To keep this efficient, it factorizes the operation into two dynamic factors ($A$ and $B$) that multiply the feature map before and after a static convolution. This is a "rank-1" approximation that captures complex spatial context with very few parameters.
DR1Basis and Architecture
The authors build an "inverted pyramid" bottom-up branch using DR1Convs. This branch merges high-level context from the backbone with low-level details to create a shared feature map ($F$).
For the instance prediction head, they propose a low-rank decomposition of the attention maps. This reduces the parameter count of the attention tensor from 784 down to just 16, allowing the model to scale to much wider (and thus more descriptive) feature bases without a memory explosion. Because the features are shared, panoptic segmentation is achieved by simply adding a single $1 \times 1$ convolution layer to the end of the shared branch.
Experimental Setup
The model was evaluated on the MSCOCO 2017 dataset, which is the gold standard for instance and panoptic segmentation. It contains 123K images with 80 "thing" categories and 53 "stuff" categories. The authors used the standard train/val/test-dev splits for their benchmarks.
Results and Discussion
Key Insights
- Context is Universal: The authors demonstrate that the same dynamic context module used to refine object masks can also improve semantic segmentation. This validates the idea that "stuff" and "things" shouldn't be processed in isolation.
- Efficiency through Factorization: By using rank-1 tensors, the model can afford "wider" features (more channels). While previous models were stuck with ~4 channels for their basis features to remain efficient, DR1Mask comfortably uses 32 or 64, leading to much higher mask quality.
- The "Padding" Problem: A subtle but important finding was that standard border padding (used to make images divisible by 32 for FPNs) creates artifacts in semantic segmentation. The authors fixed this by changing the input size divisibility to 4 and using a custom aligned upsampling strategy.
Performance Metrics
- Speed: DR1Mask is twice as fast as previous best two-branch panoptic approaches (like UPSNet). When performing instance segmentation alone, it is 10% faster than BlendMask.
- Accuracy:
- On Panoptic Segmentation (COCO), it scored 8 points higher in PQ (Panoptic Quality) than Panoptic-DeepLab using the same ResNet-50 backbone.
- On Instance Segmentation, it achieved 41.2 mAP with a ResNet-101 backbone, outperforming Mask R-CNN and CondInst.
- Unified Head: The "stuff" segmentation costs are described as "almost for free," requiring only one additional layer.
Conclusion and Future Work
The authors noted a trade-off regarding Position-Sensitive Attention. While using factored spatial attention significantly improves instance segmentation (helping the model distinguish between two overlapping objects of the same class), it can actually hurt semantic segmentation performance. This is because the bases begin to encode too much instance-specific position information, which is misleading for "stuff" regions like the sky or road.
Future work may involve finding a more robust way to decouple these spatial priors so that the shared features can benefit from position-sensitivity without degrading global semantic labels.
Code Availability: The authors have integrated this work into the AdelaiDet project.
Summary updated