Skip to main content
QUICK REVIEW

[Paper Review] Compressing Convolutional Neural Networks

Wenlin Chen, James T. Wilson|arXiv (Cornell University)|Jun 14, 2015
Neural Networks and ApplicationsComputer Science29 references32 citations
TL;DR

This paper proposes FreshNets, a novel method for compressing convolutional neural networks by exploiting the frequency-domain smoothness of learned filters. By applying a discrete cosine transform (DCT) to filter weights and using frequency-sensitive hashing—where low-frequency components are preserved with more hash buckets than high-frequency ones—it achieves superior compression efficiency, reducing model size with minimal accuracy loss, outperforming baselines by significant margins at high compression rates.

ABSTRACT

Convolutional neural networks (CNN) are increasingly used in many areas of computer vision. They are particularly attractive because of their ability to "absorb" great quantities of labeled data through millions of parameters. However, as model sizes increase, so do the storage and memory requirements of the classifiers. We present a novel network architecture, Frequency-Sensitive Hashed Nets (FreshNets), which exploits inherent redundancy in both convolutional layers and fully-connected layers of a deep learning model, leading to dramatic savings in memory and storage consumption. Based on the key observation that the weights of learned convolutional filters are typically smooth and low-frequency, we first convert filter weights to the frequency domain with a discrete cosine transform (DCT) and use a low-cost hash function to randomly group frequency parameters into hash buckets. All parameters assigned the same hash bucket share a single value learned with standard back-propagation. To further reduce model size we allocate fewer hash buckets to high-frequency components, which are generally less important. We evaluate FreshNets on eight data sets, and show that it leads to drastically better compressed performance than several relevant baselines.

Motivation & Objective

  • To address the growing memory and storage demands of deep CNNs in mobile and embedded systems.
  • To exploit inherent smoothness and low-frequency dominance in learned convolutional filters for effective compression.
  • To develop a parameter-free, trainable compression method that maintains high test accuracy even under extreme compression.
  • To outperform existing compression techniques such as low-rank decomposition, weight quantization, and spatial-domain hashing.

Proposed method

  • Transforming convolutional filter weights into the frequency domain using the discrete cosine transform (DCT).
  • Applying a random hash function to group frequency-domain coefficients into shared buckets, with shared values learned via standard back-propagation.
  • Allocating fewer hash buckets to high-frequency components based on their lower importance, enabling frequency-sensitive compression.
  • Reconstructing filters during inference using inverse DCT and the hashed frequency coefficients.
  • Using a beta distribution to parameterize compression rates per frequency band, allowing adaptive allocation of hash buckets.
  • Limiting weight sharing to similar frequency components to preserve structural filter properties.

Experimental results

Research questions

  • RQ1Can frequency-domain transformation and hashing significantly reduce CNN model size while preserving accuracy?
  • RQ2Does frequency-sensitive hashing—allocating more hash buckets to low-frequency components—improve compressed model performance compared to uniform or spatial-domain hashing?
  • RQ3How does the proposed method compare to existing compression baselines like low-rank decomposition, quantization, and feature hashing in terms of accuracy and compression ratio?
  • RQ4To what extent does the method preserve the smoothness and structural properties of learned filters during compression?

Key findings

  • FreshNets outperforms all baselines in compressed model performance, especially at high compression rates (e.g., 1/64 and 1/256), achieving the lowest generalization error across eight datasets.
  • The frequency-sensitive hashing scheme with fewer buckets for high frequencies (blue curve in Figure 4) achieved the best test error, outperforming uniform (red) and inverse (purple) schemes.
  • Filter visualizations show that FreshNets preserves smoothness in learned filters, while HashedNets produce chaotic, non-smooth patterns due to spatial-domain weight sharing.
  • The method maintains high accuracy even at extreme compression rates, with normalized test error 1.2–1.5x lower than frequency-oblivious schemes across multiple compression levels.
  • The key advantage lies in preserving low-frequency components—critical for image representation—while allowing higher compression in less important high-frequency regions.

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.