arrow
返回

Transferable adversarial distribution learning: Query-efficient adversarial attack against large language models

delete2023-12-01
delete5
PRE
AI
H
Huoyuan Dong
J
Jialiang Dong
万少华 封面图
万少华 (Shaohua Wan)
S
Shuai Yuan
Z
Zhitao Guan *
DOI:10.1016/j.cose.2023.103482delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
It is a challenging task to fool a text classifier based on deep neural networks under the black-box setting where the target model can only be queried. Among the existing black-box attacks, decision-based methods have a large query cost due to exponential perturbation space and greedy search strategy. Transfer-based methods, on the other hand, tend to overfit the surrogate model and thus fail when applied to unknown target models. In this paper, we propose a straightforward yet highly effective adversarial attack framework for black-box transformer-based models, thereby exposing vulnerabilities within large language models. Specifically, we leverage a fine-tuned large language model as a white-box surrogate model and optimize a distribution of adversarial text. This distribution is parameterized by a continuous-valued matrix based upon the surrogate model. To avoid overfitting of the distribution and improve its adversarial transferability, we incorporate an additional causal language model into our framework as a constraint model. Based on this constraint model, we add language model perplexity and semantic consistency as regularization terms during the distribution training process. To further reduce the number of queries to the target model, i.e., improve the threat level of examples drawn from our distribution, we employ a geometric loss strategy to ensure that the distribution training process learns the optimal perturbation. Extensive experimental studies have been carried out on benchmark datasets and the results demonstrate significant improvement on the performance and query efficiency under black-box setting in comparison with well-established approaches. Our approach achieves an 80.98% reduction in BERT model accuracy while consuming only 21.86% of the query times required by prior attacks.
Keyword:
Adversarial attack
Natural language processing
Black-box attack
Adversarial distribution
Gradient-based optimization

期刊

C
Computers and Security
IF:
5.4
论文数:
4.6K
被引数:
1.4W

机构

S
shenzhen institute for advanced study, uestc
学者数:
419
论文数: 371
被引数: 1
N
north china electric power university
学者数:
2.5W
论文数: 1.7W
被引数: 16
引用论文

引用论文

Adversarial attack via dual-stage network erosion
err2022-11-01
err3
errOAAI
errDuan, Yexin; Zou, Junhua; Zhou, Xingyu; Zhang, Wu; He, Zhengyun; Zhan, Dazhi; Zhang, Jin; Pan, Zhisong
err分享
err收藏
err分享
err收藏
Multi-Objective Optimization for Resource Allocation in Vehicular Cloud Computing Networks
err2022-12-01
err85
PREAI
errWei, Wenting; Yang, Ruying; Gu, Huaxi; Zhao, Weike; Chen, Chen; Wan, Shaohua
err分享
err收藏