Reversible Jump Attack to Textual Classifiers with Modification Reduction

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Ni, Mingze, Sun, Zhensu, Liu, Wei
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913277047472128
author Ni, Mingze
Sun, Zhensu
Liu, Wei
author_facet Ni, Mingze
Sun, Zhensu
Liu, Wei
contents Recent studies on adversarial examples expose vulnerabilities of natural language processing (NLP) models. Existing techniques for generating adversarial examples are typically driven by deterministic hierarchical rules that are agnostic to the optimal adversarial examples, a strategy that often results in adversarial samples with a suboptimal balance between magnitudes of changes and attack successes. To this end, in this research we propose two algorithms, Reversible Jump Attack (RJA) and Metropolis-Hasting Modification Reduction (MMR), to generate highly effective adversarial examples and to improve the imperceptibility of the examples, respectively. RJA utilizes a novel randomization mechanism to enlarge the search space and efficiently adapts to a number of perturbed words for adversarial examples. With these generated adversarial examples, MMR applies the Metropolis-Hasting sampler to enhance the imperceptibility of adversarial examples. Extensive experiments demonstrate that RJA-MMR outperforms current state-of-the-art methods in attack performance, imperceptibility, fluency and grammar correctness.
format Preprint
id arxiv_https___arxiv_org_abs_2403_14731
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Reversible Jump Attack to Textual Classifiers with Modification Reduction
Ni, Mingze
Sun, Zhensu
Liu, Wei
Cryptography and Security
Computation and Language
Machine Learning
Recent studies on adversarial examples expose vulnerabilities of natural language processing (NLP) models. Existing techniques for generating adversarial examples are typically driven by deterministic hierarchical rules that are agnostic to the optimal adversarial examples, a strategy that often results in adversarial samples with a suboptimal balance between magnitudes of changes and attack successes. To this end, in this research we propose two algorithms, Reversible Jump Attack (RJA) and Metropolis-Hasting Modification Reduction (MMR), to generate highly effective adversarial examples and to improve the imperceptibility of the examples, respectively. RJA utilizes a novel randomization mechanism to enlarge the search space and efficiently adapts to a number of perturbed words for adversarial examples. With these generated adversarial examples, MMR applies the Metropolis-Hasting sampler to enhance the imperceptibility of adversarial examples. Extensive experiments demonstrate that RJA-MMR outperforms current state-of-the-art methods in attack performance, imperceptibility, fluency and grammar correctness.
title Reversible Jump Attack to Textual Classifiers with Modification Reduction
topic Cryptography and Security
Computation and Language
Machine Learning
url https://arxiv.org/abs/2403.14731