Non‐linear activation function approximation using a REMEZ algorithm

Abstract Here a more accurate piecewise approximation (PWA) scheme for non‐linear activation function is proposed. It utilizes a precision‐controlled recursive algorithm to predict a sub‐range; after that, the REMEZ algorithm is used to find the corresponding approximation function. The PWA realized...

Full description

Bibliographic Details
Main Authors: Samba Raju Chiluveru, Manoj Tripathy, Bibhudutta
Format: Article
Language:English
Published: Wiley 2021-10-01
Series:IET Circuits, Devices and Systems
Online Access:https://doi.org/10.1049/cds2.12058
id doaj-e30442dc1a2e45d18b6010e06932d4c3
record_format Article
spelling doaj-e30442dc1a2e45d18b6010e06932d4c32021-09-20T16:29:55ZengWileyIET Circuits, Devices and Systems1751-858X1751-85982021-10-0115763064010.1049/cds2.12058Non‐linear activation function approximation using a REMEZ algorithmSamba Raju Chiluveru0Manoj Tripathy1Bibhudutta2Department of Electrical Engineering Indian Institute of Technology Roorkee Uttarakhand IndiaDepartment of Electrical Engineering Indian Institute of Technology Roorkee Uttarakhand IndiaDepartment of Electrical Engineering Indian Institute of Technology Roorkee Uttarakhand IndiaAbstract Here a more accurate piecewise approximation (PWA) scheme for non‐linear activation function is proposed. It utilizes a precision‐controlled recursive algorithm to predict a sub‐range; after that, the REMEZ algorithm is used to find the corresponding approximation function. The PWA realized in three ways: using first‐order functions, that is, piecewise linear model, second‐order functions (piecewise non‐linear model), and hybrid‐order model (a mixture of first‐order and second‐order functions). The hybrid‐order approximation employs the second‐order derivative of non‐linear activation function to decide the linear and non‐linear sub‐regions, correspondingly the first‐order and second‐order functions are predicted, respectively. The accuracy is compared to the present state‐of‐the‐art approximation schemes. The multi‐layer perceptron model is designed to implement XOR‐gate, and it uses an approximate activation function. The hardware utilization is measured using the TSMC 0.18‐μm library with the Synopsys Design Compiler. Result reveals that the proposed approximation scheme efficiently approximates the non‐linear activation functions.https://doi.org/10.1049/cds2.12058
collection DOAJ
language English
format Article
sources DOAJ
author Samba Raju Chiluveru
Manoj Tripathy
Bibhudutta
spellingShingle Samba Raju Chiluveru
Manoj Tripathy
Bibhudutta
Non‐linear activation function approximation using a REMEZ algorithm
IET Circuits, Devices and Systems
author_facet Samba Raju Chiluveru
Manoj Tripathy
Bibhudutta
author_sort Samba Raju Chiluveru
title Non‐linear activation function approximation using a REMEZ algorithm
title_short Non‐linear activation function approximation using a REMEZ algorithm
title_full Non‐linear activation function approximation using a REMEZ algorithm
title_fullStr Non‐linear activation function approximation using a REMEZ algorithm
title_full_unstemmed Non‐linear activation function approximation using a REMEZ algorithm
title_sort non‐linear activation function approximation using a remez algorithm
publisher Wiley
series IET Circuits, Devices and Systems
issn 1751-858X
1751-8598
publishDate 2021-10-01
description Abstract Here a more accurate piecewise approximation (PWA) scheme for non‐linear activation function is proposed. It utilizes a precision‐controlled recursive algorithm to predict a sub‐range; after that, the REMEZ algorithm is used to find the corresponding approximation function. The PWA realized in three ways: using first‐order functions, that is, piecewise linear model, second‐order functions (piecewise non‐linear model), and hybrid‐order model (a mixture of first‐order and second‐order functions). The hybrid‐order approximation employs the second‐order derivative of non‐linear activation function to decide the linear and non‐linear sub‐regions, correspondingly the first‐order and second‐order functions are predicted, respectively. The accuracy is compared to the present state‐of‐the‐art approximation schemes. The multi‐layer perceptron model is designed to implement XOR‐gate, and it uses an approximate activation function. The hardware utilization is measured using the TSMC 0.18‐μm library with the Synopsys Design Compiler. Result reveals that the proposed approximation scheme efficiently approximates the non‐linear activation functions.
url https://doi.org/10.1049/cds2.12058
work_keys_str_mv AT sambarajuchiluveru nonlinearactivationfunctionapproximationusingaremezalgorithm
AT manojtripathy nonlinearactivationfunctionapproximationusingaremezalgorithm
AT bibhudutta nonlinearactivationfunctionapproximationusingaremezalgorithm
_version_ 1717373990510526464