FlexConv: Continuous Kernel Convolutions With Differentiable Kernel Sizes
David W. Romero, Robert-Jan Bruintjes, Jakub Mikolaj Tomczak, Erik J. Bekkers, Mark Hoogendoorn, Jan van Gemert
Abstract
When designing Convolutional Neural Networks (CNNs), one must select the sizeof the convolutional kernels before training. Recent works show CNNs benefit from different kernel sizes at different layers, but exploring all possible combinations is unfeasible in practice. A more efficient approach is to learn the kernel size during training. However, existing works that learn the kernel size have a limited bandwidth. These approaches scale kernels by dilation, and thus the detail they can describe is limited. In this work, we propose FlexConv, a novel convolutional operation with which high bandwidth convolutional kernels of learnable kernel size can be learned at a fixed parameter cost. FlexNets model long-term dependencies without the use of pooling, achieve state-of-the-art performance on several sequential datasets, outperform recent works with learned kernel sizes, and are competitive with much deeper ResNets on image benchmark datasets. Additionally, FlexNets can be deployed at higher resolutions than those seen during training. To avoid aliasing, we propose a novel kernel parameterization with which the frequency of the kernels can be analytically controlled. Our novel kernel parameterization shows higher descriptive power and faster convergence speed than existing parameterizations. This leads to important improvements in classification accuracy.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
19 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture cites Efficiently Modeling Long Sequences with Structured State Spaces
- On the Parameterization and Initialization of Diagonal State Space Models cites Efficiently Modeling Long Sequences with Structured State Spaces
- Efficiently Modeling Long Sequences with Structured State Spaces cites On the Parameterization and Initialization of Diagonal State Space Models
- On the Parameterization and Initialization of Diagonal State Space Models cites Neural Controlled Differential Equations for Irregular Time Series
- Efficiently Modeling Long Sequences with Structured State Spaces cites Neural Controlled Differential Equations for Irregular Time Series
- Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs cites On the Relationship between Self-Attention and Convolutional Layers
- Alias-Free Generative Adversarial Networks cites Implicit Neural Representations with Periodic Activation Functions
- Simplified State Space Layers for Sequence Modeling cites On the Parameterization and Initialization of Diagonal State Space Models
- Simplified State Space Layers for Sequence Modeling cites Efficiently Modeling Long Sequences with Structured State Spaces
Cited by top-tier papers19
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
- Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNsXiaohan Ding, Xiangyu Zhang, Jungong Han, Guiguang DingCVPR 2022 · 1,298 citations
- On the Parameterization and Initialization of Diagonal State Space ModelsAlbert Gu, Karan Goel, Ankit Gupta, Christopher RéNeurIPS 2022 · 690 citations
- Monarch Mixer: A Simple Sub-Quadratic GEMM-Based ArchitectureDaniel Y. Fu, Simran Arora, Jessica Grogan, Isys Johnson et al.NeurIPS 2023 · 80 citations
- Simplified State Space Layers for Sequence ModelingJimmy T. H. Smith, Andrew Warrington, Scott W. LindermanICLR 2023 · 78 citations
Builds on15
- Implicit Neural Representations with Periodic Activation FunctionsVincent Sitzmann, Julien N. P. Martel, Alexander W. Bergman, David B. Lindell et al.NeurIPS 2020 · 4,008 citations
- Alias-Free Generative Adversarial NetworksTero Karras, Miika Aittala, Samuli Laine, Erik Härkönen et al.NeurIPS 2021 · 2,126 citations
- Neural Controlled Differential Equations for Irregular Time SeriesPatrick Kidger, James Morrill, James Foster, Terry J. LyonsNeurIPS 2020 · 850 citations
- On the Relationship between Self-Attention and Convolutional LayersJean-Baptiste Cordonnier, Andreas Loukas, Martin JaggiICLR 2020 · 629 citations
- Generalizing Convolutional Neural Networks for Equivariance to Lie Groups on Arbitrary Continuous DataMarc Finzi, Samuel Stanton, Pavel Izmailov, Andrew Gordon WilsonICML 2020 · 372 citations
Related papers
- EffConv: Efficient Learning of Kernel Sizes for Convolution Layers of CNNsAlireza Ganjdanesh, Shangqian Gao, Heng HuangAAAI 2023 · 11 citations
- CKConv: Continuous Kernel Convolution For Sequential DataDavid W. Romero, Anna Kuzina, Erik J. Bekkers, Jakub Mikolaj Tomczak et al.ICLR 2022 · 149 citations
- Frequency-Adaptive Dilated Convolution for Semantic SegmentationLinwei Chen, Lin Gu, Dezhi Zheng, Ying FuCVPR 2024
- Modelling Long Range Dependencies in D: From Task-Specific to a General Purpose CNNDavid M. Knigge, David W. Romero, Albert Gu, Efstratios Gavves et al.ICLR 2023 · 5 citations
- Differentiable Learning-to-Group Channels via Groupable Convolutional Neural NetworksZhaoyang Zhang, Jingyu Li, Wenqi Shao, Zhanglin Peng et al.ICCV 2019 · 39 citations
