Traditional Convolutional Neural Networks (CNNs) rely on rigid, square kernels that often struggle to efficiently capture the irregular shapes of real-world objects. This paper introduces Irregular Convolutional Neural Networks (ICNNs), a novel approach that transforms the physical shape of the convolutional kernel into a learnable parameter. By leveraging bilinear interpolation to enable differentiable coordinate shifts, ICNNs can learn custom kernel geometries during standard backpropagation, significantly boosting performance in semantic segmentation tasks without the need for additional sub-networks.
The Problem: Rigid Kernels vs. Irregular Objects
In standard CNN architectures, convolutional kernels are defined by fixed, regular shapes, typically a rigid $3 \times 3$ grid. However, the objects encountered in computer vision—such as humans, vehicles, or animals—possess highly irregular and dynamic geometries.
When a rigid square kernel processes an irregular object, it often wastes computational capacity. It must learn numerous near-zero weights simply to "ignore" the background, which is inherently inefficient. While techniques like dilated convolutions expand the receptive field, they still operate on a fixed grid. Other methods, such as Deformable Convolutional Networks (DCNs), address this by using auxiliary sub-networks to predict pixel-wise offsets. ICNNs propose a more direct solution: making the spatial coordinates of the kernel weights themselves learnable parameters, allowing the network to dynamically mold its kernels to match the geometric variations of the input data.
Methodology: Learning Kernel Geometry
The authors introduce a new data structure for convolutional kernels that incorporates both traditional weights and new position attributes (X and Y coordinates).
Learnable Positions and Differentiability
Instead of a fixed $3 \times 3$ grid, the coordinates of the nine points in a kernel are allowed to shift during training. Because standard image coordinates are discrete integers, passing gradients through them is not straightforward. To overcome this, the authors employ bilinear interpolation to sample from a continuous feature space. This makes the position shifts differentiable, allowing the kernel shapes to be updated simultaneously with the weights via standard backpropagation.
Practical Implementation
To maintain computational efficiency and avoid a significant bottleneck, the authors implement a shared-geometry approach. Rather than each individual kernel having a unique geometry, all kernels within a single convolutional layer share the same learned irregular shape. This significantly reduces the overhead while still allowing the layer to adapt to the general geometric features of the data at that depth.
Experimental Evaluation
The paper evaluates ICNNs on semantic segmentation, a task highly sensitive to object boundaries. The model was integrated into a ResNet-101 backbone and compared against a DeepLab-LargeFOV baseline across three major benchmarks:
- PASCAL VOC 2012: Replacing standard convolutions with irregular kernels in roughly half the network improved the mean Intersection-over-Union (mIoU) from 72.8% to 75.3%.
- PASCAL CONTEXT: mIoU increased from 41.7% to 43.1%.
- CITYSCAPE: mIoU increased from 71.0% to 72.9%.
Key Insights and Future Work
Visualizations of the learned kernels reveal that points naturally drift away from the initial grid to form irregular clusters or, in deeper layers, long "strip" shapes. This evolution allows deeper layers to capture a wider global receptive field using the same number of parameters. Furthermore, heatmap visualizations show that irregular kernels are superior at filtering background noise, focusing activations tightly on target objects.
Despite these gains, the current implementation's reliance on shared shapes within a layer is a limitation. Future work aims to develop "full-version" ICNNs where every kernel can learn a unique shape, requiring advancements in parallel computation and matrix calculation. Additionally, the authors are exploring improved interpolation strategies to allow for larger coordinate updates during training.
Summary updated