[Paper Review] An Overview of Neural Network Compression
This paper provides a timely overview of neural network compression techniques. It covers weight sharing, pruning, tensor decomposition, knowledge distillation, and quantization, along with evaluation metrics and future directions.
Overparameterized networks trained to convergence have shown impressive performance in domains such as computer vision and natural language processing. Pushing state of the art on salient tasks within these domains corresponds to these models becoming larger and more difficult for machine learning practitioners to use given the increasing memory and storage requirements, not to mention the larger carbon footprint. Thus, in recent years there has been a resurgence in model compression techniques, particularly for deep convolutional neural networks and self-attention based networks such as the Transformer. Hence, this paper provides a timely overview of both old and current compression techniques for deep neural networks, including pruning, quantization, tensor decomposition, knowledge distillation and combinations thereof. We assume a basic familiarity with deep learning architectures\footnote{For an introduction to deep learning, see ~\citet{goodfellow2016deep}}, namely, Recurrent Neural Networks~\citep[(RNNs)][]{rumelhart1985learning,hochreiter1997long}, Convolutional Neural Networks~\citep{fukushima1980neocognitron}~\footnote{For an up to date overview see~\citet{khan2019survey}} and Self-Attention based networks~\citep{vaswani2017attention}\footnote{For a general overview of self-attention networks, see ~\citet{chaudhari2019attentive}.},\footnote{For more detail and their use in natural language processing, see~\citet{hu2019introductory}}. Most of the papers discussed are proposed in the context of at least one of these DNN architectures.
Motivation & Objective
- Motivate the need for model compression due to large overparameterized networks and resource constraints.
- Provide a structured overview of compression techniques across major families (weight sharing, pruning, tensor decompositions, distillation, quantization).
- Discuss evaluation metrics and practical considerations, including retraining and deployment in real systems.
- Highlight applications and trends in large architectures like CNNs and Transformers, and outline future research directions.
Proposed method
- Systematically survey major compression techniques: weight sharing, pruning, tensor decomposition, knowledge distillation, and quantization.
- Categorize methods (e.g., unstructured vs structured pruning) and discuss pre- and post-training approaches.
- Summarize evaluation metrics and practical retraining needs used to assess compressed models.
- Describe notable techniques within each category (e.g., Gaussian mixture weight sharing, GrOWL, loss-sensitivity pruning, DEQ/DEM, universal transformers).
Experimental results
Research questions
- RQ1What compression techniques exist for deep neural networks and how do they work?
- RQ2How do these methods trade off accuracy, model size, and compute?
- RQ3How can compression techniques be effectively applied to large architectures such as Transformers and CNNs?
- RQ4What evaluation metrics best capture the effectiveness of model compression and retraining requirements?
Key findings
- Compression techniques span weight sharing, pruning, tensor decompositions, knowledge distillation, and quantization, with retraining often required to recover performance.
- Weight sharing and clustering can reduce parameters substantially while maintaining performance in various architectures.
- Pruning methods (including magnitude-based and loss-sensitivity approaches) can yield compact networks with retraining.
- Low-rank tensor decompositions and decompositions of self-attention and convolutional layers enable parameter reductions in modern networks.
- Knowledge distillation and quantization are effective compression strategies, with retraining and data considerations influencing outcomes.
- Evaluation commonly uses accuracy versus model size and FLOPs, alongside memory footprint considerations for deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.