[Paper Review] Revisiting Dynamic Convolution via Matrix Decomposition
This paper proposes Dynamic Convolution Decomposition (DCD), a matrix decomposition-based method that replaces dynamic attention over channel groups with dynamic channel fusion in a low-dimensional latent space. By reducing the latent dimensionality and decoupling dynamic coefficients from static kernels, DCD achieves 50% fewer parameters than prior methods while improving accuracy and training convergence on MobileNetV2 and ResNet.
Recent research in dynamic convolution shows substantial performance boost for efficient CNNs, due to the adaptive aggregation of K static convolution kernels. It has two limitations: (a) it increases the number of convolutional weights by K-times, and (b) the joint optimization of dynamic attention and static convolution kernels is challenging. In this paper, we revisit it from a new perspective of matrix decomposition and reveal the key issue is that dynamic convolution applies dynamic attention over channel groups after projecting into a higher dimensional latent space. To address this issue, we propose dynamic channel fusion to replace dynamic attention over channel groups. Dynamic channel fusion not only enables significant dimension reduction of the latent space, but also mitigates the joint optimization difficulty. As a result, our method is easier to train and requires significantly fewer parameters without sacrificing accuracy. Source code is at https://github.com/liyunsheng13/dcd.
Motivation & Objective
- Address the high parameter count and training instability in dynamic convolution due to K-fold kernel parameterization.
- Overcome the joint optimization difficulty between dynamic attention and static convolution kernels.
- Reframe dynamic convolution through matrix decomposition to expose the root cause: high-dimensional latent space from channel-group attention.
- Propose a more compact and trainable alternative using dynamic channel fusion in a low-dimensional latent space.
- Achieve improved model efficiency and accuracy without increasing computational cost significantly.
Proposed method
- Reformulate dynamic convolution using matrix decomposition: W(x) = W₀ + UΠ(x)SVᵀ, where Π(x) applies dynamic attention over K×C channel groups in a high-dimensional space.
- Identify that dynamic attention over channel groups causes high-dimensional latent space (KC channels), leading to small attention values and poor learning.
- Propose Dynamic Channel Fusion (DCF) using a full dynamic matrix Φ(x) in a low-dimensional latent space (L ≪ C), with Φ(x) fusing channels via PΦ(x)Qᵀ.
- Use two learnable matrices P and Q to compress input (Qᵀx ∈ ℝᴸ) and expand output (P ∈ ℝᶜˣᴸ), reducing parameter count and stabilizing training.
- Introduce dynamic channel-wise attention Λ(x) and residual scaling B for further model control and efficiency.
- Implement DCD in pointwise and classifier layers with full DCF and Λ(x), and in depthwise convolutions with DCF alone for compactness.
Experimental results
Research questions
- RQ1Why does dynamic convolution suffer from poor training convergence and high parameter count despite performance gains?
- RQ2How does the high-dimensional latent space induced by channel-group attention affect model optimization and parameter efficiency?
- RQ3Can dynamic channel fusion in a low-dimensional latent space outperform dynamic attention over channel groups in terms of accuracy and parameter efficiency?
- RQ4To what extent can matrix decomposition reveal the structural limitations of existing dynamic convolution methods?
- RQ5How does the dynamic behavior of the fusion matrix Φ(x) vary across network layers and input data?
Key findings
- DCD reduces parameters by 50% compared to Chen et al. (2020c) and 75% compared to Yang et al. (2019) on MobileNetV2 ×1.0, with no increase in MAdds.
- On ResNet-18, DCD uses only 33% of the parameters of Chen et al. (2020c) while achieving a 0.4% top-1 accuracy gain.
- DCD converges faster and reaches higher accuracy than DY-Conv (Chen et al., 2020c), even without large temperature tuning.
- Inference time increases by 12–14% on MobileNetV2 ×0.5 and ×1.0, but this overhead is justified by 3.2–4.8% top-1 accuracy gains.
- Normalized variance of dynamic coefficients σΦ increases in deeper layers, indicating stronger dynamic adaptation in higher-level features.
- Ablation studies confirm that combining dynamic channel fusion with channel-wise attention Λ(x) and full residual B=1 yields optimal performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.