亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Framework

对抗制 计算机科学 人工智能 梯度下降 水准点(测量) 机器学习 嵌入 基线(sea) 自然语言处理 人工神经网络 大地测量学 海洋学 地质学 地理
作者
Lifan Yuan,Yichi Zhang,Yangyi Chen,Wei Wei
标识
DOI:10.18653/v1/2023.findings-acl.446
摘要

Despite recent success on various tasks, deep learning techniques still perform poorly on adversarial examples with small perturbations. While optimization-based methods for adversarial attacks are well-explored in the field of computer vision, it is impractical to directly apply them in natural language processing due to the discrete nature of the text. To address the problem, we propose a unified framework to extend the existing optimization-based adversarial attack methods in the vision domain to craft textual adversarial samples. In this framework, continuously optimized perturbations are added to the embedding layer and amplified in the forward propagation process. Then the final perturbed latent representations are decoded with a masked language model head to obtain potential adversarial samples. In this paper, we instantiate our framework with an attack algorithm named Textual Projected Gradient Descent (T-PGD). We find our algorithm effective even using proxy gradient information. Therefore, we perform the more challenging transfer black-box attack and conduct comprehensive experiments to evaluate our attack algorithm with several models on three benchmark datasets. Experimental results demonstrate that our method achieves overall better performance and produces more fluent and grammatical adversarial samples compared to strong baseline methods. The code and data are available at https://github.com/Phantivia/T-PGD.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
星回结璘完成签到 ,获得积分10
刚刚
Yue发布了新的文献求助10
刚刚
宅宅粉发布了新的文献求助10
2秒前
医研完成签到 ,获得积分10
2秒前
咸鸭蛋完成签到 ,获得积分10
3秒前
srx完成签到 ,获得积分10
11秒前
活着完成签到 ,获得积分10
11秒前
Akim应助玛卡巴卡采纳,获得200
12秒前
十六完成签到 ,获得积分10
17秒前
Hello应助Yue采纳,获得10
17秒前
24秒前
26秒前
luck发布了新的文献求助10
29秒前
30秒前
34秒前
善学以致用应助风趣寒梅采纳,获得10
35秒前
40秒前
40秒前
Lucas应助科研通管家采纳,获得10
40秒前
40秒前
完美世界应助科研通管家采纳,获得10
40秒前
科研通AI2S应助科研通管家采纳,获得10
41秒前
41秒前
JDL发布了新的文献求助10
46秒前
玛卡巴卡完成签到,获得积分10
48秒前
49秒前
斯文败类应助VDC采纳,获得10
54秒前
科研通AI6.3应助luck采纳,获得10
57秒前
Taro完成签到 ,获得积分10
57秒前
凤里完成签到 ,获得积分10
58秒前
昌莆完成签到 ,获得积分10
1分钟前
song完成签到 ,获得积分10
1分钟前
Docgyj完成签到 ,获得积分0
1分钟前
Orange应助aiai采纳,获得10
1分钟前
1分钟前
1分钟前
1分钟前
1分钟前
1分钟前
1分钟前
高分求助中
Entre Praga y Madrid: los contactos checoslovaco-españoles (1948-1977) 1000
Polymorphism and polytypism in crystals 1000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
Horngren's Cost Accounting A Managerial Emphasis 17th edition 600
Tactics in Contemporary Drug Design 500
Russian Politics Today: Stability and Fragility (2nd Edition) 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6086295
求助须知:如何正确求助?哪些是违规求助? 7915973
关于积分的说明 16376647
捐赠科研通 5219917
什么是DOI,文献DOI怎么找? 2790776
邀请新用户注册赠送积分活动 1773952
关于科研通互助平台的介绍 1649600