Guardado en:
Detalles Bibliográficos
Autores principales: Jayasuriya, Dinithi, Darabi, Nastaran, Hashem, Maeesha Binte, Trivedi, Amit Ranjan
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:https://arxiv.org/abs/2411.05845
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912112873308160
author Jayasuriya, Dinithi
Darabi, Nastaran
Hashem, Maeesha Binte
Trivedi, Amit Ranjan
author_facet Jayasuriya, Dinithi
Darabi, Nastaran
Hashem, Maeesha Binte
Trivedi, Amit Ranjan
contents We introduce a precision polarization scheme for DNN inference that utilizes only very low and very high precision levels, assigning low precision to the majority of network weights and activations while reserving high precision paths for targeted error compensation. This separation allows for distinct optimization of each precision level, thereby reducing memory and computation demands without compromising model accuracy. In the discussed approach, a floating-point model can be trained in the cloud and then downloaded to an edge device, where network weights and activations are directly quantized to meet the edge devices' desired level, such as NF4 or INT8. To address accuracy loss from quantization, surrogate paths are introduced, leveraging low-rank approximations on a layer-by-layer basis. These paths are trained with a sensitivity-based metric on minimal training data to recover accuracy loss under quantization as well as due to process variability, such as when the main prediction path is implemented using analog acceleration. Our simulation results show that neural precision polarization enables approximately 464 TOPS per Watt MAC efficiency and reliability by integrating rank-8 error recovery paths with highly efficient, though potentially unreliable, bit plane-wise compute-in-memory processing.
format Preprint
id arxiv_https___arxiv_org_abs_2411_05845
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Neural Precision Polarization: Simplifying Neural Network Inference with Dual-Level Precision
Jayasuriya, Dinithi
Darabi, Nastaran
Hashem, Maeesha Binte
Trivedi, Amit Ranjan
Machine Learning
We introduce a precision polarization scheme for DNN inference that utilizes only very low and very high precision levels, assigning low precision to the majority of network weights and activations while reserving high precision paths for targeted error compensation. This separation allows for distinct optimization of each precision level, thereby reducing memory and computation demands without compromising model accuracy. In the discussed approach, a floating-point model can be trained in the cloud and then downloaded to an edge device, where network weights and activations are directly quantized to meet the edge devices' desired level, such as NF4 or INT8. To address accuracy loss from quantization, surrogate paths are introduced, leveraging low-rank approximations on a layer-by-layer basis. These paths are trained with a sensitivity-based metric on minimal training data to recover accuracy loss under quantization as well as due to process variability, such as when the main prediction path is implemented using analog acceleration. Our simulation results show that neural precision polarization enables approximately 464 TOPS per Watt MAC efficiency and reliability by integrating rank-8 error recovery paths with highly efficient, though potentially unreliable, bit plane-wise compute-in-memory processing.
title Neural Precision Polarization: Simplifying Neural Network Inference with Dual-Level Precision
topic Machine Learning
url https://arxiv.org/abs/2411.05845