pith. sign in

arxiv: 2302.05120 · v1 · pith:WZFKMPNLnew · submitted 2023-02-10 · 💻 cs.CL

Step by Step Loss Goes Very Far: Multi-Step Quantization for Adversarial Text Attacks

classification 💻 cs.CL
keywords adversarialcontinuouslanguagelossmulti-stepquantizationsteptext
0
0 comments X
read the original abstract

We propose a novel gradient-based attack against transformer-based language models that searches for an adversarial example in a continuous space of token probabilities. Our algorithm mitigates the gap between adversarial loss for continuous and discrete text representations by performing multi-step quantization in a quantization-compensation loop. Experiments show that our method significantly outperforms other approaches on various natural language processing (NLP) tasks.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.