Skip to main navigation Skip to search Skip to main content

QD-Compressor: A Quantization-based Delta Compression Framework for Deep Neural Networks

  • Shuyu Zhang
  • , Donglei Wu
  • , Haoyu Jin
  • , Xiangyu Zou
  • , Wen Xia*
  • , Xiaojia Huang
  • *Corresponding author for this work
  • Harbin Institute of Technology Shenzhen
  • Peng Cheng Laboratory
  • CAS - Institute of Computing Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Deep neural networks (DNNs) have achieved remarkable success in many fields. Large-scale DNNs also bring storage challenges when storing snapshots for preventing clusters' frequent failures, and bring massive internet traffic when dispatching or updating DNNs for resource-constrained devices (e.g., IoT devices, mobile phones). Several approaches are aiming to compress DNNs. The Recent work, Delta-DNN, notices high similarity existed in DNNs and thus calculates differences between them for improving the compression ratio.However, we observe that Delta-DNN, applying traditional global lossy quantization technique in calculating differences of two neighboring versions of the DNNs, can not fully exploit the data similarity between them for delta compression. This is because the parameters' value ranges (and also the delta data in Delta-DNN) are varying among layers in DNNs, which inspires us to propose a local-sensitive quantization scheme: the quantizers are adaptive to parameters' local value ranges in layers. Moreover, instead of quantizing differences of DNNs in Delta-DNN, our approach quantizes DNNs before calculating differences to make the differences more compressible. Besides, we also propose an error feedback mechanism to reduce DNNs' accuracy loss caused by the lossy quantization.Therefore, we design a novel quantization-based delta compressor called QD-Compressor, which calculates the lossy differences between epochs of DNNs for saving storage cost of backing up DNNs' snapshots and internet traffic of dispatching DNNs for resource-constrained devices. Experiments on several popular DNNs and datasets show that QD-Compressor obtains a compression ratio of 2.4× ~ 31.5× higher than the state-of-the-art approaches while well maintaining the model's test accuracy.

Original languageEnglish
Title of host publicationProceedings - 2021 IEEE 39th International Conference on Computer Design, ICCD 2021
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages542-550
Number of pages9
ISBN (Electronic)9781665432191
DOIs
StatePublished - 2021
Externally publishedYes
Event39th IEEE International Conference on Computer Design, ICCD 2021 - Virtual, Online, United States
Duration: 24 Oct 202127 Oct 2021

Publication series

NameProceedings - IEEE International Conference on Computer Design: VLSI in Computers and Processors
Volume2021-October
ISSN (Print)1063-6404

Conference

Conference39th IEEE International Conference on Computer Design, ICCD 2021
Country/TerritoryUnited States
CityVirtual, Online
Period24/10/2127/10/21

Keywords

  • Delta compression
  • Neural networks
  • Quantization

Fingerprint

Dive into the research topics of 'QD-Compressor: A Quantization-based Delta Compression Framework for Deep Neural Networks'. Together they form a unique fingerprint.

Cite this