arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.01479cs.ARcs.LG
收藏

用于有效边缘推断的无权神经网络

Weightless Neural Networks for Efficient Edge Inference

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Federal University of Recôncavo da Bahia(巴伊亚州雷孔卡沃联邦大学);Federal University of Rio de Janeiro(里约热内卢联邦大学);Universidade Federal Fluminense(弗鲁米嫩塞联邦大学);ISCTE Instituto Universitario de Lisboa(里斯本大学学院)
Zachary Susskind, Aman Arora, Igor Dantas Dos Santos Miranda, Luis Armando Quintanilla Villon, Rafael Fontella Katopodis, Leandro Santiago de Araujo, Diego Leon… 展开作者

Zachary Susskind, Aman Arora, Igor Dantas Dos Santos Miranda, Luis Armando Quintanilla Villon, Rafael Fontella Katopodis, Leandro Santiago de Araujo, Diego Leonel Cadette Dutra, Priscila Machado Vieira Lima, Felipe Maia Galvao Franca, Mauricio Breternitz, Lizy K. John

摘要:

无权神经网络是一类利用查表进行推理的机器学习模型。这与深度神经网络(DNN)相反,深度神经网络使用乘法累加运算。最先进的WNN架构的实现成本只有DNN的一小部分,但在常见图像识别任务的准确性方面仍然落后于DNN。此外,许多现有的WNN架构遭受高存储器要求。在本文中,我们提出了一种新的WNN架构,BTHOWeN,与以前的工作,即计数布隆过滤器,硬件友好的散列和基于高斯的非线性温度计编码,以提高模型的准确性,减少面积和能源消耗的关键算法和架构的改进。BTHOWeN的目标是大型和不断增长的边缘计算领域,通过提供卓越的延迟和能源效率,以可比的量化DNN。与跨九个分类数据集的最先进的WNN相比,BTHOWeN平均将误差减少了40%以上,模型大小减少了50%以上。然后,我们通过展示基于FPGA的加速器来展示BTHOWeN架构的可行性,并将其延迟和资源使用与类似精确量化的DNN加速器(包括多层感知器(MLP)和卷积模型)进行比较。所提出的BTHOWeN模型消耗的能量比MLP模型少近80%,延迟减少近85%。在我们寻求边缘高效ML的过程中,WNN显然值得额外关注。

英文摘要:

Weightless Neural Networks (WNNs) are a class of machine learning model which use table lookups to perform inference. This is in contrast with Deep Neural Networks (DNNs), which use multiply-accumulate operations. State-of-the-art WNN architectures have a fraction of the implementation cost of DNNs, but still lag behind them on accuracy for common image recognition tasks. Additionally, many existing WNN architectures suffer from high memory requirements. 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 to improve model accuracy and reduce area and energy consumption. BTHOWeN targets the large and growing edge computing sector by providing superior latency and energy efficiency to comparable quantized DNNs. Compared to state-of-the-art WNNs across nine classification datasets, BTHOWeN on average reduces error by more than than 40% and model size by more than 50%. We then demonstrate the viability of the BTHOWeN architecture by presenting an FPGA-based accelerator, and compare its latency and resource usage against similarly accurate quantized DNN 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑