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 条
  • [1] RobustCheck: A Python']Python package for black-box robustness assessment of image classifiers
    Ilie, Andrei
    Stefanescu, Alin
    SOFTWAREX, 2024, 27
  • [2] Understanding stance classification of BERT models: an attention-based framework
    Saenz, Carlos Abel Cordova
    Becker, Karin
    KNOWLEDGE AND INFORMATION SYSTEMS, 2023, 66 (1) : 419 - 451
  • [3] Understanding stance classification of BERT models: an attention-based framework
    Carlos Abel Córdova Sáenz
    Karin Becker
    Knowledge and Information Systems, 2024, 66 : 419 - 451
  • [4] pymia: A Python']Python package for data handling and evaluation in deep learning-based medical image analysis
    Jungo, Alain
    Scheidegger, Olivier
    Reyes, Mauricio
    Balsiger, Fabian
    COMPUTER METHODS AND PROGRAMS IN BIOMEDICINE, 2021, 198
  • [5] ProPythia: A Python']Python package for protein classification based on machine and deep learning
    Sequeira, Ana Marta
    Lousa, Diana
    Rocha, Miguel
    NEUROCOMPUTING, 2022, 484 : 172 - 182
  • [6] 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
  • [7] Sarcasm detection based on BERT and attention mechanism
    Jiana Meng
    Yanlin Zhu
    Shichang Sun
    Dandan Zhao
    Multimedia Tools and Applications, 2024, 83 : 29159 - 29178
  • [8] Reinforcement of BERT with Dependency-Parsing Based Attention Mask
    Mechouma, Toufik
    Biskri, Ismail
    Meunier, Jean Guy
    ADVANCES IN COMPUTATIONAL COLLECTIVE INTELLIGENCE, ICCCI 2022, 2022, 1653 : 112 - 122
  • [9] PsychRNN: An Accessible and Flexible Python']Python Package for Training Recurrent Neural Network Models on Cognitive Tasks
    Ehrlich, Daniel B.
    Stone, Jasmine T.
    Brandfonbrener, David
    Atanasov, Alexander
    Murray, John D.
    ENEURO, 2021, 8 (01) : 1 - 11
  • [10] Python']Python API Misuse Mining and Classification Based on Hybrid Analysis and Attention Mechanism
    He, Xincheng
    Liu, Xiaojin
    Xu, Lei
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2023, 33 (10) : 1567 - 1597