arXiv:2609.10387cs.CVSep 2026

Manuscript Offprint

arXiv:2609.10387

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 Zhou

YIXIAO LI, School of Mathematical Sciences, Beihang University, China and Shanghai Academy of Spaceflight Technology, China

XIAOYUAN YANG, School of Mathematical Sciences, Beihang University, China

JIN JIANG, School of Mathematical Sciences, Beihang University, China

MINGHAO ZOU, School of Computational and Mathematical Sciences, Cardiff University, United Kingdom

GUANGHUI YUE, School of Biomedical Engineering, Health Science Center, Shenzhen University, China

BAOQUAN ZHAO, School of Artificial Intelligence, Sun Yat-sen University, China

JUN LIU, School of Computing and Communications, Lancaster University, United Kingdom

WEI ZHOU, School of Computational and Mathematical Sciences, Cardiff University, United Kingdom

Deformable convolution networks have recently become popular for many computer vision tasks, especially for semantic segmentation, because of their exceptional capabilities in dynamic spatial modeling. However, due to the dense deformable offsets and the lack of longer-range dependencies, they can not fully adopt proper and precise deformations for feature representations. To tackle the issues, in this paper, we propose Enhanced Deformable ConvNets (EDCN) for semantic segmentation. Specifically, a novel Enhanced Deformable Convolution (EDC) is exploited in the decoder, which integrates the Center-invariant Offset Module (COM) and Edge-aware Mask Module (EMM). The COM employs larger kernels and eliminates deformations at the kernel center, obtaining offsets that are more in line with the target from richer spatial information. Concurrently, the EMM obtains the significance of image content via Sobel edge detection, then selectively applies deformations based on the content significance, minimizing unnecessary deformations associated with relatively less important information, thereby avoiding impact from less informative regions. Experiments show that EDC outperforms state-of-the-art deformable convolution variants, including Deformable ConvNets V1-V4 and Entire Deformable ConvNets, across mainstream segmentation datasets with various decoder settings. Moreover, ablation studies confirm the effectiveness of each component. In addition, visualizations illustrate that EDC enhances spatial adaptation and target focus. We further analyze the extendibility of EDC to larger kernels on the image classification benchmark. Code will be publicly released.

Additional Key Words and Phrases: Deformable convolution, center-invariant offset, edge-aware mask, large deformable kernel, semantic segmentation, image classification

Authors' Contact Information: Yixiao Li, School of Mathematical Sciences, Beihang University, Beijing, China and Shanghai Academy of Spaceflight Technology, Shanghai Radio Equipment Research Institute, Shanghai, China, 18335310648@163.com; Xiaoyuan Yang, School of Mathematical Sciences, Beihang University, Beijing, China, xiaoyuanyang@vip.163.com; Jin Jiang, School of Mathematical Sciences, Beihang University, Beijing, China, jiangjin1246@163.com; Minghao Zou, School of Computational and Mathematical Sciences, Cardiff University, Cardiff, United Kingdom, zoum1@cardiff.ac.uk; Guanghui Yue, School of Biomedical Engineering, Health Science Center, Shenzhen University, Shenzhen, China, yueguanghui@szu.edu.cn; Baoquan Zhao, School of Artificial Intelligence, Sun Yat-sen University, Zhuhai, China, zhaobaoquan@mail.sysu.edu.cn; Jun Liu, School of Computing and Communications, Lancaster University, Lancaster, United Kingdom, j.liu81@lancaster.ac.uk; Wei Zhou, School of Computational and Mathematical Sciences, Cardiff University, Cardiff, United Kingdom, zhouw26@cardiff.ac.uk.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

© Copyright held by the owner/author(s). Publication rights licensed to ACM.

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

1 Introduction

Convolutional neural networks (CNN) have been widely adopted in semantic segmentation. There have emerged significant efforts to design spatial pyramid pooling [2, 37] and attention models [16, 18, 20, 22, 43, 46]. Nevertheless, these approaches often neglect the drawbacks of standard convolution in feature extraction. That is, traditional convolution generally utilizes fixed-size kernels that slide over the image, which may not be suitable for capturing objects with varying shapes. In contrast, deformable convolution allows the kernel to adapt its geometry according to the input images, making it more effective for dense prediction tasks.

During recent years, the potential of deformable convolution [5, 47] in semantic segmentation, utilized as plug-and-play modules, has been extensively explored [6, 7, 17]. Basically, there exist five main versions of deformable convolutions, including Deformable ConvNets (DCN V1) [5], More Deformable ConvNets (DCN V2) [47], Entire Deformable ConvNets [35], Deformable ConvNets V3 (DCN V3) [29], and Deformable ConvNets V4 (DCN V4) [33]. These have been commonly applied in model design for semantic segmentation [1, 7, 13, 17, 35]. Although these networks can sample the key information adaptively. The critical challenge is that these deformable convolutions still lack long-range dependencies due to the limitation of the restricted effective receptive field (ERF). Luo et al. [24] defined the ERF, which refers to the region of the input image that influences the output of a particular neuron in a neural network. A larger ERF enables convolution-based networks to capture longer-range dependencies, which is particularly beneficial for dense prediction tasks such as semantic segmentation. Traditional deformable convolutions [5, 47] build a CNN by stacking convolution layers with a kernel size of 3×33 \times 3 based on ResNet [12], with the goal of expanding the ERF as the network deepens. However, it has been demonstrated by Veit et al. [27] that the ResNet behaves like ensembles of relatively shallow networks rather than a truly deep network. While DCN V3 asserts its capability to capture longer-range dependencies through depthwise separable convolution and grouping strategies, empirical evidence indicates that achieving considerable receptive fields necessitates the stacking of multiple layers across various stages [29]. Such deep stacking approaches are not fully efficient for plug-and-play purposes in general segmentation benchmarks [14, 42, 48].

Inspired by the findings of Ding et al. [8] and Zhang et al. [40], which demonstrate that increasing kernel size can substantially expand the ERF compared to stacking multiple smaller kernels, the application of larger convolution kernels emerges as a direct strategy. However, DCN V3 has been shown to be obviously less effective when applied to larger kernels [29]. Our experimental results in the Section4.5 about the ablation on kernel sizes also corroborate this observation, revealing that existing variants of deformable convolution encounter a similar challenge. This challenge likely stems from the dense sampling strategy employed in DCN V1-V3, where deformable offsets are assigned to each sampling location and stride as the kernels slide over the input features. Such a sampling strategy constrains the practical utility of larger kernels in deformable convolutions. Although recent advancements like Entire Deformable ConvNets and DCN V4 have aimed to enhance efficiency and reduce computational load, the fundamental constraints on the application of larger kernels in deformable convolutions persist.

Based on the findings above, we aim to propose a more efficient deformable sampling strategy that takes advantage of the larger receptive field provided by the larger kernel to improve offset learning, enabling a more accurate prediction of deformable offsets. In this paper, we introduce Enhanced Deformable Convolution (EDC), which contains a Center-invariant Offset Module (COM) and an Edge-aware Mask Module (EMM). The EMM enhances the deformations to be more refined by adaptively selecting whether to use deformable operations during the convolution kernel sliding across the input features based on the guidance of edge detection. The COM utilizes larger kernel sizes to ensure that deformations can benefit from a larger receptive field. We enlarge the kernel size of EDC from 3×33 \times 3 to K×KK \times K, where K=5,7,9,13,17K = 5, 7, 9, 13, 17.

The proposed EDC is then utilized to replace the standard convolution in CNN-based semantic segmentation methods as a plug-and-play layer. Common segmentation methods [14, 15, 26, 42, 48] typically follow an “encoder-decoder” framework. For convenience, we conceive a general architecture for CNN-based methods (as illustrated in Figure 1) by observing the position of standard convolution in the decoders. The architecture consists of a conventional encoder, a decoder with the Spatial Semantic Mixers (SSMs), and a standard convolution layer. To be clear, the novelty of research in semantic segmentation mainly lies in the way of spatial semantic aggregation in the decoder. Therefore, we collectively name the remaining components other than the standard convolution layer as SSM. The SSM before the standard convolution layer is named Front SSM (FSSM), and the one after the standard convolution layer is called Back SSM (BSSM). Different methods incorporate specific SSMs due to the varied positions of standard convolution within their original backbones. Specifically, the standard convolution layer in PSPNet [42] is at the end of the network, so PSPNet has its FSSM and no BSSM; While the standard convolution layer in ISANet [14] is located at the beginning of the network, so ISANet has its BSSM and no FSSM; The standard convolution layer in ANN [48] is located in the middle of the network, so ANN has both FSSM and BSSM. Finally, the version where the standard convolution layer is replaced with the proposed EDC in this architecture is named Enhanced Deformable ConvNets (EDCN).

Compared with previous works, our major contributions can be summarized as follows:

  1. We propose a novel Enhanced Deformable Convolution (EDC), which integrates large-kernel and edge information awareness to improve deformable offsets sampling.

  2. We conceive the encoder-decoder architecture for semantic segmentation, named Enhanced Deformable ConvNets, in which various deformable convolutions are compared as plug-and-play layers. The proposed EDC retains the benefits of the deformable convolution counterparts while surpassing their performance on four semantic segmentation datasets.

  3. Extensive ablation studies are implemented. We comprehensively analyze the impact of kernel sizes. Moreover, the visualization results show that our method is capable of achieving a more suitable and finer edge for target objects. Furthermore, the center ratio to the border, the edge detection operator, the binary logistic regression, and the thresholds are analyzed. The model complexity and inference speed are also compared.

The rest of this paper is organized as follows. Section II introduces the related work about deformable convolutions and their applications. Section III then discusses the proposed Enhanced Deformable Convolution. Section IV shows the experimental setup and results. Finally, we conclude the paper in Section V.

References (21)