Skip to main content
QUICK REVIEW

[Paper Review] You Look Twice: GaterNet for Dynamic Filter Selection in CNNs

Zhourong Chen, Li Yang|arXiv (Cornell University)|Nov 27, 2018
Advanced Neural Network ApplicationsComputer Science31 references6 citations
TL;DR

GaterNet proposes a novel framework for dynamic filter selection in CNNs using a dedicated gater network that generates input-dependent binary gates to activate specific filters in a backbone network. By employing Improved SemHash for differentiable training of binary gates, GaterNet achieves state-of-the-art performance on CIFAR-10 with only 1.2% more parameters and consistently outperforms baseline models on ImageNet with significant accuracy gains.

ABSTRACT

The concept of conditional computation for deep nets has been proposed previously to improve model performance by selectively using only parts of the model conditioned on the sample it is processing. In this paper, we investigate input-dependent dynamic filter selection in deep convolutional neural networks (CNNs). The problem is interesting because the idea of forcing different parts of the model to learn from different types of samples may help us acquire better filters in CNNs, improve the model generalization performance and potentially increase the interpretability of model behavior. We propose a novel yet simple framework called GaterNet, which involves a backbone and a gater network. The backbone network is a regular CNN that performs the major computation needed for making a prediction, while a global gater network is introduced to generate binary gates for selectively activating filters in the backbone network based on each input. Extensive experiments on CIFAR and ImageNet datasets show that our models consistently outperform the original models with a large margin. On CIFAR-10, our model also improves upon state-of-the-art results.

Motivation & Objective

  • To improve CNN generalization by enabling input-dependent dynamic filter selection based on a holistic view of the input.
  • To design a trainable, end-to-end framework for selecting filters in a CNN using a global gating mechanism.
  • To reduce computational cost and improve model interpretability through selective activation of filters based on input content.
  • To outperform fixed-architecture CNNs and existing conditional computation methods on standard benchmarks like CIFAR and ImageNet.
  • To analyze whether the gater learns intuitive and effective gating strategies for filter selection.

Proposed method

  • A dedicated gater network processes the input and generates binary gates for filter selection in the backbone CNN.
  • The gater uses a global view of the input to make holistic decisions on which filters to activate, unlike local configuration methods.
  • Improved SemHash is applied to enable differentiable training of the binary gates, allowing joint back-propagation through both backbone and gater.
  • Filter selection is applied selectively—e.g., to the last convolutional layer in each residual block of ResNet or after concatenation in Inception-v4.
  • The backbone and gater are pre-trained separately, then jointly fine-tuned using standard training schemes with minor adjustments for convergence.
  • The framework supports combinatorial filter selection, enabling a large number of dynamic sub-branch configurations per input.

Experimental results

Research questions

  • RQ1Can a global gater network learn effective, input-dependent filter selection strategies that improve CNN generalization?
  • RQ2Does dynamic filter selection via a learnable binary gating mechanism lead to better performance than fixed architectures on ImageNet and CIFAR-10?
  • RQ3How does GaterNet compare to state-of-the-art models in terms of accuracy and parameter efficiency?
  • RQ4Can the gater network learn intuitive and interpretable gating patterns based on input content?
  • RQ5Does the proposed method maintain training stability and convergence despite the use of binary gates?

Key findings

  • On CIFAR-10, GaterNet achieves a top-1 error rate of 4.51%, outperforming the original ResNet-18 and state-of-the-art models with only 1.2% more parameters.
  • ResNet-101-Gated reduces ImageNet top-1 error from 23.36% to 21.51%, a 1.85 percentage point improvement, despite using fewer layers than ResNet-152.
  • ResNet-152-Gated achieves 21.19% top-1 error, surpassing the original ResNet-152 (22.34%) and ResNet-152-SE (21.57%), demonstrating strong performance gains.
  • Inception-v4-Gated reduces top-1 error from 20.33% to 19.64% and top-5 error from 4.99% to 4.80%, showing consistent gains across multiple architectures.
  • The gater network learns effective gating strategies, as evidenced by analysis showing it selects filters based on meaningful input characteristics.
  • The method is robust across architectures: improvements are observed on ResNet, DenseNet, Shake-Shake, and Inception-v4, indicating broad applicability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.