Batch-shaping for learning conditional channel gated networks
Babak Ehteshami Bejnordi, Tijmen Blankevoort, Max Welling
Abstract
We present a method that trains large capacity neural networks with significantly improved accuracy and lower dynamic computational cost. We achieve this by gating the deep-learning architecture on a fine-grained-level. Individual convolutional maps are turned on/off conditionally on features in the network. To achieve this, we introduce a new residual block architecture that gates convolutional channels in a fine-grained manner. We also introduce a generally applicable tool - that matches the marginal aggregate posteriors of features in a neural network to a pre-specified prior distribution. We use this novel technique to force gates to be more conditional on the data. We present results on CIFAR-10 and ImageNet datasets for image classification, and Cityscapes for semantic segmentation. Our results show that our method can slim down large architectures conditionally, such that the average computational cost on the data is on par with a smaller architecture, but with higher accuracy. In particular, on ImageNet, our ResNet50 and ResNet34 gated networks obtain 74.60% and 72.55% top-1 accuracy compared to the 69.76% accuracy of the baseline ResNet18 model, for similar complexity. We also show that the resulting networks automatically learn to use more features for difficult examples and fewer features for simple examples.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 36cf9b3f-b807-4cbf-91fe-ec78f1f50e31Cited by top-tier papers17
- Learn to Match: Automatic Matching Network Design for Visual TrackingZhipeng Zhang, Yihao Liu, Xiao Wang, Bing Li et al.ICCV 2021 · 224 citations
- Dynamic Perceiver for Efficient Visual RecognitionYizeng Han, Dongchen Han, Zeyu Liu, Yulin Wang et al.ICCV 2023 · 45 citations
- Dynamic Dual Gating Neural NetworksFanrong Li, Gang Li, Xiangyu He, Jian ChengICCV 2021 · 40 citations
- Continual Object Detection via Prototypical Task Correlation Guided Gating MechanismBinbin Yang, Xinchi Deng, Han Shi, Changlin Li et al.CVPR 2022 · 39 citations
- Referring Expression Comprehension Using Language Adaptive InferenceWei Su, Peihan Miao, Huanzhang Dou, Yongjian Fu et al.AAAI 2023 · 34 citations
Related papers
- URNet: User-Resizable Residual Networks with Conditional Gating ModuleSang-Ho Lee, Simyung Chang, Nojun KwakAAAI 2020 · 11 citations
- Exposing and Exploiting Fine-Grained Block Structures for Fast and Accurate Sparse TrainingPeng Jiang, Lihan Hu, Shihui SongNeurIPS 2022 · 21 citations
- Dynamic Convolutions: Exploiting Spatial Sparsity for Faster InferenceThomas Verelst, Tinne TuytelaarsCVPR 2020
- Precision Gating: Improving Neural Network Efficiency with Dynamic Dual-Precision ActivationsYichi Zhang, Ritchie Zhao, Weizhe Hua, Nayun Xu et al.ICLR 2020 · 28 citations
- Prior Gradient Mask Guided Pruning-Aware Fine-TuningLinhang Cai, Zhulin An, Chuanguang Yang, Yangchun Yan et al.AAAI 2022 · 44 citations
