Enhanced Deformable Convolution with Center-invariant Offset and Edge-aware Mask

Yixiao Li, Xiaoyuan Yang, Jin Jiang, Minghao Zou, Guanghui Yue, Baoquan Zhao, Jun Liu, Wei ZhouarXiv 2026

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:

  1. 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.
  2. 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.

Fig. 1. Enhanced Deformable ConvNets (EDCN): An overall architecture for semantic segmentation, involving a generic encoder- decoder scheme. The EDCN replaces the standard convolution in the generic CNN-based methods with Enhanced De- formable Convolution (i.e., EDC). The remaining components in the original methods, except for standard convolution, are collectively referred to as the Spatial Semantic Mixer (SSM). SSM is named as Front Spatial Semantic Mixer (FSSM) or Back Spatial Semantic Mixer (BSSM) due to its different positions relative to standard convolution. Specifically, the PSPNet employs parallel pyramid pooling layers before the standard convolution, thus it has an FSSM (green box in (a)); ANN consists of two feature extraction modules with a standard convolution layer in the middle, thus it has both FSSM (green box in (b)) and BSSM (red box in (b)), the “Q, K & V" refer to “query, key & value" that are used to calculate attention scores; ISANet stacks long-range and short-range sparse self-attention blocks after a standard convolution layer, thus it has a BSSM (red box in (c)), and the “SA" refers to “self-attention". Besides, the EDC consists of a Center-invariant Offset Module (i.e., COM in the yellow box) and an Edge-aware Mask Module (i.e., EMM in the blue box), where the two modules are combined with a dual branch.

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.
Fig. 3. Illustration of the sampling location in the standard kernel, deformable kernel, center-invariant large deformable kernel. (a) regular sampling grid (blue dots) of the standard kernel. (b) deformable kernel of 3 × 3. The offsets are added to each point in the regular sampling grids. Green dots show the deformation of sampling locations. (c) center-invariant large deformable kernel of 5 × 5. Offsets are added to border sampling locations (grey) and center sampling locations (yellow) remain unchanged.

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

BibTeX
@misc{li2026enhanced,
  author = {Yixiao Li and Xiaoyuan Yang and Jin Jiang and Minghao Zou and Guanghui Yue and Baoquan Zhao and Jun Liu and Wei Zhou},
  title = {{Enhanced Deformable Convolution with Center-invariant Offset and Edge-aware Mask}},
  year = {2026},
  eprint = {2609.10387},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.10387},
}

Loading related content...

Figure