DNN Memory Footprint Reduction via Post-Training Intra-Layer Multi-Precision Quantization

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ghavami, Behnam, Kamjoo, Amin, Shannon, Lesley, Wilton, Steve
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929302967156736
author Ghavami, Behnam
Kamjoo, Amin
Shannon, Lesley
Wilton, Steve
author_facet Ghavami, Behnam
Kamjoo, Amin
Shannon, Lesley
Wilton, Steve
contents The imperative to deploy Deep Neural Network (DNN) models on resource-constrained edge devices, spurred by privacy concerns, has become increasingly apparent. To facilitate the transition from cloud to edge computing, this paper introduces a technique that effectively reduces the memory footprint of DNNs, accommodating the limitations of resource-constrained edge devices while preserving model accuracy. Our proposed technique, named Post-Training Intra-Layer Multi-Precision Quantization (PTILMPQ), employs a post-training quantization approach, eliminating the need for extensive training data. By estimating the importance of layers and channels within the network, the proposed method enables precise bit allocation throughout the quantization process. Experimental results demonstrate that PTILMPQ offers a promising solution for deploying DNNs on edge devices with restricted memory resources. For instance, in the case of ResNet50, it achieves an accuracy of 74.57\% with a memory footprint of 9.5 MB, representing a 25.49\% reduction compared to previous similar methods, with only a minor 1.08\% decrease in accuracy.
format Preprint
id arxiv_https___arxiv_org_abs_2404_02947
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DNN Memory Footprint Reduction via Post-Training Intra-Layer Multi-Precision Quantization
Ghavami, Behnam
Kamjoo, Amin
Shannon, Lesley
Wilton, Steve
Machine Learning
Artificial Intelligence
The imperative to deploy Deep Neural Network (DNN) models on resource-constrained edge devices, spurred by privacy concerns, has become increasingly apparent. To facilitate the transition from cloud to edge computing, this paper introduces a technique that effectively reduces the memory footprint of DNNs, accommodating the limitations of resource-constrained edge devices while preserving model accuracy. Our proposed technique, named Post-Training Intra-Layer Multi-Precision Quantization (PTILMPQ), employs a post-training quantization approach, eliminating the need for extensive training data. By estimating the importance of layers and channels within the network, the proposed method enables precise bit allocation throughout the quantization process. Experimental results demonstrate that PTILMPQ offers a promising solution for deploying DNNs on edge devices with restricted memory resources. For instance, in the case of ResNet50, it achieves an accuracy of 74.57\% with a memory footprint of 9.5 MB, representing a 25.49\% reduction compared to previous similar methods, with only a minor 1.08\% decrease in accuracy.
title DNN Memory Footprint Reduction via Post-Training Intra-Layer Multi-Precision Quantization
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2404.02947