Optimizing Deep Learning Models for Resource-Constrained Environments With Cluster-Quantized Knowledge Distillation

IF 1.8 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Niaz Ashraf Khan, A. M. Saadman Rafat
{"title":"Optimizing Deep Learning Models for Resource-Constrained Environments With Cluster-Quantized Knowledge Distillation","authors":"Niaz Ashraf Khan,&nbsp;A. M. Saadman Rafat","doi":"10.1002/eng2.70187","DOIUrl":null,"url":null,"abstract":"<p>Deep convolutional neural networks (CNNs) are highly effective in computer vision tasks but remain challenging to deploy in resource-constrained environments due to their high computational and memory requirements. Conventional model compression techniques, such as pruning and post-training quantization, often compromise model accuracy by decoupling compression from training. Furthermore, traditional knowledge distillation approaches rely on full-precision teacher models, limiting their effectiveness in compressed settings. To address these issues, we propose Cluster-Quantized Knowledge Distillation (CQKD), a novel framework that integrates structured pruning with knowledge distillation, incorporating cluster-based weight quantization directly into the training loop. Unlike existing methods, CQKD applies quantization to both the teacher and student models, ensuring a more effective transfer of compressed knowledge. By leveraging layer-wise K-means clustering, our approach achieves extreme model compression while maintaining high accuracy. Experimental results on CIFAR-10 and CIFAR-100 demonstrate the effectiveness of CQKD, achieving compression ratios of 34,000× while preserving competitive accuracy—97.9% on CIFAR-10 and 91.2% on CIFAR-100. These results highlight the feasibility of CQKD for efficient deep learning model deployment in low-resource environments.</p>","PeriodicalId":72922,"journal":{"name":"Engineering reports : open access","volume":"7 5","pages":""},"PeriodicalIF":1.8000,"publicationDate":"2025-05-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1002/eng2.70187","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Engineering reports : open access","FirstCategoryId":"1085","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/eng2.70187","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

Deep convolutional neural networks (CNNs) are highly effective in computer vision tasks but remain challenging to deploy in resource-constrained environments due to their high computational and memory requirements. Conventional model compression techniques, such as pruning and post-training quantization, often compromise model accuracy by decoupling compression from training. Furthermore, traditional knowledge distillation approaches rely on full-precision teacher models, limiting their effectiveness in compressed settings. To address these issues, we propose Cluster-Quantized Knowledge Distillation (CQKD), a novel framework that integrates structured pruning with knowledge distillation, incorporating cluster-based weight quantization directly into the training loop. Unlike existing methods, CQKD applies quantization to both the teacher and student models, ensuring a more effective transfer of compressed knowledge. By leveraging layer-wise K-means clustering, our approach achieves extreme model compression while maintaining high accuracy. Experimental results on CIFAR-10 and CIFAR-100 demonstrate the effectiveness of CQKD, achieving compression ratios of 34,000× while preserving competitive accuracy—97.9% on CIFAR-10 and 91.2% on CIFAR-100. These results highlight the feasibility of CQKD for efficient deep learning model deployment in low-resource environments.

Abstract Image

基于聚类量化知识蒸馏的资源约束环境下深度学习模型优化
深度卷积神经网络(cnn)在计算机视觉任务中非常有效,但由于其对计算和内存的高要求,在资源受限的环境中部署仍然具有挑战性。传统的模型压缩技术,如剪枝和训练后量化,通常会通过将压缩与训练解耦来损害模型的准确性。此外,传统的知识蒸馏方法依赖于全精度的教师模型,限制了它们在压缩环境中的有效性。为了解决这些问题,我们提出了聚类量化知识蒸馏(CQKD),这是一个将结构化修剪与知识蒸馏相结合的新框架,将基于聚类的权重量化直接纳入训练循环。与现有方法不同,CQKD将量化应用于教师和学生模型,确保更有效地传递压缩知识。通过利用分层K-means聚类,我们的方法在保持高精度的同时实现了极端的模型压缩。在CIFAR-10和CIFAR-100上的实验结果证明了CQKD的有效性,实现了34,000×的压缩比,同时保持了竞争精度——CIFAR-10的97.9%和CIFAR-100的91.2%。这些结果突出了CQKD在低资源环境下高效部署深度学习模型的可行性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
5.10
自引率
0.00%
发文量
0
审稿时长
19 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信