[Paper Review] Conditional Convolutions for Instance Segmentation
This paper proposes CondInst, a novel instance segmentation framework that replaces traditional ROI-based mask heads with dynamic, instance-aware convolutional networks. By generating filter weights conditionally based on each instance's features and location, CondInst achieves state-of-the-art accuracy and faster inference than Mask R-CNN, outperforming it by 1.2 AP points (35.9% vs. 35.5%) without longer training schedules.
We propose a simple yet effective instance segmentation framework, termed CondInst (conditional convolutions for instance segmentation). Top-performing instance segmentation methods such as Mask R-CNN rely on ROI operations (typically ROIPool or ROIAlign) to obtain the final instance masks. In contrast, we propose to solve instance segmentation from a new perspective. Instead of using instance-wise ROIs as inputs to a network of fixed weights, we employ dynamic instance-aware networks, conditioned on instances. CondInst enjoys two advantages: 1) Instance segmentation is solved by a fully convolutional network, eliminating the need for ROI cropping and feature alignment. 2) Due to the much improved capacity of dynamically-generated conditional convolutions, the mask head can be very compact (e.g., 3 conv. layers, each having only 8 channels), leading to significantly faster inference. We demonstrate a simpler instance segmentation method that can achieve improved performance in both accuracy and inference speed. On the COCO dataset, we outperform a few recent methods including well-tuned Mask RCNN baselines, without longer training schedules needed. Code is available: https://github.com/aim-uofa/adet
Motivation & Objective
- To address the limitations of ROI-based instance segmentation methods like Mask R-CNN, which rely on cropping and alignment operations.
- To enable fully convolutional instance segmentation by eliminating the need for ROI pooling and feature alignment.
- To improve mask head efficiency and performance through instance-specific, dynamically generated convolution filters.
- To achieve higher accuracy and faster inference than existing methods, including well-tuned Mask R-CNN baselines.
- To demonstrate that a compact mask head with conditional convolutions can outperform larger, fixed-weight heads.
Proposed method
- Proposes a fully convolutional instance segmentation framework using instance-aware mask heads that dynamically generate convolutional filter weights.
- Employs a controller sub-network to generate mask head filters conditioned on the instance's center region and relative coordinates.
- Introduces conditional convolutions where filter weights are dynamically generated per instance, enabling instance-specific feature learning.
- Appends relative coordinates to feature maps to provide spatial inductive bias, improving localization without ROI cropping.
- Eliminates ROIAlign and ROI pooling by applying the dynamic mask head directly to the full feature map.
- Uses a lightweight mask head with only 3 convolutional layers, each with 8 channels, significantly reducing parameters and computation.
Experimental results
Research questions
- RQ1Can a fully convolutional network with instance-aware, dynamic filters outperform ROI-based methods in instance segmentation?
- RQ2Can a compact mask head with dynamically generated filters achieve higher accuracy than larger, fixed-weight heads?
- RQ3Does eliminating ROI operations improve inference speed without sacrificing mask quality?
- RQ4Can conditional convolutions effectively distinguish between similar-looking instances (e.g., multiple persons) without ROI cropping?
- RQ5Can the proposed method outperform state-of-the-art models like Mask R-CNN and TensorMask in both accuracy and speed?
Key findings
- CondInst achieves 35.9% AP on COCO test-dev, outperforming the well-tuned Mask R-CNN baseline (35.5%) without requiring longer training schedules.
- With a 3× training schedule and ResNet-101 backbone, CondInst reaches 40.1% AP, surpassing Mask R-CNN (38.8%) and TensorMask (37.1%).
- CondInst is approximately 8× faster than TensorMask (49 ms vs. 380 ms per image) while achieving better or comparable performance.
- The method achieves state-of-the-art performance with a very compact mask head (3 conv layers, 8 channels each), reducing computational cost.
- Using an auxiliary semantic segmentation head boosts CondInst’s performance to 38.8% AP (ResNet-50) and 40.1% AP (ResNet-101), with no increase in inference time.
- NMS based on mask predictions achieves identical performance to box-based NMS, confirming that CondInst can fully eliminate the need for box detection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.