BERT Probe: A python']python package for probing attention based robustness evaluation of BERT models

被引:2
|
作者
Khan, Shahrukh [1 ]
Shahid, Mahnoor [1 ]
Singh, Navdeeppal [1 ]
机构
[1] Saarland Univ, Saarbrucken, Germany
关键词
Deep learning; BERT; Transformers; Adversarial machine learning;
D O I
10.1016/j.simpa.2022.100310
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Transformer models based on attention-based architectures have been significantly successful in establishing state-of-the-art results in natural language processing (NLP). However, recent work about adversarial robustness of attention-based models show that their robustness is susceptible to adversarial inputs causing spurious outputs thereby raising questions about trustworthiness of such models. In this paper, we present BERT Probe which is a python-based package for evaluating robustness to attention attribution based on character-level and word-level evasion attacks and empirically quantifying potential vulnerabilities for sequence classification tasks. Additionally, BERT Probe also provides two out-of-the-box defenses against character-level attention attribution-based evasion attacks.
引用
收藏
页数:3
相关论文
共 50 条
  • [31] AMLCS-DA: A data assimilation package in Python']Python for Atmospheric General Circulation Models
    Nino-Ruiz, Elias D.
    Consuegra, Randy
    SOFTWAREX, 2023, 22
  • [32] WordGraph: A Python']Python Package for Reconstructing Interactive Causal Graphical Models from Text Data
    Ferdjaoui, Amine
    Affeldt, Severine
    Nadif, Mohamed
    PROCEEDINGS OF THE 17TH ACM INTERNATIONAL CONFERENCE ON WEB SEARCH AND DATA MINING, WSDM 2024, 2024, : 1046 - 1049
  • [33] Sarcasm detection based on BERT and attention mechanism
    Meng, Jiana
    Zhu, Yanlin
    Sun, Shichang
    Zhao, Dandan
    MULTIMEDIA TOOLS AND APPLICATIONS, 2024, 83 (10) : 29159 - 29178
  • [34] Using the COAsT Python']Python package to develop a standardised validation workflow for ocean physics models
    Byrne, David
    Polton, Jeff
    O'Dea, Enda
    Williams, Joanne
    GEOSCIENTIFIC MODEL DEVELOPMENT, 2023, 16 (13) : 3749 - 3764
  • [35] Modelly: An open source all in one python']python package for developing machine learning models
    Sarkar, Tushar
    Shah, Disha
    SOFTWARE IMPACTS, 2022, 14
  • [36] ECMpy 2.0: A Python']Python package for automated construction and analysis of enzyme-constrained models
    Mao, Zhitao
    Niu, Jinhui
    Zhao, Jianxiao
    Huang, Yuanyuan
    Wu, Ke
    Yun, Liyuan
    Guan, Jirun
    Yuan, Qianqian
    Liao, Xiaoping
    Wang, Zhiwen
    Ma, Hongwu
    SYNTHETIC AND SYSTEMS BIOTECHNOLOGY, 2024, 9 (03) : 494 - 502
  • [37] Sarcasm detection based on BERT and attention mechanism
    Jiana Meng
    Yanlin Zhu
    Shichang Sun
    Dandan Zhao
    Multimedia Tools and Applications, 2024, 83 : 29159 - 29178
  • [38] Contribution of Python']Python-based BERT software for landslide monitoring using Electrical Resistivity Tomography datasets. A case study in Tghat-Fez (Morocco)
    Jabrane, Oussama
    El Azzab, Driss
    Martinez-Pagan, Pedro
    Martinez-Segura, Marcos A.
    Mahjoub, Himi
    Charroud, Mohammed
    DATA IN BRIEF, 2023, 46
  • [39] Review of Agent-Based Evacuation Models in Python']Python
    Janda, Josef
    Stekerova, Kamila
    PROGRESS IN ARTIFICIAL INTELLIGENCE, EPIA 2023, PT I, 2023, 14115 : 511 - 522
  • [40] Python']Python-Based Reinforcement Learning on Simulink Models
    Schaefer, Georg
    Schirl, Max
    Rehrl, Jakob
    Huber, Stefan
    Hirlaender, Simon
    COMBINING, MODELLING AND ANALYZING IMPRECISION, RANDOMNESS AND DEPENDENCE, SMPS 2024, 2024, 1458 : 449 - 456