Attention-Based Genetic Algorithm for Adversarial Attack in Natural Language Processing

被引:1
|
作者
Zhou, Shasha [1 ]
Li, Ke [2 ]
Min, Geyong [2 ]
机构
[1] Univ Elect Sci & Technol China, Coll Comp Sci & Engn, Chengdu 611731, Peoples R China
[2] Univ Exeter, Dept Comp Sci, Exeter EX4 5DS, Devon, England
基金
英国工程与自然科学研究理事会;
关键词
Attention mechanism; Adversarial attack; Genetic algorithm; Natural language processing;
D O I
10.1007/978-3-031-14714-2_24
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Many recent studies have shown that deep neural networks (DNNs) are vulnerable to adversarial examples. Adversarial attacks on DNNs for natural language processing tasks are notoriously more challenging than that in computer vision. This paper proposes an attention-based genetic algorithm (dubbed AGA) for generating adversarial examples under a black-box setting. In particular, the attention mechanism helps identify the relatively more important words in a given text. Based on this information, bespoke crossover and mutation operators are developed to navigate AGA to focus on exploiting relatively more important words thus leading to a save of computational resources. Experiments on three widely used datasets demonstrate that AGA achieves a higher success rate with less than 48% of the number of queries than the peer algorithms. In addition, the underlying DNN can become more robust by using the adversarial examples obtained by AGA for adversarial training.
引用
收藏
页码:341 / 355
页数:15
相关论文
共 50 条
  • [1] BERT for the Processing of Radiological Reports: An Attention-based Natural Language Processing Algorithm
    Soffer, Shelly
    Glicksberg, Benjamin S.
    Zimlichman, Eyal
    Klang, Eyal
    [J]. ACADEMIC RADIOLOGY, 2022, 29 (04) : 634 - 635
  • [2] Attention-based Natural Language Person Retrieval
    Zhou, Tao
    Chen, Muhao
    Yu, Jie
    Terzopoulos, Demetri
    [J]. 2017 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION WORKSHOPS (CVPRW), 2017, : 27 - 34
  • [3] Adversarial attack and defense technologies in natural language processing: A survey
    Qiu, Shilin
    Liu, Qihe
    Zhou, Shijie
    Huang, Wen
    [J]. NEUROCOMPUTING, 2022, 492 : 278 - 307
  • [4] Implications of Minimum Description Length for Adversarial Attack in Natural Language Processing
    Tiwari, Kshitiz
    Zhang, Lu
    [J]. ENTROPY, 2024, 26 (05)
  • [5] Survey of Adversarial Attack, Defense and Robustness Analysis for Natural Language Processing
    Zheng H.
    Chen J.
    Zhang Y.
    Zhang X.
    Ge C.
    Liu Z.
    Ouyang Y.
    Ji S.
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2021, 58 (08): : 1727 - 1750
  • [6] Residue-Based Natural Language Adversarial Attack Detection
    Raina, Vyas
    Gales, Mark
    [J]. NAACL 2022: THE 2022 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES, 2022, : 3836 - 3848
  • [7] ATTENTION-BASED ADVERSARIAL PARTIAL DOMAIN ADAPTATION
    Wang, Mengzhu
    An, Shan
    Luo, Xiao
    Peng, Xiong
    Yu, Wei
    Chen, Junyang
    Luo, Zhigang
    [J]. 2022 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2022, : 3144 - 3148
  • [8] Adversarial Attention-Based Variational Graph Autoencoder
    Weng, Ziqiang
    Zhang, Weiyu
    Dou, Wei
    [J]. IEEE ACCESS, 2020, 8 : 152637 - 152645
  • [9] An Attention-based Recommendation Algorithm
    Chu, Yan
    Qi, Shuhao
    Yang, Yue
    Shan, Chenqi
    Wang, Lina
    Wang, Zhengkui
    [J]. 2019 IEEE INTL CONF ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, BIG DATA & CLOUD COMPUTING, SUSTAINABLE COMPUTING & COMMUNICATIONS, SOCIAL COMPUTING & NETWORKING (ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM 2019), 2019, : 1505 - 1510
  • [10] Unseen Filler Generalization In Attention-based Natural Language Reasoning Models
    Chen, Chin-Hui
    Fu, Yi-Fu
    Cheng, Hsiao-Hua
    Lin, Shou-De
    [J]. 2020 IEEE SECOND INTERNATIONAL CONFERENCE ON COGNITIVE MACHINE INTELLIGENCE (COGMI 2020), 2020, : 42 - 51