IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v9y2021i23p3130-d695161.html
   My bibliography  Save this article

Early Prediction of DNN Activation Using Hierarchical Computations

Author

Listed:
  • Bharathwaj Suresh

    (Processor Architecture Research (PAR) Lab, Intel Labs, Bangalore 560048, India)

  • Kamlesh Pillai

    (Processor Architecture Research (PAR) Lab, Intel Labs, Bangalore 560048, India)

  • Gurpreet Singh Kalsi

    (Processor Architecture Research (PAR) Lab, Intel Labs, Bangalore 560048, India)

  • Avishaii Abuhatzera

    (Corporate Strategy Office, Intel, Haifa 3508409, Israel)

  • Sreenivas Subramoney

    (Processor Architecture Research (PAR) Lab, Intel Labs, Bangalore 560048, India)

Abstract

Deep Neural Networks (DNNs) have set state-of-the-art performance numbers in diverse fields of electronics (computer vision, voice recognition), biology, bioinformatics, etc. However, the process of learning (training) from the data and application of the learnt information (inference) process requires huge computational resources. Approximate computing is a common method to reduce computation cost, but it introduces loss in task accuracy, which limits their application. Using an inherent property of Rectified Linear Unit (ReLU), a popular activation function, we propose a mathematical model to perform MAC operation using reduced precision for predicting negative values early. We also propose a method to perform hierarchical computation to achieve the same results as IEEE754 full precision compute. Applying this method on ResNet50 and VGG16 shows that up to 80% of ReLU zeros (which is 50% of all ReLU outputs) can be predicted and detected early by using just 3 out of 23 mantissa bits. This method is equally applicable to other floating-point representations.

Suggested Citation

  • Bharathwaj Suresh & Kamlesh Pillai & Gurpreet Singh Kalsi & Avishaii Abuhatzera & Sreenivas Subramoney, 2021. "Early Prediction of DNN Activation Using Hierarchical Computations," Mathematics, MDPI, vol. 9(23), pages 1-18, December.
  • Handle: RePEc:gam:jmathe:v:9:y:2021:i:23:p:3130-:d:695161
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/9/23/3130/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/9/23/3130/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:9:y:2021:i:23:p:3130-:d:695161. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.