arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.03784cs.AR
收藏

NeuroBlend:迈向低功耗且高精度的融合二值与定点卷积的神经网络推理引擎

NeuroBlend: Towards Low-Power yet Accurate Neural Network-Based Inference Engine Blending Binary and Fixed-Point Convolutions

Arash Fayyazi, Mahdi Nazemi, Arya Fayyazi, Massoud Pedram

AI总结:

NeuroBlend 提出融合二值与定点卷积的 Blend 模块及配套 FPGA 编译硬件架构,在 CIFAR 数据集上以更低功耗和更快推理速度取得优于现有二值神经网络的精度。

摘要:

本文介绍了 NeuroBlend,一种新颖的神经网络架构,其核心是一个被称为 Blend 模块的独特构建块。该模块分别在其主路径和跳跃路径中融合了二值卷积与定点卷积。在 Blend 模块内部的主路径和跳跃路径上,以及在相邻 Blend 模块之间,都进行了批归一化的合理部署。此外,我们还提出了一种编译器和硬件架构,用于将 NeuroBlend 模型映射到 FPGA 设备上,目标是在保持高精度的同时最小化推理延迟。我们的 NeuroBlend-20(NeuroBlend-18)模型分别由在 CIFAR-10(CIFAR-100)上训练的 ResNet-20(ResNet-18)派生而来,实现了 88.0%(73.73%)的分类准确率,比最先进的二值神经网络高出 0.8%(1.33%),每张图像的推理时间为 0.38ms,比此前针对 BNN 的 FPGA 实现快 1.4 倍。类似地,我们用于 CIFAR-10 的 BlendMixer 模型达到了 90.6% 的准确率(比全精度 MLPMixer 低 1.59%),而模型大小相比全精度 MLPMixer 减少了 3.5 倍。此外,利用 DSP 模块进行 48 位按位逻辑运算实现了低功耗 FPGA 部署,使功耗降低了 2.5 倍。

英文摘要:

This paper introduces NeuroBlend, a novel neural network architecture featuring a unique building block known as the Blend module. This module incorporates binary and fixed-point convolutions in its main and skip paths, respectively. There is a judicious deployment of batch normalizations on both main and skip paths inside the Blend module and in between consecutive Blend modules. Additionally, we present a compiler and hardware architecture designed to map NeuroBlend models onto FPGA devices, aiming to minimize inference latency while maintaining high accuracy. Our NeuroBlend-20 (NeuroBlend-18) model, derived from ResNet-20 (ResNet-18) trained on CIFAR-10 (CIFAR-100), achieves 88.0\% (73.73\%) classification accuracy, outperforming state-of-the-art binary neural networks by 0.8\% (1.33\%), with an inference time of 0.38ms per image, 1.4x faster than previous FPGA implementation for BNNs. Similarly, our BlendMixer model for CIFAR-10 attains 90.6\% accuracy(1.59\% less than full precision MLPMixer), with a 3.5x reduction in model size compared to full precision MLPMixer. Furthermore, leveraging DSP blocks for 48-bit bitwise logic operations enables low-power FPGA implementation, yielding a 2.5x reduction in power consumption.

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

↑