HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

FlexConv: Continuous Kernel Convolutions with Differentiable Kernel Sizes

David W. Romero; Robert-Jan Bruintjes; Jakub M. Tomczak; Erik J. Bekkers; Mark Hoogendoorn; Jan C. van Gemert

FlexConv: Continuous Kernel Convolutions with Differentiable Kernel Sizes

Abstract

When designing Convolutional Neural Networks (CNNs), one must select the size\break of 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.

Code Repositories

rjbruin/flexconv
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-classification-on-cifar-10FlexTCN-7
Percentage correct: 92.2
sequential-image-classification-on-noiseFlexTCN-6
% Test Accuracy: 69.87%
sequential-image-classification-on-sequentialFlexTCN-6
Unpermuted Accuracy: 99.62%
sequential-image-classification-on-sequentialFlexTCN-4
Permuted Accuracy: 98.72%
sequential-image-classification-on-sequential-1FlexTCN-6
Unpermuted Accuracy: 80.82%
time-series-on-speech-commandsFlexTCN-6
% Test Accuracy (Raw Data): 91.73
time-series-on-speech-commandsFlexTCN-4
% Test Accuracy: 97.73

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
FlexConv: Continuous Kernel Convolutions with Differentiable Kernel Sizes | Papers | HyperAI