Ciência-IUL
Publications
Publication Detailed Description
PACT '22: Proceedings of the International Conference on Parallel Architectures and Compilation Techniques
Year (definitive publication)
2022
Language
English
Country
United States of America
More Information
Web of Science®
Scopus
Google Scholar
Abstract
Weightless neural networks (WNNs) are a class of machine learning model which use table lookups to perform inference, rather than the multiply-accumulate operations typical of deep neural networks (DNNs). Individual weightless neurons are capable of learning non-linear functions of their inputs, a theoretical advantage over the linear neurons in DNNs, yet state-of-the-art WNN architectures still lag behind DNNs in accuracy on common classification tasks. Additionally, many existing WNN architectures suffer from high memory requirements, hindering implementation. In this paper, we propose a novel WNN architecture, BTHOWeN, with key algorithmic and architectural improvements over prior work, namely counting Bloom filters, hardware-friendly hashing, and Gaussian-based nonlinear thermometer encodings. These enhancements improve model accuracy while reducing size and energy per inference. BTHOWeN targets the large and growing edge computing sector by providing superior latency and energy efficiency to both prior WNNs and comparable quantized DNNs. Compared to state-of-the-art WNNs across nine classification datasets, BTHOWeN on average reduces error by more than 40% and model size by more than 50%. We demonstrate the viability of a hardware implementation of BTHOWeN by presenting an FPGA-based inference accelerator, and compare its latency and resource usage against similarly accurate quantized DNN inference accelerators, including multi-layer perceptron (MLP) and convolutional models. The proposed BTHOWeN models consume almost 80% less energy than the MLP models, with nearly 85% reduction in latency. In our quest for efficient ML on the edge, WNNs are clearly deserving of additional attention.
Acknowledgements
--
Keywords
Weightless Neural Networks,WNN,WiSARD,Neural networks,Hardware acceleration,Inference,Edge computing
Funding Records
Funding Reference | Funding Entity |
---|---|
3015.001/3016.001 | Semiconductor Research Corporation (SRC) |
1763848 | National Science Foundation |
UIDB/04466/2020 | Fundação para a Ciência e a Tecnologia |
UIDP/04466/2020 | Fundação para a Ciência e a Tecnologia |
310676/2019-3 | CNPq - Conselho Nacional de Desenvolvimento Científico e Tecnológico |
POCI-01-0247-FEDER-045912 | Comissão Europeia |
Related Projects
This publication is an output of the following project(s):