Abstract
XSepConv (Extremely Separated Convolution) is a novel building block designed to replace large depthwise convolutions in efficient neural networks. By decomposing large kernels into spatially separable components and adding a tiny $2\times2$ "compensatory" layer with a clever padding strategy, it achieves higher accuracy with significantly fewer parameters and lower computational costs (FLOPs).
Introduction
Modern efficient architectures like MobileNetV3 and EfficientNet have moved beyond standard $3\times3$ kernels, often using $5\times5$ or $7\times7$ depthwise convolutions to boost accuracy. However, the computational cost and parameter count of these kernels grow quadratically ($k^2$) with the kernel size.
While "spatially separable" convolutions (splitting a $k\times k$ kernel into $1\times k$ and $k\times 1$ passes) can reduce this cost to linear growth ($2k$), they have a major flaw: they are "blind" to diagonal information. This structural defect leads to significant information loss and lower accuracy. Furthermore, using even-sized kernels (like $2\times2$) often introduces a "shift problem," where feature maps become misaligned due to asymmetric padding.
The XSepConv Architecture
The XSepConv block addresses these issues through a three-stage sequential design:
- A $2\times2$ Depthwise Convolution: This small layer acts as the "secret sauce," capturing the diagonal and off-axis information that standard spatially separable layers miss.
- Spatially Separated Layers: A $1\times k$ depthwise convolution followed by a $k\times 1$ depthwise convolution. This handles the bulk of the receptive field expansion at a fraction of the cost of a full $k\times k$ kernel.
- Non-linearities: Batch Normalization and ReLU are applied after each sub-layer, effectively making the network deeper and increasing its representational power.
Solving the Spatial Shift Problem
A significant challenge with even-sized kernels is the "shift problem." Standard padding for a $2\times2$ kernel is asymmetric, causing the center of the receptive field to drift across layers. XSepConv solves this by implementing an improved symmetric padding strategy that alternates padding directions (e.g., right-bottom, left-top, left-bottom, right-top) across consecutive layers. This ensures that the cumulative spatial shift is zeroed out by the time the data reaches the final output, maintaining global spatial alignment.
Experimental Results
The researchers evaluated XSepConv by integrating it into the MobileNetV3-Small architecture and testing it on several benchmark datasets, including CIFAR-10/100, SVHN, and Tiny-ImageNet. Key findings include:
- Efficiency Scaling: The efficiency gains of XSepConv improve as the kernel size $k$ increases. For a $5\times5$ kernel, XSepConv reduces parameters and FLOPs by roughly 44%.
- Accuracy Boost: On Tiny-ImageNet, replacing $5\times5$ kernels with XSepConv ($k=5$) improved Top-1 accuracy by 0.5% while reducing FLOPs by 4.75%.
- Ablation Studies: Removing the $2\times2$ layer caused a consistent drop in accuracy, confirming its role as an essential bridge that fills the "diagonal gaps" left by separable filters.
Conclusion and Future Work
XSepConv consistently strikes a better trade-off between accuracy and efficiency than vanilla depthwise convolutions. While the block increases the number of layers—which may impact memory access latency on specific hardware—its theoretical efficiency in terms of FLOPs and parameters is superior. Future work suggests that XSepConv could be a powerful addition to the search space for Neural Architecture Search (NAS) to discover even more optimized mobile models.
Summary updated