• Home
  • Search
  • Improving Efficiency and Accuracy for Training and Inference of Hardware-aware Machine Learning Systems
  • Cite Icon1
  • https://doi.org/10.1184/r1/11933406.v1Copy DOI Icon

Improving Efficiency and Accuracy for Training and Inference of Hardware-aware Machine Learning Systems

Show More
  • Abstract
  • Literature Map
  • Citations
  • Similar Papers
Abstract

Deep Neural Networks (DNNs) have been adopted in many systems because of their higher classification accuracy. While progress in achieving large scale, highly accurate DNNs has been made, however, the huge time and energy requirement for both inference and training pose achallenge to any DNN implementation. The large DNN size causes significant energy and area due to massive memory accesses and computations. In this thesis, we propose a new DNN architecture, LightNN, which replaces the multiplications to one shift or a constrained number of shifts and adds. Thus, LightNN inference uses hardware-efficient shift-based operations, and needs fewer memoryaccesses due to the fewer bits to represent each weight. Our experiment using image datasets show that LightNNs can achieve much higher hardware efficiency with a slight accuracy loss. LightNNs constrain all the weights of DNNs to be a limited combination (denoted as k 2 f1;2g)of powers of 2, and by varying the k one can obtain a group of LightNNs with different levels of accuracy and energy cost. To provide even more design flexibility, the k for each convolutional filter can be optimally chosen instead of being fixed for every filter. In this thesis, we formulate theselection of k to be differentiable, and describe model training for determining k-based weights on a per-filter basis. Over 46 FPGA-design experiments involving eight configurations and four data sets reveal that lightweight neural networks with a flexible k value (dubbed FLightNNs) fully utilize the hardware resources on Field Programmable Gate Arrays (FPGAs), our experimental results show that FLightNNs can achieve 2 speedup when compared to lightweight NNs with k = 2, with only 0:1% accuracy degradation. Compared to a 4-bit fixed-point quantization, FLightNNs achieve higher accuracy and up to 2 inference speedup, due to their lightweight shift operations. In addition, our experiments also demonstrate that FLightNNs can achieve higher computational energy efficiency for ASIC implementation. Binarized Neural Networks (BNNs) quantize the weights and activations to 1 bit, which has lowerprecision than LightNNs and FLightNNs, and therefore can significantly reduce the inference latency and energy consumption in resource-constrained devices due to their pure-logical computation and fewer memory accesses. However, training BNNs is difficult since the activation flow encounters degeneration, saturation, and gradient mismatch problems. Prior work alleviates these issues by increasing activation bits and adding floating-point scaling factors, thereby sacrificing BNN’s energy efficiency. In this thesis, we propose to use distribution loss to explicitly regularize the activation flow, and develop a framework to systematically formulate the loss. Our experiments show that the distribution loss can consistently improve the accuracy of BNNs without losing their energy benefits. Moreover, equipped with the proposed regularization, BNN training is shown to be robust to the selection of hyper-parameters including optimizer and learning rate.

Similar Papers
  • Research Article
  • Citations15

Lightening the Load with Highly Accurate Storage- and Energy-Efficient LightNNs

  • Sep 30, 2018
  • ACM Transactions on Reconfigurable Technology and Systems
  • Ruizhou Ding +3
  • Research Article
  • Citations3

Logic Shrinkage: Learned Connectivity Sparsification for LUT-Based Neural Networks

  • Sep 01, 2023
  • ACM Transactions on Reconfigurable Technology and Systems
  • Erwei Wang +6
  • PDF
  • Research Article
  • Citations21

Reconfigurable Binary Neural Network Accelerator with Adaptive Parallelism Scheme

  • Jan 20, 2021
  • Electronics
  • Jaechan Cho +3
  • Research Article
  • Citations17

An Empirical Approach to Enhance Performance for Scalable CORDIC-Based Deep Neural Networks

  • Jun 20, 2023
  • ACM Transactions on Reconfigurable Technology and Systems
  • Gopal Raut +2
  • Research Article
  • Citations26

FPGA-based implementation of deep neural network using stochastic computing

  • Mar 05, 2023
  • Applied Soft Computing
  • Maedeh Nobari +1
  • Conference Article
  • Citations1

Evaluating FPGA Acceleration on Binarized Neural Networks and Quantized Neural Networks

  • Sep 28, 2022
  • Sarala K Surapally +3
  • Conference Article
  • Citations2

Circuit-level Design and Evaluation of STT-MRAM based Binary Winner-Takes-All Network for Image Recognition

  • Apr 01, 2018
  • C Wang +5
  • Conference Article
  • Citations2

A Low Cost and Portable Mini Motor Car System with a BNN Accelerator on FPGA

  • Dec 01, 2021
  • Fumio Hamanaka +2
  • Research Article
  • Citations15

RBNN: Memory-Efficient Reconfigurable Deep Binary Neural Network With IP Protection for Internet of Things

  • Apr 01, 2023
  • IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
  • Huming Qiu +8
  • Research Article
  • Citations12

FPGA-based acceleration for binary neural networks in edge computing

  • Jun 01, 2023
  • Journal of Electronic Science and Technology
  • Jin-Yu Zhan +6
  • Research Article
  • Citations9

Gradient Matters: Designing Binarized Neural Networks via Enhanced Information-Flow.

  • Nov 01, 2022
  • IEEE Transactions on Pattern Analysis and Machine Intelligence
  • Qi Wang +4
  • Conference Article
  • Citations49

Outstanding Bit Error Tolerance of Resistive RAM-Based Binarized Neural Networks

  • Mar 01, 2019
  • T Hirtzlin +6
  • Conference Article
  • Citations4

FPGA deployment of neuroevolved Binary Neural Networks

  • Dec 16, 2020
  • Raul Valencia +1
  • Conference Article

DNN2FPGA: Generic Design Flow to Implement DNNs on FPGAs

  • Apr 01, 2021
  • El Hadrami Cheikh Tourad +1
  • Research Article
  • Citations2

A High-Energy-Efficiency Lightweight BNN Accelerator for Arrhythmia Detection

  • Feb 01, 2026
  • IEEE Transactions on Circuits and Systems I: Regular Papers
  • Ninghao Pu +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.