Weight Saliency search with Semantic Constraint for Neural Machine Translation attacks

计算机科学 机器翻译 约束(计算机辅助设计) 人工智能 翻译(生物学) 自然语言处理 模式识别(心理学) 机器学习 理论计算机科学 数学 化学 生物化学 几何学 信使核糖核酸 基因
作者
Weiwei Han,Xinghao Yang,Baodi Liu,Kai Zhang,Weifeng Liu
出处
期刊:Pattern Recognition Letters [Elsevier BV]
标识
DOI:10.1016/j.patrec.2024.05.018
摘要

Text adversarial attack is an effective way to improve the robustness of Neural Machine Translation (NMT) models. Existing NMT attack tasks are often completed by replacing words. However, most of previous works pursue a high attack success rate but produce semantic inconsistency sentences, leading to wrong translations even for humans. In this paper, we propose a Weight Saliency search with Semantic Constraint (WSSC) algorithm to make semantic consistency word modifications to the input sentence for black-box NMT attacks. Specifically, our WSSC has two major merits. First, it optimizes the word substitution with a word saliency method, which is helpful to reduce word replacement rate. Second, it constrains the objective function with a semantic similarity loss, ensuring every modification does not lead to significant semantic changes. We evaluate the effectiveness of the proposed WSSC by attacking three popular NMT models, i.e., T5, Marian, and BART, on three widely used datasets, i.e., WMT14, WMT16, and TED. Experimental results validate that our WSSC improves Attack Success Rate (ASR) by 4.02% and Semantic Similarity score (USE) by 1.28% on average. Besides, our WSSC also shows good properties in keeping grammar correctness and transfer attack.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
在水一方应助灰哩采纳,获得10
刚刚
LW90完成签到,获得积分10
刚刚
刚刚
1秒前
1秒前
插画弄玉完成签到,获得积分10
1秒前
Song完成签到,获得积分10
1秒前
Akim应助cj采纳,获得10
1秒前
2秒前
汪金发布了新的文献求助10
2秒前
欢呼曼荷完成签到,获得积分10
2秒前
暴躁的念之完成签到,获得积分10
3秒前
3秒前
不秃吧完成签到,获得积分10
3秒前
Master发布了新的文献求助30
4秒前
lZzz完成签到,获得积分10
4秒前
何迪克发布了新的文献求助10
4秒前
析木完成签到,获得积分10
5秒前
AAA完成签到,获得积分10
5秒前
XialianWeng发布了新的文献求助10
5秒前
传奇3应助缥缈静珊采纳,获得10
5秒前
好运偏爱应助贾贡献采纳,获得200
5秒前
sure发布了新的文献求助10
5秒前
Hope发布了新的文献求助10
6秒前
6秒前
lululullulu完成签到,获得积分10
6秒前
corleeang发布了新的文献求助10
6秒前
shandy完成签到,获得积分10
7秒前
yu发布了新的文献求助10
7秒前
Chatang完成签到 ,获得积分10
7秒前
Wissenheimer应助英勇的又菱采纳,获得50
8秒前
飞哥完成签到 ,获得积分10
8秒前
9秒前
9秒前
9秒前
9秒前
9秒前
chendahuanhuan完成签到,获得积分10
10秒前
Sweetx完成签到,获得积分10
10秒前
shandy发布了新的文献求助10
10秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
化工安全与环保 1000
Autoparametric Resonance in Mechanical Systems 1000
基于锂离子电池正极材料回收的绿色溶剂开发及工程化应用研究 800
Effects of Two Weeks of Red Light Therapy on Choroidal Thickness and Axial Length in Young Adults 700
Cosmos as Art Object: Studies in Plato's Timaeus and Other Dialogues 600
Management and the Arts 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7656971
求助须知:如何正确求助?哪些是违规求助? 9227654
关于积分的说明 19831205
捐赠科研通 7223511
什么是DOI,文献DOI怎么找? 3280384
关于科研通互助平台的介绍 2440659
邀请新用户注册赠送积分活动 2280250