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 条
  • [1] On-Chip Bus Protection against Soft Errors
    Mach, Jan
    Kohutka, Lukas
    Cicak, Pavel
    ELECTRONICS, 2023, 12 (22)
  • [2] In-Pipeline Processor Protection against Soft Errors
    Mach, Jan
    Kohutka, Lukas
    Cicak, Pavel
    JOURNAL OF LOW POWER ELECTRONICS AND APPLICATIONS, 2023, 13 (02)
  • [3] On the Impact of Soft Errors on Transformers Embeddings
    Gao, Zhen
    Liu, Shuang
    Reviriego, Pedro
    Liu, Shanshan
    Lombardi, Fabrizio
    2024 IEEE 24TH INTERNATIONAL CONFERENCE ON NANOTECHNOLOGY, NANO 2024, 2024, : 136 - 140
  • [4] Learning Embeddings from Free-text Triage Notes using Pretrained Transformer Models
    Arnaud, Emilien
    Elbattah, Mahmoud
    Gignon, Maxime
    Dequen, Gilles
    HEALTHINF: PROCEEDINGS OF THE 15TH INTERNATIONAL JOINT CONFERENCE ON BIOMEDICAL ENGINEERING SYSTEMS AND TECHNOLOGIES - VOL 5: HEALTHINF, 2021, : 835 - 841
  • [5] SHARC: An efficient metric for selective protection of software against soft errors
    Isaza-Gonzalez, J.
    Restrepo-Calle, Felipe
    Martinez-Alvarez, A.
    Cuenca-Asensi, S.
    MICROELECTRONICS RELIABILITY, 2018, 88-90 : 903 - 908
  • [6] Compiler-directed selective data protection against soft errors
    Chen, G.
    Kandemir, M.
    Irwin, M. J.
    Memik, G.
    ASP-DAC 2005: PROCEEDINGS OF THE ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE, VOLS 1 AND 2, 2005, : 713 - 716
  • [7] Enhancing Power Transformer Differential Protection to Improve Security and Dependability
    Sevov, Lubomir
    Khan, Umar
    Zhang, Zhiying
    IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, 2017, 53 (03) : 2642 - 2649
  • [8] ENHANCING POWER TRANSFORMER DIFFERENTIAL PROTECTION TO IMPROVE SECURITY AND DEPENDABILITY
    Sevov, Lubomir
    Khan, Umar
    Zhang, Zhiying
    2016 Petroleum and Chemical Industry Technical Conference (PCIC), 2016,
  • [9] Setting-less transformer protection for ensuring security and dependability
    Choi, Sungyun
    Meliopoulos, A. P. Sakis
    ELECTRICAL ENGINEERING, 2016, 98 (03) : 283 - 297
  • [10] Setting-less transformer protection for ensuring security and dependability
    Sungyun Choi
    A. P. Sakis Meliopoulos
    Electrical Engineering, 2016, 98 : 283 - 297