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

ReRAM上面向基于Transformer的语言模型的零空间成本容错

Zero-Space Cost Fault Tolerance for Transformer-based Language Models on ReRAM

University of Connecticut(康涅狄格大学);University of Georgia(佐治亚大学);Georgia Institute of Technology(佐治亚理工学院);Rutgers(罗格斯大学)

Bingbing Li, Geng Yuan, Zigeng Wang, Shaoyi Huang, Hongwu Peng, Payman Behnam, Wujie Wen, Hang Liu, Caiwen Ding

AI总结:

针对ReRAM硬件故障导致推理错误且传统冗余交叉开关空间成本高的问题,提出结合可微结构剪枝、权重复制投票及MSB嵌入的零空间成本容错机制,并在BERT的GLUE九任务上验证有效。

摘要:

阻变随机存取存储器(ReRAM)因其支持并行原位矩阵-向量乘法,已成为深度神经网络(DNN)颇具前景的平台。然而,诸如固定型故障缺陷之类的硬件故障,可能在模型推理期间导致显著的预测误差。虽然可以使用额外的交叉开关来应对这些故障,但它们会带来存储开销,并且在空间、能耗和成本方面效率不高。本文提出一种不产生任何空间成本的故障保护机制。我们的方法包括:1)对行和列进行可微结构剪枝,以降低模型冗余;2)权重复制与投票,以获得鲁棒输出;3)将复制的最高有效位(MSB)嵌入模型权重中。我们使用BERT模型在GLUE基准测试的九个任务上评估了该方法,实验结果证明了其有效性。

英文摘要:

Resistive Random Access Memory (ReRAM) has emerged as a promising platform for deep neural networks (DNNs) due to its support for parallel in-situ matrix-vector multiplication. However, hardware failures, such as stuck-at-fault defects, can result in significant prediction errors during model inference. While additional crossbars can be used to address these failures, they come with storage overhead and are not efficient in terms of space, energy, and cost. In this paper, we propose a fault protection mechanism that incurs zero space cost. Our approach includes: 1) differentiable structure pruning of rows and columns to reduce model redundancy, 2) weight duplication and voting for robust output, and 3) embedding duplicated most significant bits (MSBs) into the model weight. We evaluate our method on nine tasks of the GLUE benchmark with the BERT model, and experimental results prove its effectiveness.

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

↑