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] Latte: Cross-framework Python']Python package for evaluation of latent-based generative models
    Watcharasupat, Karn N.
    Lee, Junyoung
    Lerch, Alexander
    SOFTWARE IMPACTS, 2022, 11
  • [2] torchosr - A PyTorch extension package for Open Set Recognition models evaluation in Python']Python
    Komorniczak, Joanna
    Ksieniewicz, Pawel
    NEUROCOMPUTING, 2024, 566
  • [3] AMEP: The active matter evaluation package for Python']Python
    Hecht, Lukas
    Dormann, Kay-Robert
    Spanheimer, Kai Luca
    Ebrahimi, Mahdieh
    Cordts, Malte
    Mandal, Suvendu
    Mukhopadhyay, Aritra K.
    Liebchen, Benno
    COMPUTER PHYSICS COMMUNICATIONS, 2025, 309
  • [4] Morphosyntactic probing of multilingual BERT models
    Acs, Judit
    Hamerlik, Endre
    Schwartz, Roy
    Smith, Noah A.
    Kornai, Andras
    NATURAL LANGUAGE ENGINEERING, 2024, 30 (04) : 753 - 792
  • [5] BARMPy: Bayesian additive regression models Python']Python package
    Van Boxel, Danielle
    COMPUTATIONAL STATISTICS, 2024,
  • [6] TrustML: A Python']Python package for computing the trustworthiness of ML models
    Manzano, Marti
    Ayala, Claudia
    Gomez, Cristina
    SOFTWAREX, 2024, 26
  • [7] PyPhotonics: A python']python package for the evaluation of luminescence properties of defects
    Tawfik, Sherif Abdulkader
    Russo, Salvy P.
    COMPUTER PHYSICS COMMUNICATIONS, 2022, 273
  • [8] RobustCheck: A Python']Python package for black-box robustness assessment of image classifiers
    Ilie, Andrei
    Stefanescu, Alin
    SOFTWAREX, 2024, 27
  • [9] CosinorPy: a python']python package for cosinor-based rhythmometry
    Moskon, Miha
    BMC BIOINFORMATICS, 2020, 21 (01)
  • [10] pyFBS: A Python']Python Package for Frequency-Based Substructuring
    Kodric, Miha
    Ocepek, Domen
    Pogacar, Miha
    Trainotti, Francesco
    Bregar, Tomaz
    El Mahmoudi, Ahmed
    Cepon, Gregor
    Boltezar, Miha
    Rixen, Daniel
    DYNAMIC SUBSTRUCTURES, VOL. 4, IMAC 2024, 2025, : 105 - 109