Lune

AAAI2023Top-tier venue

EffConv: Efficient Learning of Kernel Sizes for Convolution Layers of CNNs

Alireza Ganjdanesh, Shangqian Gao, Heng Huang

Abstract

Determining kernel sizes of a CNN model is a crucial and non-trivial design choice and significantly impacts its performance. The majority of kernel size design methods rely on complex heuristic tricks or leverage neural architecture search that requires extreme computational resources. Thus, learning kernel sizes, using methods such as modeling kernels as a combination of basis functions, jointly with the model weights has been proposed as a workaround. However, previous methods cannot achieve satisfactory results or are inefficient for large-scale datasets. To fill this gap, we design a novel efficient kernel size learning method in which a size predictor model learns to predict optimal kernel sizes for a classifier given a desired number of parameters. It does so in collaboration with a kernel predictor model that predicts the weights of the kernels - given kernel sizes predicted by the size predictor - to minimize the training objective, and both models are trained end-to-end. Our method only needs a small fraction of the training epochs of the original CNN to train these two models and find proper kernel sizes for it. Thus, it offers an efficient and effective solution for the kernel size learning problem. Our extensive experiments on MNIST, CIFAR-10, STL-10, and ImageNet-32 demonstrate that our method can achieve the best training time vs. accuracy trade-off compared to previous kernel size learning methods and significantly outperform them on challenging datasets such as STL-10 and ImageNet-32. Our implementations are available at https://github.com/Alii-Ganjj/EffConv.

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.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Model Rubik's Cube: Twisting Resolution, Depth and Width for TinyNets cites Searching for MobileNetV3
  • BilevelPruning: Unified Dynamic and Static Channel Pruning for Convolutional Neural Networks cites Compressing Image-to-Image Translation GANs Using Local Density Structures on Their Learned Manifold
  • More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsity cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Jointly Training and Pruning CNNs via Learnable Agent Guidance and Alignment cites Model Rubik's Cube: Twisting Resolution, Depth and Width for TinyNets
  • Jointly Training and Pruning CNNs via Learnable Agent Guidance and Alignment cites Searching for MobileNetV3
  • Jointly Training and Pruning CNNs via Learnable Agent Guidance and Alignment cites Compressing Image-to-Image Translation GANs Using Local Density Structures on Their Learned Manifold
  • Jointly Training and Pruning CNNs via Learnable Agent Guidance and Alignment cites More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsity
  • Device-Wise Federated Network Pruning cites Compressing Image-to-Image Translation GANs Using Local Density Structures on Their Learned Manifold
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Compressing Image-to-Image Translation GANs Using Local Density Structures on Their Learned ManifoldAlireza Ganjdanesh, Shangqian Gao, Hirad Alipanah, Heng HuangAAAI 2024 · 11 citations
  2. BilevelPruning: Unified Dynamic and Static Channel Pruning for Convolutional Neural NetworksShangqian Gao, Yanfu Zhang, Feihu Huang, Heng HuangCVPR 2024
  3. Jointly Training and Pruning CNNs via Learnable Agent Guidance and AlignmentAlireza Ganjdanesh, Shangqian Gao, Heng HuangCVPR 2024
  4. Device-Wise Federated Network PruningShangqian Gao, Junyi Li, Zeyu Zhang, Yanfu Zhang et al.CVPR 2024

Builds on9

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. Searching for MobileNetV3Andrew Howard, Ruoming Pang, Hartwig Adam, Quoc V. Le et al.ICCV 2019 · 9,163 citations
  3. CKConv: Continuous Kernel Convolution For Sequential DataDavid W. Romero, Anna Kuzina, Erik J. Bekkers, Jakub Mikolaj Tomczak et al.ICLR 2022 · 149 citations
  4. Model Rubik's Cube: Twisting Resolution, Depth and Width for TinyNetsKai Han, Yunhe Wang, Qiulin Zhang, Wei Zhang et al.NeurIPS 2020 · 115 citations
  5. More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using SparsityShiwei Liu, Tianlong Chen, Xiaohan Chen, Xuxi Chen et al.ICLR 2023 · 87 citations

Related papers

  1. FlexConv: Continuous Kernel Convolutions With Differentiable Kernel SizesDavid W. Romero, Robert-Jan Bruintjes, Jakub Mikolaj Tomczak, Erik J. Bekkers et al.ICLR 2022 · 94 citations
  2. Parameter Prediction for Unseen Deep ArchitecturesBoris Knyazev, Michal Drozdzal, Graham W. Taylor, Adriana Romero-SorianoNeurIPS 2021 · 111 citations
  3. EfficientNetV2: Smaller Models and Faster TrainingMingxing Tan, Quoc V. LeICML 2021 · 4,239 citations
  4. AtomNAS: Fine-Grained End-to-End Neural Architecture SearchJieru Mei, Yingwei Li, Xiaochen Lian, Xiaojie Jin et al.ICLR 2020 · 110 citations
  5. Learning Filter Basis for Convolutional Neural Network CompressionYawei Li, Shuhang Gu, Luc Van Gool, Radu TimofteICCV 2019 · 106 citations
Dusk over the sea between two cliffs drawn in fine vertical lines