Skip to main content
QUICK REVIEW

[Paper Review] ExPAN(N)D: Exploring Posits for Efficient Artificial Neural Network Design in FPGA-Based Systems

Suresh Nambi, Salim Ullah|arXiv (Cornell University)|Oct 24, 2020
Numerical Methods and AlgorithmsComputer Science37 references4 citations
TL;DR

This paper proposes ExPAN(N)D, a framework that combines Posit number representation with fixed-point arithmetic to enable efficient FPGA-based AI inference. By introducing a novel Posit-to-fixed-point converter and a modified parameter storage scheme, it achieves ~46% smaller model storage and ~18% lower MAC energy consumption compared to 8-bit fixed-point, with minimal accuracy loss.

ABSTRACT

The recent advances in machine learning, in general, and Artificial Neural Networks (ANN), in particular, has made smart embedded systems an attractive option for a larger number of application areas. However, the high computational complexity, memory footprints, and energy requirements of machine learning models hinder their deployment on resource-constrained embedded systems. Most state-of-the-art works have considered this problem by proposing various low bit-width data representation schemes, optimized arithmetic operators' implementations, and different complexity reduction techniques such as network pruning. To further elevate the implementation gains offered by these individual techniques, there is a need to cross-examine and combine these techniques' unique features. This paper presents ExPAN(N)D, a framework to analyze and ingather the efficacy of the Posit number representation scheme and the efficiency of fixed-point arithmetic implementations for ANNs. The Posit scheme offers a better dynamic range and higher precision for various applications than IEEE $754$ single-precision floating-point format. However, due to the dynamic nature of the various fields of the Posit scheme, the corresponding arithmetic circuits have higher critical path delay and resource requirements than the single-precision-based arithmetic units. Towards this end, we propose a novel Posit to fixed-point converter for enabling high-performance and energy-efficient hardware implementations for ANNs with minimal drop in the output accuracy. We also propose a modified Posit-based representation to store the trained parameters of a network. Compared to an $8$-bit fixed-point-based inference accelerator, our proposed implementation offers $\approx46\%$ and $\approx18\%$ reductions in the storage requirements of the parameters and energy consumption of the MAC units, respectively.

Motivation & Objective

  • To address the high computational, memory, and energy demands of deploying ANNs on resource-constrained embedded systems.
  • To evaluate the efficacy of the Posit number format in comparison to IEEE 754 single-precision floating-point for neural network inference.
  • To reduce the hardware overhead of Posit arithmetic by converting it to fixed-point representations for efficient FPGA implementation.
  • To minimize accuracy degradation while significantly reducing model parameter storage and MAC unit energy consumption.

Proposed method

  • Proposes a novel Posit-to-fixed-point converter to map dynamic-range Posit representations into efficient fixed-point arithmetic for FPGA deployment.
  • Introduces a modified Posit-based parameter storage format to reduce memory footprint without compromising model accuracy.
  • Employs fixed-point arithmetic units for inference computations, leveraging the precision advantages of Posits while avoiding their high-area and high-delay arithmetic circuits.
  • Optimizes the hardware pipeline and data path for MAC units using the converted fixed-point format to improve energy efficiency.
  • Uses FPGA-based prototyping to evaluate performance, area, and energy efficiency across benchmark neural networks.
  • Combines network pruning and low-precision arithmetic techniques with Posit representation to maximize system-level efficiency gains.

Experimental results

Research questions

  • RQ1Can Posit number representation reduce model storage and energy consumption in FPGA-based ANNs compared to 8-bit fixed-point?
  • RQ2How does the dynamic range and precision of Posits compare to IEEE 754 single-precision in neural network inference?
  • RQ3To what extent can a Posit-to-fixed-point conversion preserve model accuracy while reducing hardware complexity?
  • RQ4What is the impact of modified Posit parameter storage on memory footprint and energy efficiency?
  • RQ5How do the combined effects of Posit representation and fixed-point arithmetic improve overall system efficiency?

Key findings

  • The proposed Posit-to-fixed-point converter enables high-performance and energy-efficient FPGA implementations with minimal accuracy degradation.
  • Compared to an 8-bit fixed-point accelerator, the proposed system reduces parameter storage requirements by approximately 46%.
  • The MAC units achieve approximately 18% lower energy consumption than their 8-bit fixed-point counterparts.
  • The modified Posit-based parameter storage format effectively reduces memory footprint while maintaining model accuracy.
  • The framework demonstrates that combining Posit representation with fixed-point arithmetic yields significant gains in storage and energy efficiency without sacrificing inference accuracy.
  • The dynamic nature of Posits is mitigated through hardware-aware conversion, reducing critical path delay and resource usage in FPGA implementations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.