arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.08029cs.CL

A Context-Aware Approach for Textual Adversarial Attack through Probability Difference Guided Beam Search

National University of Defense Technology(国防科技大学)

Huijun Liu, Jie Yu, Shasha Li, Jun Ma, Bin Ji

英文摘要:

Textual adversarial attacks expose the vulnerabilities of text classifiers and can be used to improve their robustness. Existing context-aware methods solely consider the gold label probability and use the greedy search when searching an attack path, often limiting the attack efficiency. To tackle these issues, we propose PDBS, a context-aware textual adversarial attack model using Probability Difference guided Beam Search. The probability difference is an overall consideration of all class label probabilities, and PDBS uses it to guide the selection of attack paths. In addition, PDBS uses the beam search to find a successful attack path, thus avoiding suffering from limited search space. Extensive experiments and human evaluation demonstrate that PDBS outperforms previous best models in a series of evaluation metrics, especially bringing up to a +19.5% attack success rate. Ablation studies and qualitative analyses further confirm the efficiency of PDBS.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑