高效且内存高效的ECC替代方案用于可靠的大规模深度神经网络
Effective and Memory-Efficient Alternatives to ECC for Reliable Large-Scale DNNs
AI总结:
本文提出两种轻量级ECC替代方案,通过针对性加固关键位和细粒度保护提升大规模CNN和ViT的可靠性,实验表明其在可靠性、面积和延迟方面均优于传统SECDED ECC。
摘要:
现代深度学习工作负载越来越多地部署在安全关键领域,如汽车系统和超大规模数据中心,其中瞬态硬件故障对系统可靠性构成严重威胁。这些工作负载高度内存密集,其正确功能强烈依赖于存储在内存中的模型参数,通常通过错误校正码(ECC)保护。本文研究了ECC对这些模型的影响,并提出了两种轻量级ECC替代方案,实现了更高的可靠性。第一种方法MSET选择性加固CNN和ViT参数中最脆弱的位,而第二种方法CEP为所有参数位提供细粒度保护。实验结果表明,这两种方法显著增强了大规模CNN和ViT的可靠性,主要优于传统单错误检测双错误校正(SECDED)ECC方案,且无内存开销,实际上在面积和延迟特性上也明显优于SECDED。实验结果还表明,仅保护ViT在FP16和FP32表示中的最高指数位即可有效保护ViT。此外,应用CEP技术可以保证DNNs在高达十倍BER的可靠性下,其面积开销比SECDED ECC低3.5倍,解码速度也快7倍。
英文摘要:
Modern Deep Learning (DL) workloads are increasingly deployed in safety-critical domains, such as automotive systems and hyperscale data centers, where transient hardware faults pose a serious threat to system reliability. These workloads are highly memory-intensive, and their correct functionality strongly depends on model parameters stored in memory, which are typically protected using Error Correction Codes (ECCs). In this work, we study ECC's impact on such models and propose two lightweight alternatives to ECCs that achieve superior reliability. The first approach, MSET, selectively hardens the most vulnerable bits in CNN and ViT parameters, while the second approach, CEP, provides fine-grained protection for all parameter bits. Experimental results demonstrate that both methods significantly enhance the reliability of large CNNs and ViTs, mostly outperforming conventional Single Error Detection Double Error Correction (SECDED) ECC schemes, with no memory overhead and, in fact, with considerably lower area and delay characteristics when compared to SECDEC. Experimental results indicate that ViTs can be effectively protected by merely protecting their highest exponent bits in FP16 and FP32 representations. Furthermore, applying the CEP technique can guarantee the resilience of DNNs by up to one order of magnitude higher BERs, with a 3.5x lower area overhead and 7x faster decoder compared to SECDED ECC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。