Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Journal articles
  4. Using Algorithmic Transformations and Sensitivity Analysis to Unleash Approximations in CNNs at the Edge
 
research article

Using Algorithmic Transformations and Sensitivity Analysis to Unleash Approximations in CNNs at the Edge

Ponzina, Flavio  
•
Ansaloni, Giovanni  
•
Peon Quiros, Miguel  
Show more
July 19, 2022
MDPI Micromachines - Special Issue "Hardware-Friendly Machine Learning and Its Applications"

Previous studies have demonstrated that, up to a certain degree, Convolutional Neural Networks (CNNs) can tolerate arithmetic approximations. Nonetheless, perturbations must be applied judiciously, to constrain their impact on accuracy. This is a challenging task, since the implementation of inexact operators is often decided at design time, when the application and its robustness profile are unknown, posing the risk of over-constraining or over-provisioning the hardware. Bridging this gap, we propose a two-phase strategy. Our framework first optimizes the target CNN model, reducing the bitwidth of weights and activations and enhancing error resiliency, so that inexact operations can be performed as frequently as possible. Then, it selectively assigns CNN layers to exact or inexact hardware based on a sensitivity metric. Our results show that, within a 5% accuracy degradation, our methodology, including a highly inexact multiplier design, can reduce the cost of MAC operations in CNN inference up to 83.6% compared to state-of-the-art optimized exact implementations.

  • Files
  • Details
  • Metrics
Loading...
Thumbnail Image
Name

MDPI_Approximate_multipliers.pdf

Type

Postprint

Version

Accepted version

Access type

openaccess

License Condition

copyright

Size

3.76 MB

Format

Adobe PDF

Checksum (MD5)

06c3f2d2837113621f249ac782dd163e

Loading...
Thumbnail Image
Name

micromachines-13-01143.pdf

Type

Publisher

Version

Published version

Access type

openaccess

License Condition

CC BY

Size

1.45 MB

Format

Adobe PDF

Checksum (MD5)

b5b216a9dfa8e4b600528f470d5c665d

Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés