位切交叉bar阵列中用于容错计算-in-内存的权重变换:设计技术与评估框架
Weight Transformations in Bit-Sliced Crossbar Arrays for Fault Tolerant Computing-in-Memory: Design Techniques and Evaluation Framework
AI总结:
本文提出无需训练的符号翻转和位翻转技术,用于提升基于位切交叉bar阵列的计算-in-内存系统在高故障率下的容错能力。
摘要:
在计算-in-内存(CiM)加速器上部署深度神经网络(DNN)可以显著降低推理过程中的能耗并提高速度,通过减少数据移动。然而,基于内存单元的粘滞故障(SAFs)对CiM系统可靠性构成挑战,这些故障会破坏存储的权重并导致准确性下降。尽管最近值映射(CVM)已被证明在多比特DNN部署在位切交叉bar上时可以部分缓解这些影响,但其在高SAF率或复杂任务下的容错能力往往不足。在本工作中,我们提出了两种无需训练的权重变换技术,符号翻转和位翻转,以增强多比特DNN在位切交叉bar阵列中的SAF容忍度。符号翻转通过在权重列级别上选择权重与其负数之间的切换来操作,而位翻转通过选择性地翻转个别位切片提供更细粒度的控制。这两种方法扩展了故障感知映射的搜索空间,与CVM协同工作,并且不需要重新训练或额外内存。为了实现可扩展性,我们引入了一个基于查找表(LUT)的框架,加速了最优变换的计算,并支持在不同模型和故障率下的快速评估。在ResNet-18、ResNet-50和ViT模型上对CIFAR-100和ImageNet的大量实验表明,所提出的技术在SAF注入下恢复了大部分的准确性损失。硬件分析显示,这些方法带来的开销极小,符号翻转导致的能耗、延迟和面积开销几乎可以忽略不计,而位翻转则提供更高的故障容忍度,但伴随较小的开销。这些结果确立了符号翻转和位翻转作为实用且可扩展的SAF缓解策略,适用于基于CiM的DNN加速器。
英文摘要:
The deployment of deep neural networks (DNNs) on compute-in-memory (CiM) accelerators offers significant energy savings and speed-up by reducing data movement during inference. However, the reliability of CiM-based systems is challenged by stuck-at faults (SAFs) in memory cells, which corrupt stored weights and lead to accuracy degradation. While closest value mapping (CVM) has been shown to partially mitigate these effects for multibit DNNs deployed on bit-sliced crossbars, its fault tolerance is often insufficient under high SAF rates or for complex tasks. In this work, we propose two training-free weight transformation techniques, sign-flip and bit-flip, that enhance SAF tolerance in multi-bit DNNs deployed on bit-sliced crossbar arrays. Sign-flip operates at the weight-column level by selecting between a weight and its negation, whereas bit-flip provides finer granularity by selectively inverting individual bit slices. Both methods expand the search space for fault-aware mappings, operate synergistically with CVM, and require no retraining or additional memory. To enable scalability, we introduce a look-up-table (LUT)-based framework that accelerates the computation of optimal transformations and supports rapid evaluation across models and fault rates. Extensive experiments on ResNet-18, ResNet-50, and ViT models with CIFAR-100 and ImageNet demonstrate that the proposed techniques recover most of the accuracy lost under SAF injection. Hardware analysis shows that these methods incur negligible overhead, with sign-flip leading to negligible energy, latency, and area cost, and bit-flip providing higher fault resilience with modest overheads. These results establish sign-flip and bit-flip as practical and scalable SAF-mitigation strategies for CiM-based DNN accelerators.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。