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
1秒前
2秒前
思源应助XING采纳,获得10
2秒前
qiuzi完成签到,获得积分10
2秒前
SAN发布了新的文献求助10
3秒前
3秒前
Ronnie发布了新的文献求助10
4秒前
端庄丸子发布了新的文献求助10
5秒前
123发布了新的文献求助10
6秒前
6秒前
芒草lx发布了新的文献求助10
7秒前
7秒前
8秒前
8秒前
可爱的函函应助阔达磬采纳,获得10
9秒前
9秒前
顾矜应助阳光孤容采纳,获得30
10秒前
万能图书馆应助不困采纳,获得10
10秒前
情怀应助风趣从霜采纳,获得10
10秒前
林和发布了新的文献求助20
11秒前
英姑应助青汁采纳,获得10
11秒前
wu发布了新的文献求助10
11秒前
怡然大神完成签到,获得积分10
12秒前
华仔应助SAN采纳,获得10
12秒前
qiu0216发布了新的文献求助10
12秒前
星辰大海应助逍遥子采纳,获得10
13秒前
14秒前
不下雨完成签到,获得积分10
14秒前
酷酷酷发布了新的文献求助10
14秒前
14秒前
道友且慢完成签到,获得积分10
15秒前
哈哈发布了新的文献求助10
15秒前
谢意欢完成签到,获得积分10
17秒前
唠叨的安荷完成签到,获得积分10
18秒前
18秒前
白耀庭发布了新的文献求助10
18秒前
流霞完成签到,获得积分10
19秒前
19秒前
wgy完成签到 ,获得积分10
19秒前
高分求助中
Adhesion Science: Principles & Practice 1234
Signals, Systems, and Signal Processing 610
Petrology and Plate Tectonics,2025 400
Burger's Medicinal Chemistry and Drug Discovery 400
New directions for experimental lessons in science teaching: Myth, Mystery, Necessity? by Emily K. da Silva Cunha Souto (Author), Flávia Lins Silva (Author) 333
Scientific experimentation in the classroom: Comparison between genetic-Socratic-exemplary teaching and workshop teaching by Ingrid Hofer (Author) 333
Programming for Chemical Engineers Using C, C++, and MATLAB 320
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6719605
求助须知:如何正确求助?哪些是违规求助? 8456574
关于积分的说明 18053836
捐赠科研通 5970805
什么是DOI,文献DOI怎么找? 2995738
邀请新用户注册赠送积分活动 1971781
关于科研通互助平台的介绍 1924954