
Explore four major model compression techniques: model pruning, model colonization, modal distillation, and model factorization. Pruning creates sparse networks to save storage and inference, while factorization uses low-rank approximation.
Demonstrate CNN quantization in TensorFlow using an IMDB text classification model, showing how 16‑bit half‑precision reduced disk size while maintaining comparable accuracy.
Explore model pruning by turning dense neural networks into sparse connections through thresholding weight values and then fine-tune to recover performance while deciding what, how many, and how to prune.
Use Hessian matrix to find neurons to prune.
Prune a group of neurons using Hessian matrix.
Learn to accelerate pruning by reusing the Hessian inverse across iterations, compute L for each candidate neuron, and update the weight vector, cutting overall complexity from k d cubed.
Explore how pruning the Hessian by removing specific rows and columns enables fast inverse updates by reusing the previous inverse, via a function that yields identity after pruning.
Explore fixed-point and modal quantization for neural networks, featuring block-wise weight sharing, codebooks of zeros and ones, and binary network representations.
Knowledge distillation transfers knowledge from a large teacher model to a smaller student model by aligning the student's output with the teacher's soft labels through cross-entropy, often using temperature.
Apply singular value decomposition to replace weight matrices with two low-rank factors, significantly reducing computation and storage. Start from a pre-trained model, then fine-tune to recover performance.
This course is intended to provide learners with an in-depth understanding of techniques used in compressing deep learning models. The techniques covered in the course include pruning, quantization, knowledge distillation, and factorization, all of which are essential for anyone working in the field of deep learning, particularly those focused on computer vision and natural language processing. These techniques should be generally applicable to all deep learning models.
One of the primary objectives of this course is to provide advanced content that is updated with the latest algorithms. This includes product quantization and its variants, tensor factorization, and other cutting-edge techniques that are rapidly evolving in the field of deep learning. To ensure learners are equipped with the knowledge they need to succeed in this field, the course will summarize these techniques based on academic papers, while avoiding an emphasis on experiment result details. It's worth noting that leaderboard results are updated frequently, and new models may require compression. As a result, the course will focus on the technical aspects of these techniques, helping learners understand what happens behind the scenes.
Upon completion of the course, learners will feel confident in their ability to read news, blogs, and academic papers related to model compression. You will be encouraged to apply these techniques to your own work and share the knowledge with others.