conference-paper Open access

Evaluating the Validity of Word-level Adversarial Attacks with Large Language Models

Research footprint

At a glance

Citations
3
References
0
Comments
0
Paper overview

Abstract

Deep neural networks exhibit vulnerability to word-level adversarial attacks in natural language processing.Most of these attack methods adopt synonymous substitutions to perturb original samples for crafting adversarial examples while attempting to maintain semantic consistency with the originals.Some of them claim that they could achieve over 90% attack success rate, thereby raising serious safety concerns.However, our investigation reveals that many purportedly successful adversarial examples are actually invalid due to significant changes in semantic meanings compared to their originals.Even when equipped with semantic constraints such as BERTScore, existing attack methods can generate up to 87.9% invalid adversarial examples.Building on this insight, we first curate a 13K dataset for adversarial validity evaluation with the help of Then, an open-source large language model is fine-tuned to offer an interpretable validity score for assessing the semantic consistency between original and adversarial examples.Finally, this validity score can serve as a guide for existing adversarial attack methods to generate valid adversarial examples.Comprehensive experiments demonstrate the effectiveness of our method in evaluating and refining the quality of adversarial examples.

Record transparency

Publication details

DOI
10.18653/v1/2024.findings-acl.292
OpenAlex
W4402683987
Document type
conference-paper
Language
EN
Last metadata update
Community

Comments

Log in to join the discussion.

  1. No comments yet. Start the discussion.