An Architectural Error Metric for CNN-Oriented Approximate Multipliers

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Ao, Han, Jie, Wang, Qin, Mao, Zhigang, Jiang, Honglan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929471447105536
author Liu, Ao
Han, Jie
Wang, Qin
Mao, Zhigang
Jiang, Honglan
author_facet Liu, Ao
Han, Jie
Wang, Qin
Mao, Zhigang
Jiang, Honglan
contents As a potential alternative for implementing the large number of multiplications in convolutional neural networks (CNNs), approximate multipliers (AMs) promise both high hardware efficiency and accuracy. However, the characterization of accuracy and design of appropriate AMs are critical to an AM-based CNN (AM-CNN). In this work, the generation and propagation of errors in an AM-CNN are analyzed by considering the CNN architecture. Based on this analysis, a novel AM error metric is proposed to evaluate the accuracy degradation of an AM-CNN, denoted as the architectural mean error (AME). The effectiveness of the AME is assessed in VGG and ResNet on CIFAR-10, CIFAR-100, and ImageNet datasets. Experimental results show that AME exhibits a strong correlation with the accuracy of AM-CNNs, outperforming the other AM error metrics. To predict the accuracy of AM-CNNs, quadratic regression models are constructed based on the AME; the predictions show an average of 3% deviation from the ground-truth values. Compared with a GPU-based simulation, the AME-based prediction is about $10^{6}\times$ faster.
format Preprint
id arxiv_https___arxiv_org_abs_2408_12836
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle An Architectural Error Metric for CNN-Oriented Approximate Multipliers
Liu, Ao
Han, Jie
Wang, Qin
Mao, Zhigang
Jiang, Honglan
Hardware Architecture
As a potential alternative for implementing the large number of multiplications in convolutional neural networks (CNNs), approximate multipliers (AMs) promise both high hardware efficiency and accuracy. However, the characterization of accuracy and design of appropriate AMs are critical to an AM-based CNN (AM-CNN). In this work, the generation and propagation of errors in an AM-CNN are analyzed by considering the CNN architecture. Based on this analysis, a novel AM error metric is proposed to evaluate the accuracy degradation of an AM-CNN, denoted as the architectural mean error (AME). The effectiveness of the AME is assessed in VGG and ResNet on CIFAR-10, CIFAR-100, and ImageNet datasets. Experimental results show that AME exhibits a strong correlation with the accuracy of AM-CNNs, outperforming the other AM error metrics. To predict the accuracy of AM-CNNs, quadratic regression models are constructed based on the AME; the predictions show an average of 3% deviation from the ground-truth values. Compared with a GPU-based simulation, the AME-based prediction is about $10^{6}\times$ faster.
title An Architectural Error Metric for CNN-Oriented Approximate Multipliers
topic Hardware Architecture
url https://arxiv.org/abs/2408.12836