arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.03996cs.ARcs.CVcs.LGeess.IV
收藏

用于目标检测的硬件鲁棒In-RRAM计算

Hardware-Robust In-RRAM-Computing for Object Detection

National Yang Ming Chiao Tung University(阳明交通大学)

Yu-Hsiang Chiang, Cheng En Ni, Yun Sung, Tuo-Hung Hou, Tian-Sheuan Chang, Shyh Jye Jou

摘要:

存内计算由于其高度并行计算、低功耗和低面积成本而成为近年来深度学习硬件加速器的流行架构。然而,在RRAM计算(IRC)遭受大的设备变化和许多非理想的影响,在硬件。虽然以前的方法在模型训练中包括这些效应成功地提高了变异容忍度,但它们只考虑了部分非理想效应和相对简单的分类任务。本文提出了一种软硬件联合优化策略,设计了一个硬件鲁棒的IRC宏用于目标检测。我们通过使用低字线电压来降低单元电流,以在一次操作中实现完整的卷积计算,从而最大限度地减少非线性加法的影响。我们还实现了三进制权重映射,并删除了批量归一化,以更好地容忍器件变化,感测放大器变化和IR下降问题。包括额外的偏置以克服电流感测范围的限制。所提出的方法已成功地应用于一个复杂的目标检测任务,只有3.85\%的mAP下降,而天真的设计遭受灾难性的失败,这些非理想的影响。

英文摘要:

In-memory computing is becoming a popular architecture for deep-learning hardware accelerators recently due to its highly parallel computing, low power, and low area cost. However, in-RRAM computing (IRC) suffered from large device variation and numerous nonideal effects in hardware. Although previous approaches including these effects in model training successfully improved variation tolerance, they only considered part of the nonideal effects and relatively simple classification tasks. This paper proposes a joint hardware and software optimization strategy to design a hardware-robust IRC macro for object detection. We lower the cell current by using a low word-line voltage to enable a complete convolution calculation in one operation that minimizes the impact of nonlinear addition. We also implement ternary weight mapping and remove batch normalization for better tolerance against device variation, sense amplifier variation, and IR drop problem. An extra bias is included to overcome the limitation of the current sensing range. The proposed approach has been successfully applied to a complex object detection task with only 3.85\% mAP drop, whereas a naive design suffers catastrophic failure under these nonideal effects.

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

↑