Dependability and Protection of Transformer Models Against Soft Errors on Text Embeddings

被引:1
|
作者
Gao, Zhen [1 ]
Liu, Shuang [1 ]
Reviriego, Pedro [2 ]
Liu, Shanshan [3 ]
Lombardi, Fabrizio [4 ]
机构
[1] Tianjin Univ, Sch Elect & Informat Engn, Tianjin 300072, Peoples R China
[2] Univ Politecn Madrid, ETSI Telecomunicac, Madrid 28040, Spain
[3] Univ Elect Sci & Technol China, Sch Informat & Commun Engn, Chengdu 611731, Sichuan, Peoples R China
[4] Northeastern Univ, Dept Elect & Comp Engn, Boston, MA 02215 USA
关键词
Transformers; Vectors; Encoding; Bidirectional control; Bit error rate; Protection; Natural language processing; Text summarization; Semantics; Predictive models; embedding parameters; soft errors; dependability; BERT; T5; CLIP; CODES;
D O I
10.1109/TDMR.2024.3478753
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Transformers have achieved remarkable success in diverse fields such as Natural Language Processing (NLP) and computer vision (CV). For pre-trained Transformer models involving text processing, embedding representations are important parameters, incurring a large volume of memory. Soft errors on embedding vectors can lead to incorrect inputs to Transformers, and if not corrected in time, accumulated errors may produce undesirable outcomes. This paper considers the dependability of text related Transformer models to accumulated errors on embedding parameters and takes three typical models in different applications as case studies: BERT based sentence emotion classification, T5 based text summarization, and CLIP based image classification. We first evaluate the dependability of the three models by injecting bit errors on embedding parameters; only errors on a few critical bits affect model performance. Based on this finding, we first propose an efficient selective protection for embedding parameters with small values, and then through scaling, we extend the scheme for models with large embedding parameters. Extensive simulation results show that the proposed protection scheme can effectively remove the impact of soft errors on task performance. In particular, the complexity overhead of the proposed scheme is negligible, and the additional memory overhead as encountered in the SEC scheme is avoided.
引用
收藏
页码:54 / 65
页数:12
相关论文
共 50 条
  • [41] Waveform Similarity Based Transformer Phase Differential Protection Against Current Transformer Saturation
    Weng H.
    Wang S.
    Lin X.
    Chen L.
    Huang J.
    Li Z.
    Dianli Xitong Zidonghua/Automation of Electric Power Systems, 2019, 43 (04): : 132 - 138
  • [42] A Knapsack Methodology for Hardware-based DMR Protection against Soft Errors in Superscalar Out-of-Order Processors
    Tonetto, Rafael Billig
    Cardoso, Douglas Maciel
    Brandalero, Marcelo
    Agostini, Luciano
    Nazar, Gabriel L.
    Azambuja, Jose Rodrigo
    Schneider Beck, Antonio Carlos
    2019 IFIP/IEEE 27TH INTERNATIONAL CONFERENCE ON VERY LARGE SCALE INTEGRATION (VLSI-SOC), 2019, : 287 - 292
  • [43] Compressing Transformer-Based Semantic Parsing Models using Compositional Code Embeddings
    Prakash, Prafull
    Shashidhar, Saurabh Kumar
    Zhao, Wenlong
    Rongali, Subendhu
    Khan, Haidar
    Kayser, Michael
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EMNLP 2020, 2020, : 4711 - 4717
  • [44] Transformer Protection Against Turn-To-Turn Faults.
    Gagen, A.F.
    Komissarov, G.A.
    Chechushkov, G.A.
    Elektrichestvo, 1974, (02): : 56 - 59
  • [45] Protection of Electrical and Electronic Systems against Surges by an Isolation Transformer
    Amicucci, Gianluca
    Fiamingo, Fabio
    Lo Piparo, Giovan B.
    Kuca, Boleslaw
    Flisowski, Zdobyslaw
    Mazzetti, Carlo
    PRZEGLAD ELEKTROTECHNICZNY, 2010, 86 (03): : 11 - 13
  • [46] Sensitivity of computational fluid dynamics simulations against soft errors
    E. Fatih Yetkin
    Şenol Pişkin
    Computing, 2021, 103 : 2687 - 2709
  • [47] A Configurable Approach to Tolerate Soft Errors via Partial Software Protection
    Xiong, Lei
    Tan, Qingping
    2011 NINTH IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING WITH APPLICATIONS WORKSHOPS (ISPAW), 2011, : 260 - 265
  • [48] Assuring Application-level Correctness Against Soft Errors
    Cong, Jason
    Gururaj, Karthik
    2011 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN (ICCAD), 2011, : 150 - 157
  • [49] PRESAGE: Protecting Structured Address Generation against Soft Errors
    Sharma, Vishal Chandra
    Gopalakrishnan, Ganesh
    Krishnamoorthy, Sriram
    PROCEEDINGS OF 2016 IEEE 23RD INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING (HIPC), 2016, : 252 - 261
  • [50] Fast and Accurate Error Simulation for CNNs Against Soft Errors
    Bolchini, Cristiana
    Cassano, Luca
    Miele, Antonio
    Toschi, Alessandro
    IEEE TRANSACTIONS ON COMPUTERS, 2023, 72 (04) : 984 - 997