TL;DR
The paper introduces Enhanced Deformable ConvNets (EDCN), which improves semantic segmentation by allowing deformable convolutions to scale efficiently to larger kernel sizes. By freezing the offsets of central kernel pixels and using an edge-aware mask to apply deformations only where they matter (along object boundaries), the proposed method achieves state-of-the-art accuracy with fewer redundant computations.
What Problem Does This Paper Address?
Standard convolutional neural networks (CNNs) use fixed, rigid grids to sample images, making it difficult for them to adapt to objects of varying shapes and sizes. Deformable Convolutions (DCNs) solved this by learning custom "offsets" for grid points, allowing the network's receptive field to warp dynamically around objects.
However, existing DCN variants (V1 to V4) face two major bottlenecks:
- Scaling Issues: When increasing the kernel size to capture longer-range dependencies, learning dense offsets for every single pixel in a large kernel introduces massive optimization noise and confusion.
- Redundant Deformations: Traditional DCNs apply deformations uniformly across the entire image. Warping the kernel in flat, uninformative regions (like a blank wall or open sky) adds unnecessary computational overhead and can introduce chaotic artifacts into the feature maps.
This paper tackles these challenges by making deformable convolutions both large-kernel friendly and content-selective.
Methods
The authors propose Enhanced Deformable Convolution (EDC), which replaces standard convolutions in the decoder of semantic segmentation networks via a dual-branch architecture.
EDC consists of two primary components:
- Center-invariant Offset Module (COM): Instead of calculating offsets for every position in a large kernel (e.g., $5\times5$ or $7\times7$), COM zeroes out and freezes the offsets at the kernel's center. It only allows the boundary pixels of the kernel to deform. This drastically reduces the optimization search space while still expanding the effective receptive field.
- Edge-aware Mask Module (MM): This branch uses a classic Sobel operator to generate a gradient map of the input features, highlighting structural edges. It then applies a trainable Sigmoid function and binary logistic regression to create a mask. Deformable convolution is selectively applied only to high-contrast edge regions, while standard, rigid convolution handles flat regions.
Datasets
The model was trained and evaluated on four mainstream semantic segmentation benchmarks:
- ADE20K: 25K densely annotated images across 150 categories.
- MS COCO: 164K images covering 172 categories.
- Cityscapes: 5,000 finely annotated street-scene images across 19 categories.
- PASCAL VOC: 20 object classes plus 1 background class.
Additionally, CIFAR-100 was utilized to test the scalability of the module on image classification tasks using the RepLKNet backbone.
Key Insights and Ideas
- The Polygon Analogy: The core intuition behind the Center-invariant Offset Module is that a shape's deformation is primarily dictated by its boundaries—much like how a polygon's geometry is defined by its vertices. Shifting the internal pixels of a large convolution kernel adds little value and mostly introduces optimization noise.
- Sparsity in Deformations: Not all pixels deserve the same representational capacity. Object boundaries require spatial adaptation to map fine details accurately, whereas internal textures or flat backgrounds are perfectly well-served by standard, rigid convolutions.
- DCN V4 Limitations: The authors highlight that the recent Deformable ConvNets V4 is fundamentally constrained to a $3\times3$ window due to its specific memory-access optimizations and tensor formatting, making alternative approaches like EDC necessary for larger kernel windows.
Key Results
The authors integrated EDC into popular segmentation decoders (PSPNet, ANN, and ISANet) using a $5\times5$ kernel setup and consistently outperformed standard convolutions and prior DCN variants:
- MS COCO (with PSPNet): EDC achieved a mean Intersection over Union (mIoU) of 27.01%, outperforming the baseline without deformations (24.81%) and DCN V1 (26.28%).
- ADE20K (with PSPNet): EDC reached an mIoU of 31.07%, notably higher than DCN V3's 29.52%.
- Efficiency: Complexity analysis showed that EDC achieves a superior trade-off between performance, parameter count, and FLOPs compared to dense offset methods. For instance, in the PSPNet decoder, EDC reduced parameters compared to More Deformable Convolutions (DCN V2) while delivering higher accuracy.
Qualitative visualizations of the Effective Receptive Field (ERF) confirmed that EDC successfully eliminates "redundant deformations" in irrelevant background regions, focusing its parameters precisely on target objects.
Limitations and Future Work
While EDC scales gracefully to moderately large kernels ($5\times5$, $7\times7$, and $9\times9$), it struggles to scale efficiently to ultra-large kernels (such as $15\times15$ or $17\times17$). When tested on the RepLKNet benchmark, ultra-large variants experienced a massive explosion in parameter count and computational complexity. The authors acknowledge this limitation and state that extending efficient deformable convolutions to ultra-large kernel sizes will be the primary focus of their future work.
Summary updated