KernelWarehouse: Rethinking the Design of Dynamic Convolution

Chao Li, Anbang Yao
2/12/2026

No official code found. Best implementation: OSVAI/KernelWarehouse (102 stars, Apache-2.0, last commit 2024-06-13).

Abstract

Dynamic convolution learns a linear mixture of n static kernels weighted with their input-dependent attentions, demonstrating superior performance than normal convolution. However, it increases the number of convolutional parameters by n times, and thus is not parameter efficient. This leads to no research progress that can allow researchers to explore the setting n>100 (an order of magnitude larger than the typical setting n<10) for pushing forward the performance boundary of dynamic convolution while enjoying parameter efficiency. To fill this gap, in this paper, we propose KernelWarehouse, a more general form of dynamic convolution, which redefines the basic concepts of ``kernels", ``assembling kernels"and ``attention function"through the lens of exploiting convolutional parameter dependencies within the same layer and across neighboring layers of a ConvNet. We testify the effectiveness of KernelWarehouse on ImageNet and MS-COCO datasets using various ConvNet architectures. Intriguingly, KernelWarehouse is also applicable to Vision Transformers, and it can even reduce the model size of a backbone while improving the model accuracy. For instance, KernelWarehouse (n=4) achieves 5.61%|3.90%|4.38% absolute top-1 accuracy gain on the ResNet18|MobileNetV2|DeiT-Tiny backbone, and KernelWarehouse (n=1/4) with 65.10% model size reduction still achieves 2.29% gain on the ResNet18 backbone. The code and models are available at https://github.com/OSVAI/KernelWarehouse.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

The official project website of "KernelWarehouse: Rethinking the Design of Dynamic Convolution" (KW for short, published in ICML 2024)

1026PythonAug 10, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{li2026kernelwarehouse,
  title  = {KernelWarehouse: Rethinking the Design of Dynamic Convolution},
  author = {Chao Li and Anbang Yao},
  year   = {2026},
  eprint = {2406.07879},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2406.07879},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.07879.svg)](https://codeofpaper.com/paper/2406.07879)

Discussion