Deep k-Means: Re-Training and Parameter Sharing with Harder Cluster Assignments for Compressing Deep Convolutions

By Junru Wu, Yue Wang, Zhenyu Wu, Zhangyang Wang, Ashok Narayanan Veeraraghavan, Yingyan Lin. 2018

121 citations recorded by the source corpus.

The current trend of pushing CNNs deeper with convolutions has created a pressing demand to achieve higher compression gains on CNNs where convolutions dominate the computation and parameter amount (e.g., GoogLeNet, ResNet and Wide ResNet). Further, the high energy consumption of convolutions limits its deployment on mobile devices. To this end, we proposed a simple yet effective scheme for compressing convolutions though applying k-means clustering on the weights, compression is achieved through weight-sharing, by only recording $K$ cluster centers and weight assignment indexes. We then introduced a novel spectrally relaxed $k$-means regularization, which tends to make hard assignments of convolutional layer weights to $K$ learned cluster centers during re-training. We additionally propose an improved set of metrics to estimate energy consumption of CNN hardware implementations, whose estimation results are verified to be consistent with previously proposed energy estimation tool extrapolated from actual hardware measurements. We finally evaluated Deep $k$-Means across several CNN models in terms of both compression ratio and energy consumption reduction, observing promising results without incurring accuracy loss. The code is available at this https URL

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Zhangyang Wang
  2. Jonathan Frankle
  3. Michael Carbin
  4. Tianlong Chen
  5. Shiyu Chang
  6. Song Han
  7. Sijia Liu
  8. Mohammad Rastegari

In Computer Vision and Pattern Recognition

  1. Zhangyang Wang
  2. Shiyu Chang
  3. Jonathan Frankle
  4. Song Han
  5. Michael Carbin
  6. Tianlong Chen
  7. Mohammad Rastegari
  8. Ming-Hsuan Yang

Citations in the corpus