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 条
  • [21] 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
  • [22] FSVPy: A python']python-based package for fluorescent streak velocimetry (FSV)
    Lin, Han
    Blackwell, Brendan C.
    Call, Connor C.
    Liu, Shanliangzi
    Liu, Claire
    Driscoll, Michelle M.
    Richards, Jeffrey J.
    JOURNAL OF RHEOLOGY, 2023, 67 (01) : 197 - 206
  • [23] Kssdtree: an interactive Python']Python package for phylogenetic analysis based on sketching technique
    Yang, Hang
    Lu, Xiaoxin
    Chang, Jiaxing
    Chang, Qing
    Zheng, Wen
    Chen, Zehua
    Yi, Huiguang
    BIOINFORMATICS, 2024, 40 (10)
  • [24] PyUNIxMD: A Python']Python-based excited state molecular dynamics package
    Lee, In Seong
    Ha, Jong-Kwon
    Han, Daeho
    Kim, Tae In
    Moon, Sung Wook
    Min, Seung Kyu
    JOURNAL OF COMPUTATIONAL CHEMISTRY, 2021, 42 (24) : 1755 - 1766
  • [25] PYROBOCOP: Python']Python-based Robotic Control & Optimization Package for Manipulation
    Raghunathan, Arvind U.
    Jha, Devesh K.
    Romeres, Diego
    2022 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA 2022), 2022,
  • [26] D-BERT: Incorporating dependency-based attention into BERT for relation extraction
    Huang, Yuan
    Li, Zhixing
    Deng, Wei
    Wang, Guoyin
    Lin, Zhimin
    CAAI TRANSACTIONS ON INTELLIGENCE TECHNOLOGY, 2021, 6 (04) : 417 - 425
  • [27] Pyrano - A Python']Python package for LiDAR-based solar irradiance simulations
    Bognar, Adam
    Loonen, Roel C. G. M.
    Hensen, Jan L. M.
    PROCEEDINGS OF BUILDING SIMULATION 2021: 17TH CONFERENCE OF IBPSA, 2022, 17 : 1529 - 1536
  • [28] 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
  • [29] SleepECG: a Python']Python package for sleep staging based on heart rate variability
    Hofer, F.
    Traunmueller, C.
    Schwerdtfeger, A. R.
    Brunner, C.
    INTERNATIONAL JOURNAL OF PSYCHOPHYSIOLOGY, 2023, 188 : 101 - 101
  • [30] The GRAPES evaluation tools based on Python']Python (GetPy)
    Zhao, Bin
    Hu, Jiangkai
    Wang, Dapeng
    Zhang, Bo
    Chen, Fajing
    Wan, Ziwei
    Sun, Siyuan
    CCF TRANSACTIONS ON HIGH PERFORMANCE COMPUTING, 2023, 5 (04) : 347 - 359