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

面向轻量级实例分割的专用推理引擎与二值权重神经网络

Dedicated Inference Engine and Binary-Weight Neural Networks for Lightweight Instance Segmentation

Canon Innovative Solution (Beijing) Co., Ltd.(佳能创新解决方案(北京)有限公司);Device Technology Development Headquarters, Canon Inc.(佳能株式会社设备技术开发总部)

Tse-Wei Chen, Wei Tao, Dongyue Zhao, Kazuhiro Mima, Tadayuki Ito, Kinya Osa, Masami Kato

AI总结:

本文提出一种面向二值权重神经网络的低硬件成本推理引擎架构,通过按位运算简化MAC操作,并结合SegNeXt主干与SparseInst解码器构建轻量级实例分割网络,在显著缩小模型规模的同时实现优于YOLACT的精度。

摘要:

降低计算成本是嵌入式系统开发中的一个重要问题。二值权重神经网络(BNNs)将权重二值化并对激活进行量化,被用于降低各类应用的计算成本。本文提出了一种用于推理引擎的硬件架构设计方法,以处理具有两种运算模式的现代BNNs。通过用按位运算替代乘法运算,可以简化乘累加(MAC)运算。所提方法通过从硬件系统中移除一部分计算成本,能够有效减少推理引擎的门电路数量。该MAC运算架构只需相关工作的52%硬件成本即可高效计算BNNs的推理结果。为了证明该推理引擎能够处理实际应用,本文还提出了两个轻量级网络,它们结合了SegNeXt的主干网络和SparseInst的解码器,用于实例分割。这些轻量级网络的输出结果仅使用按位运算和加法运算进行计算。所提出的推理引擎比相关工作的硬件成本更低。实验结果表明,所提出的推理引擎能够处理所提出的实例分割网络,并且在“Person”类别上取得了比YOLACT更高的准确率,尽管模型大小比YOLACT小77.7$\ imes$。

英文摘要:

Reducing computational costs is an important issue for development of embedded systems. Binary-weight Neural Networks (BNNs), in which weights are binarized and activations are quantized, are employed to reduce computational costs of various kinds of applications. In this paper, a design methodology of hardware architecture for inference engines is proposed to handle modern BNNs with two operation modes. Multiply-Accumulate (MAC) operations can be simplified by replacing multiply operations with bitwise operations. The proposed method can effectively reduce the gate count of inference engines by removing a part of computational costs from the hardware system. The architecture of MAC operations can calculate the inference results of BNNs efficiently with only 52% of hardware costs compared with the related works. To show that the inference engine can handle practical applications, two lightweight networks which combine the backbones of SegNeXt and the decoder of SparseInst for instance segmentation are also proposed. The output results of the lightweight networks are computed using only bitwise operations and add operations. The proposed inference engine has lower hardware costs than related works. The experimental results show that the proposed inference engine can handle the proposed instance-segmentation networks and achieves higher accuracy than YOLACT on the "Person" category although the model size is 77.7$\times$ smaller compared with YOLACT.

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

↑