paper-with-me

홈 › Papers

Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Coding

2015-10-01 · Song Han, Huizi Mao, William J. Dally

Neural networks are both computationally intensive and memory intensive, making them difficult to deploy on embedded systems with limited hardware resources. To address this limitation, we introduce "deep compression", a three stage pipeline: pruning, trained quantization and Huffman coding, that work together to reduce the storage requirement of neural networks by 35x to 49x without affecting their accuracy. Our method first prunes the network by learning only the important connections. Next, we quantize the weights to enforce weight sharing, finally, we apply Huffman coding. After the first two steps we retrain the network to fine tune the remaining connections and the quantized centroids. Pruning, reduces the number of connections by 9x to 13x; Quantization then reduces the number of bits that represent each connection from 32 to 5. On the ImageNet dataset, our method reduced the storage required by AlexNet by 35x, from 240MB to 6.9MB, without loss of accuracy. Our method reduced the size of VGG-16 by 49x from 552MB to 11.3MB, again with no loss of accuracy. This allows fitting the model into on-chip SRAM cache rather than off-chip DRAM memory. Our compression method also facilitates the use of complex neural networks in mobile applications where application size and download bandwidth are constrained. Benchmarked on CPU, GPU and mobile GPU, compressed network has 3x to 4x layerwise speedup and 3x to 7x better energy efficiency.

📄 PDF Abstract BibTeX arXiv:1510.00149

Code (15)

Irtza/Keras_model_compression
KarenUllrich/Tutorial_BayesianCompressionForDL pytorch
NervanaSystems/distiller pytorch
Simon-lsy/Deep_Compression tf
bemova/Deep-Compression-Compressing-Deep-Neural-Networks-with-Pruning-Trained-Quantization-and-Huffman pytorch
cambridge-mlg/miracle tf
cambridge-mlg/variational-shannon-coding tf
ciodar/deep-compression pytorch
heguixiang/caffe_deep_compression
isha-garg/Deep_Compression
jiali-ms/JLM tf
lovepan1/caffe_ssd_traffic
may0324/DeepCompression-caffe
songhan/Deep-Compression-AlexNet caffe2
songhan/SqueezeNet-Deep-Compression caffe2

Tasks

CPUGPUNetwork PruningQuantization

Methods 이 논문이 사용한 방법론

1x1 Convolution A 1 x 1 Convolution is a convolution with some special properties in that it can be used for dimensionality reduction,…
Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…
Local Response Normalization Local Response Normalization is a normalization layer that implements the idea of lateral inhibition. Lateral inhibition is a concept in neurobiology that refers to the…
Grouped Convolution A Grouped Convolution uses a group of convolutions - multiple kernels per layer - resulting in multiple channel outputs per layer. This leads to wider networks helping a…
ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Max Pooling Max Pooling is a pooling operation that calculates the maximum value for patches of a feature map, and uses it to create a downsampled (pooled) feature map. It is usually…

Similar Papers 제목 키워드 기반

A Full Compression Pipeline for Green Federated Learning in Communication-Constrained Environments

2026-04-13 · Elouan Colybes, Shirin Salehi, Anke Schmeink arxiv

Federated Learning (FL) enables collaborative model training across distributed clients without sharing raw data, thereby preserving privacy. However, FL often suffers from significant communication and computational ove…

Federated Learning

Layer-Wise Data-Free CNN Compression

2020-11-18 · Maxwell Horton, Yanzi Jin, Ali Farhadi, Mohammad Rastegari

We present a computationally efficient method for compressing a trained neural network without using real data. We break the problem of data-free network compression into independent layer-wise compressions. We show how …

Quantization

Exploiting Weight Redundancy in CNNs: Beyond Pruning and Quantization

2020-06-22 · Yuan Wen, David Gregg

Pruning and quantization are proven methods for improving the performance and storage efficiency of convolutional neural networks (CNNs). Pruning removes near-zero weights in tensors and masks weak connections between ne…

Quantization

OPQ: Compressing Deep Neural Networks with One-shot Pruning-Quantization

2022-05-23 · Peng Hu, Xi Peng, Hongyuan Zhu, Mohamed M. Sabry Aly 외

As Deep Neural Networks (DNNs) usually are overparameterized and have millions of weight parameters, it is challenging to deploy these large DNN models on resource-constrained hardware platforms, e.g., smartphones. Numer…

Quantization

Rate Distortion For Model Compression: From Theory To Practice

2018-10-09 · Weihao Gao, Yu-Han Liu, Chong Wang, Sewoong Oh

The enormous size of modern deep neural networks makes it challenging to deploy those models in memory and communication limited scenarios. Thus, compressing a trained model without a significant loss in performance has …

Data CompressionModel CompressionQuantization