DKM: Differentiable K-Means Clustering Layer for Neural Network Compression
Not on the map. Why?
Abstract (arXiv)
Deep neural network (DNN) model compression for efficient on-device inference is becoming increasingly important to reduce memory requirements and keep user data on-device. To this end, we propose a novel differentiable k-means clustering layer (DKM) and its application to train-time weight clustering-based DNN model compression. DKM casts k-means clustering as an attention problem and enables joint optimization of the DNN parameters and clustering centroids. Unlike prior works that rely on additional regularizers and parameters, DKM-based compression keeps the original loss function and model architecture fixed. We evaluated DKM-based compression on various DNN models for computer vision and natural language processing (NLP) tasks. Our results demonstrate that DKM delivers superior compression and accuracy trade-off on ImageNet1k and GLUE benchmarks. For example, DKM-based compression can offer 74.5% top-1 ImageNet1k accuracy on ResNet50 DNN model with 3.3MB model size (29.4x model compression factor). For MobileNet-v1, which is a challenging DNN to compress, DKM delivers 63.9% top-1 ImageNet1k accuracy with 0.72 MB model size (22.4x model compression factor). This result is 6.8% higher top-1accuracy and 33% relatively smaller model size than the current state-of-the-art DNN compression algorithms. Additionally, DKM enables compression of DistilBERT model by 11.8x with minimal (1.1%) accuracy loss on GLUE NLP benchmarks.
Key facts. Cited by 31 papers in the map (data through 7 Oct 2026). Builds on 41 of its 46 references that are in the map. First posted on arXiv 28 Aug 2021.
Builds on
41 of 46 references.
References · 41
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2018DARTS: Differentiable Architecture Searchcited by 1,782
29 more
- 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,127
- 2018MnasNet: Platform-Aware Neural Architecture Search for Mobilecited by 937
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 426
- 2018Model compression via distillation and quantizationcited by 287
- 2018LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networkscited by 272
- 2019HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networkscited by 250
- 2017NISP: Pruning Networks using Neuron Importance Score Propagationcited by 228
- 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 225
- 2017Towards Accurate Binary Convolutional Neural Networkcited by 148
- 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
- 2019Additive Powers-of-Two Quantization: An Efficient Non-uniform Discretization for Neural Networkscited by 143
- 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 118
- 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 103
- 2017Soft Weight-Sharing for Neural Network Compressioncited by 99
- 2018ESPNetv2: A Light-weight, Power Efficient, and General Purpose Convolutional Neural Networkcited by 90
- 2021Network Quantization with Element-wise Gradient Scalingcited by 82
- 2019And the Bit Goes Down: Revisiting the Quantization of Neural Networkscited by 78
- 2020Lookahead: A Far-Sighted Alternative of Magnitude-based Pruningcited by 61
- 2020PROFIT: A Novel Training Method for sub-4-bit MobileNet Modelscited by 50
- 2016Towards the Limit of Network Quantizationcited by 49
- 2018Value-aware Quantization for Training and Inference of Neural Networkscited by 49
- 2018Deep k-Means: Re-Training and Parameter Sharing with Harder Cluster Assignments for Compressing Deep Convolutionscited by 33
- 2017Learning Discrete Weights Using the Local Reparameterization Trickcited by 29
- 2019TensorFlow Eager: A Multi-Stage, Python-Embedded DSL for Machine Learningcited by 22
- 2018Universal Deep Neural Network Compressioncited by 17
- 2019Neural Epitome Search for Architecture-Agnostic Network Compressioncited by 8
Built on by
Citing papers per year: 2022: 6; 2023: 9; 2024: 10; 2025: 4; 2026: 2.
31 papers.
Sort:
By area:
- 2024GPTVQ: The Blessing of Dimensionality for LLM Quantizationcited by 78
- 2023Stable and low-precision training for large-scale vision-language modelscited by 74
- 2024VPTQ: Extreme Low-bit Vector Post-Training Quantization for Large Language Modelscited by 53
- 2023Revisiting the Parameter Efficiency of Adapters from the Perspective of Precision Redundancycited by 44
- 2024Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradientscited by 36
- 2023Model Compression in Practice: Lessons Learned from Practitioners Creating On-device Machine Learning Experiencescited by 21
- 2024PixOOD: Pixel-Level Out-of-Distribution Detectioncited by 20
- 2022Recycling Model Updates in Federated Learning: Are Gradient Subspaces Low-Rank?cited by 16
- 2024A Review of Pseudo-Labeling for Computer Visioncited by 16
- 2023PDP: Parameter-free Differentiable Pruning is All You Needcited by 12
- 2022Reducing Computational Complexity of Neural Networks in Optical Channel Equalization: From Concepts to Implementationcited by 6
- 2024Talaria: Interactively Optimizing Machine Learning Models for Efficient Inferencecited by 6
19 more
- 2025LO-BCQ: Block Clustered Quantization for 4-bit (W4A4) LLM Inferencecited by 6
- 2022Hyperspherical Quantization: Toward Smaller and More Accurate Modelscited by 4
- 2023eDKM: An Efficient and Accurate Train-time Weight Clustering for Large Language Modelscited by 4
- 2023R2 Loss: Range Restriction Loss for Model Compression and Quantizationcited by 3
- 2025ViM-VQ: Efficient Post-Training Vector Quantization for Visual Mambacited by 3
- 2022Learning Low-Rank Representations for Model Compressioncited by 2
- 2023SPT: Fine-Tuning Transformer-based Language Models Efficiently with Sparsificationcited by 2
- 2024Polytopic Autoencoders with Smooth Clustering for Reduced-order Modelling of Flowscited by 2
- 2025MetaCluster: Enabling Deep Compression of Kolmogorov-Arnold Networkcited by 2
- 2024Separate, Dynamic and Differentiable (SMART) Pruner for Block/Output Channel Pruning on Computer Vision Taskscited by 1
- 2022Deep learning model compression using network sensitivity and gradientscited by 0
- 2022Hyperspherical Loss-Aware Ternary Quantizationcited by 0
- 2023CrAFT: Compression-Aware Fine-Tuning for Efficient Visual Task Adaptationcited by 0
- 2023IDKM: Memory Efficient Neural Network Quantization via Implicit, Differentiable k-Meanscited by 0
- 2024EncodingNet: A Novel Encoding-based MAC Design for Efficient Neural Network Accelerationcited by 0
- 2024MAS-Attention: Memory-Aware Stream Processing for Attention Acceleration on Resource-Constrained Edge Devicescited by 0
- 2025SSVQ: Unleashing the Potential of Vector Quantization with Sign-Splittingcited by 0
- 2026Efficient VQ-QAT and Mixed Vector/Linear quantized Neural Networkscited by 0
- 2026RAFNet: Region-Aware Fusion Network for Pansharpeningcited by 0
- 2026RAFNet: Region-Aware Fusion Network for Pansharpening4 May 2026
- 2026Efficient VQ-QAT and Mixed Vector/Linear quantized Neural Networks25 Apr 2026
- 2025MetaCluster: Enabling Deep Compression of Kolmogorov-Arnold Network21 Oct 2025
- 2025ViM-VQ: Efficient Post-Training Vector Quantization for Visual Mamba12 Mar 2025
- 2025SSVQ: Unleashing the Potential of Vector Quantization with Sign-Splitting11 Mar 2025
- 2025LO-BCQ: Block Clustered Quantization for 4-bit (W4A4) LLM Inference7 Feb 2025
- 2024MAS-Attention: Memory-Aware Stream Processing for Attention Acceleration on Resource-Constrained Edge Devices20 Nov 2024
- 2024VPTQ: Extreme Low-bit Vector Post-Training Quantization for Large Language Models25 Sep 2024
- 2024A Review of Pseudo-Labeling for Computer Vision13 Aug 2024
- 2024Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients11 Jul 2024
- 2024PixOOD: Pixel-Level Out-of-Distribution Detection30 May 2024
- 2024Talaria: Interactively Optimizing Machine Learning Models for Efficient Inference3 Apr 2024
19 more
- 2024Separate, Dynamic and Differentiable (SMART) Pruner for Block/Output Channel Pruning on Computer Vision Tasks29 Mar 2024
- 2024EncodingNet: A Novel Encoding-based MAC Design for Efficient Neural Network Acceleration25 Feb 2024
- 2024GPTVQ: The Blessing of Dimensionality for LLM Quantization23 Feb 2024
- 2024Polytopic Autoencoders with Smooth Clustering for Reduced-order Modelling of Flows19 Jan 2024
- 2023SPT: Fine-Tuning Transformer-based Language Models Efficiently with Sparsification16 Dec 2023
- 2023IDKM: Memory Efficient Neural Network Quantization via Implicit, Differentiable k-Means12 Dec 2023
- 2023Model Compression in Practice: Lessons Learned from Practitioners Creating On-device Machine Learning Experiences6 Oct 2023
- 2023eDKM: An Efficient and Accurate Train-time Weight Clustering for Large Language Models2 Sep 2023
- 2023Revisiting the Parameter Efficiency of Adapters from the Perspective of Precision Redundancy31 Jul 2023
- 2023PDP: Parameter-free Differentiable Pruning is All You Need18 May 2023
- 2023CrAFT: Compression-Aware Fine-Tuning for Efficient Visual Task Adaptation8 May 2023
- 2023Stable and low-precision training for large-scale vision-language models25 Apr 2023
- 2023R2 Loss: Range Restriction Loss for Model Compression and Quantization14 Mar 2023
- 2022Hyperspherical Quantization: Toward Smaller and More Accurate Models24 Dec 2022
- 2022Hyperspherical Loss-Aware Ternary Quantization24 Dec 2022
- 2022Learning Low-Rank Representations for Model Compression21 Nov 2022
- 2022Deep learning model compression using network sensitivity and gradients11 Oct 2022
- 2022Reducing Computational Complexity of Neural Networks in Optical Channel Equalization: From Concepts to Implementation26 Aug 2022
- 2022Recycling Model Updates in Federated Learning: Are Gradient Subspaces Low-Rank?1 Feb 2022
- 2024GPTVQ: The Blessing of Dimensionality for LLM Quantizationcited by 78
- 2024VPTQ: Extreme Low-bit Vector Post-Training Quantization for Large Language Modelscited by 53
- 2023Revisiting the Parameter Efficiency of Adapters from the Perspective of Precision Redundancycited by 44
- 2024Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradientscited by 36
- 2023Model Compression in Practice: Lessons Learned from Practitioners Creating On-device Machine Learning Experiencescited by 21
- 2024PixOOD: Pixel-Level Out-of-Distribution Detectioncited by 20
- 2022Recycling Model Updates in Federated Learning: Are Gradient Subspaces Low-Rank?cited by 16
- 2024A Review of Pseudo-Labeling for Computer Visioncited by 16
- 2023PDP: Parameter-free Differentiable Pruning is All You Needcited by 12
- 2022Reducing Computational Complexity of Neural Networks in Optical Channel Equalization: From Concepts to Implementationcited by 6
- 2024Talaria: Interactively Optimizing Machine Learning Models for Efficient Inferencecited by 6
- 2025LO-BCQ: Block Clustered Quantization for 4-bit (W4A4) LLM Inferencecited by 6
12 most cited of 29 All 29 (JSON)
- 2026RAFNet: Region-Aware Fusion Network for Pansharpening4 May 2026
- 2026Efficient VQ-QAT and Mixed Vector/Linear quantized Neural Networks25 Apr 2026
- 2025MetaCluster: Enabling Deep Compression of Kolmogorov-Arnold Network21 Oct 2025
- 2025SSVQ: Unleashing the Potential of Vector Quantization with Sign-Splitting11 Mar 2025
- 2025LO-BCQ: Block Clustered Quantization for 4-bit (W4A4) LLM Inference7 Feb 2025
- 2024MAS-Attention: Memory-Aware Stream Processing for Attention Acceleration on Resource-Constrained Edge Devices20 Nov 2024
- 2024VPTQ: Extreme Low-bit Vector Post-Training Quantization for Large Language Models25 Sep 2024
- 2024A Review of Pseudo-Labeling for Computer Vision13 Aug 2024
- 2024Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients11 Jul 2024
- 2024PixOOD: Pixel-Level Out-of-Distribution Detection30 May 2024
- 2024Talaria: Interactively Optimizing Machine Learning Models for Efficient Inference3 Apr 2024
- 2024Separate, Dynamic and Differentiable (SMART) Pruner for Block/Output Channel Pruning on Computer Vision Tasks29 Mar 2024
12 newest of 29 All 29 (JSON)