CVLGJul 9, 2019

Template-Based Posit Multiplication for Training and Inferring in Neural Networks

arXiv:1907.04091v118 citations
AI Analysis

This work addresses the deployment of posit arithmetic for efficient neural network training and inference, though it is incremental with specific configurations.

The authors tackled the problem of multiplying posit numbers, especially with zero exponent bits, and integrated it into the FloPoCo framework, showing synthesis results comparable to floating-point multiplication. They also studied posit performance in neural networks, achieving promising results in training for binary classification and showing that 8-bit posits match floating-point accuracy on MNIST but lose some on CIFAR-10.

The posit number system is arguably the most promising and discussed topic in Arithmetic nowadays. The recent breakthroughs claimed by the format proposed by John L. Gustafson have put posits in the spotlight. In this work, we first describe an algorithm for multiplying two posit numbers, even when the number of exponent bits is zero. This configuration, scarcely tackled in literature, is particularly interesting because it allows the deployment of a fast sigmoid function. The proposed multiplication algorithm is then integrated as a template into the well-known FloPoCo framework. Synthesis results are shown to compare with the floating point multiplication offered by FloPoCo as well. Second, the performance of posits is studied in the scenario of Neural Networks in both training and inference stages. To the best of our knowledge, this is the first time that training is done with posit format, achieving promising results for a binary classification problem even with reduced posit configurations. In the inference stage, 8-bit posits are as good as floating point when dealing with the MNIST dataset, but lose some accuracy with CIFAR-10.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes