FMDConv: Fast Multi-Attention Dynamic Convolution via Speed-Accuracy Trade-off
This work addresses efficiency challenges for deploying dynamic convolution in resource-constrained environments like federated edge computing, representing an incremental improvement over prior methods.
The paper tackles the computational overhead of dynamic convolution in CNNs by proposing FMDConv, which integrates multi-attention mechanisms to optimize speed-accuracy trade-offs, achieving up to 49.8% reduction in computational cost on ResNet-18 while maintaining competitive accuracy.
Spatial convolution is fundamental in constructing deep Convolutional Neural Networks (CNNs) for visual recognition. While dynamic convolution enhances model accuracy by adaptively combining static kernels, it incurs significant computational overhead, limiting its deployment in resource-constrained environments such as federated edge computing. To address this, we propose Fast Multi-Attention Dynamic Convolution (FMDConv), which integrates input attention, temperature-degraded kernel attention, and output attention to optimize the speed-accuracy trade-off. FMDConv achieves a better balance between accuracy and efficiency by selectively enhancing feature extraction with lower complexity. Furthermore, we introduce two novel quantitative metrics, the Inverse Efficiency Score and Rate-Correct Score, to systematically evaluate this trade-off. Extensive experiments on CIFAR-10, CIFAR-100, and ImageNet demonstrate that FMDConv reduces the computational cost by up to 49.8\% on ResNet-18 and 42.2\% on ResNet-50 compared to prior multi-attention dynamic convolution methods while maintaining competitive accuracy. These advantages make FMDConv highly suitable for real-world, resource-constrained applications.