Skip to main content
QUICK REVIEW

[Paper Review] Training Compact CNNs for Image Classification using Dynamic-coded Filter Fusion

Mingbao Lin, Bohong Chen|arXiv (Cornell University)|Jul 14, 2021
Advanced Neural Network ApplicationsComputer Science62 references6 citations
TL;DR

This paper proposes Dynamic-coded Filter Fusion (DCFF), a novel filter pruning method that trains compact CNNs without relying on pretrained models or sparse regularization. By using a temperature-controlled inter-similarity distribution as a filter proxy, DCFF dynamically evaluates filter importance and fuses filters via weighted averages, enabling efficient, end-to-end training from scratch. The method achieves state-of-the-art accuracy with significant FLOP and parameter reductions, e.g., 72.77M FLOPs and 1.06M parameters in a compact VGGNet-16 with 93.47% top-1 accuracy on CIFAR-10.

ABSTRACT

The mainstream approach for filter pruning is usually either to force a hard-coded importance estimation upon a computation-heavy pretrained model to select "important" filters, or to impose a hyperparameter-sensitive sparse constraint on the loss objective to regularize the network training. In this paper, we present a novel filter pruning method, dubbed dynamic-coded filter fusion (DCFF), to derive compact CNNs in a computation-economical and regularization-free manner for efficient image classification. Each filter in our DCFF is firstly given an inter-similarity distribution with a temperature parameter as a filter proxy, on top of which, a fresh Kullback-Leibler divergence based dynamic-coded criterion is proposed to evaluate the filter importance. In contrast to simply keeping high-score filters in other methods, we propose the concept of filter fusion, i.e., the weighted averages using the assigned proxies, as our preserved filters. We obtain a one-hot inter-similarity distribution as the temperature parameter approaches infinity. Thus, the relative importance of each filter can vary along with the training of the compact CNN, leading to dynamically changeable fused filters without both the dependency on the pretrained model and the introduction of sparse constraints. Extensive experiments on classification benchmarks demonstrate the superiority of our DCFF over the compared counterparts. For example, our DCFF derives a compact VGGNet-16 with only 72.77M FLOPs and 1.06M parameters while reaching top-1 accuracy of 93.47% on CIFAR-10. A compact ResNet-50 is obtained with 63.8% FLOPs and 58.6% parameter reductions, retaining 75.60% top-1 accuracy on ILSVRC-2012. Our code, narrower models and training logs are available at https://github.com/lmbxmu/DCFF.

Motivation & Objective

  • To address the limitations of existing filter pruning methods that depend on heavy pretraining or hyperparameter-sensitive sparsity constraints.
  • To develop a method for deriving compact CNNs that are both computation-efficient and accurate without requiring fine-tuning or sparse regularization.
  • To enable dynamic filter importance evaluation during training by using a temperature-controlled inter-similarity proxy.
  • To replace filter removal with filter fusion, preserving model capacity through weighted averaging of filters based on their relative importance.
  • To demonstrate that compact models can be trained from scratch with superior performance and reduced complexity.

Proposed method

  • Each filter is assigned a temperature-controlled inter-similarity distribution as a proxy to represent its representativeness.
  • A Kullback-Leibler divergence-based dynamic-coded criterion evaluates filter importance by comparing each filter's proxy to the average proxy across filters.
  • Filters with lower importance scores are not discarded but fused via weighted averaging using their assigned proxy as the fusion weight.
  • The fused filters are preserved as the final compact model, while the original filters are updated via backpropagation during training.
  • The temperature parameter T is gradually increased to approach infinity, causing the proxy distribution to converge to a one-hot vector, enabling dynamic importance re-evaluation.
  • The method operates end-to-end from scratch, eliminating dependency on pretraining and avoiding sparse regularization constraints.

Experimental results

Research questions

  • RQ1Can filter pruning be performed without relying on a computation-heavy pretrained model?
  • RQ2Can dynamic filter importance evaluation be achieved without introducing hyperparameter-sensitive sparsity constraints?
  • RQ3Does filter fusion using proxy-based weighted averaging outperform simple filter removal in maintaining model accuracy?
  • RQ4Can a compact CNN be trained from scratch using a regularization-free, end-to-end approach that achieves state-of-the-art performance?
  • RQ5How does the temperature parameter in the proxy distribution affect the stability and performance of the final compact model?

Key findings

  • DCFF achieves 93.47% top-1 accuracy on CIFAR-10 with only 72.77M FLOPs and 1.06M parameters in a compact VGGNet-16.
  • For ResNet-50, DCFF reduces FLOPs by 63.8% and parameters by 58.6% while retaining 75.60% top-1 accuracy on ImageNet.
  • Performance stabilizes when the temperature parameter T is increased to 10^4, approaching the one-hot distribution required for stable importance coding.
  • Using structure search (ABCPruner) or global ranking (EagleEye) for per-layer pruning ratios improves performance over manual ratios, with DCFF achieving 75.79% top-1 accuracy at 2256M FLOPs and 18.02M parameters.
  • Random filter fusion degrades performance to 55.63%, confirming that heuristic guidance via proxy-based importance is essential.
  • The method outperforms existing baselines in both accuracy and efficiency, demonstrating superiority in compact CNN training without pretraining or sparsity constraints.

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.