Skip to content

HungYangChang/Applying-the-Analog-Hardware-Acceleration-Kit-for-In-memory-Computing-Design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Applying the Analog Hardware Acceleration Kit for In-memory Computing Design

Final Project 3 - ECSE-541 McGill University

Abstract

Deep Neural Networks (DNNs) have achieved promising progress in many complex tasks, including image or speech recognition, gaming, and real-time language responses. Training of large DNNs, however, is still considered a time-consuming and computationally intensive task that demands extra high computational resources taking many days. Analog-based devices have shown great potential to break von Neumann's bottleneck and potentially accelerate DNNs training by the orders of magnitude while consuming much less power. Nevertheless, the non-ideality problem still remains a daunting problem when implementing analog devices in in-memory computing design. Recently proposed IBM's analog hardware acceleration kit provides a window for the simulation of non-idealities of analog devices. In this paper, the IBM tool is utilized to simulate Resistive Processing Units (RPUs) to represent weights and biases in Fully-Connected Neural Network (FCNN). MNIST dataset is applied to the Analog FCNN. By performing optimizations on the hyperparameters, such as activation function, batch size and learning rate, 100% testing accuracy can be achieved even in the presence of noise, where SNR of 34 dB is assumed. Moreover, computation cost and performance are also examined. The results show that even by applying only 3-layered neural network (784-128-10), 95% accuracy can be achieved with only 3% decrements compared to the deeper ones.

Code Usage - (Python 3.6, Colab)

  1. Please Upload to python notebook (.ipynb file) to Colab
  2. Choose GPU as runtime type
  3. Enjoy it :)

More info

Code is also available on GitHub link (https://github.com/HungYangChang/ECSE-541-Final-Project)

About

Applying the Analog Hardware Acceleration Kit for In-memory Computing Design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published