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

Bingbing Li, Geng Yuan, Zigeng Wang, Shaoyi Huang, Hongwu Peng +4 more
1/22/2024
cs.LGcs.AIcs.AR

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2024zerospace,
  title  = {Zero-Space Cost Fault Tolerance for Transformer-based Language Models on ReRAM},
  author = {Bingbing Li and Geng Yuan and Zigeng Wang and Shaoyi Huang and Hongwu Peng and Payman Behnam and Wujie Wen and Hang Liu and Caiwen Ding},
  year   = {2024},
  eprint = {2401.11664},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.11664v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.11664.svg)](https://codeofpaper.com/paper/2401.11664)

Discussion