arXiv · 2410.02163
Adversarial Decoding: Generating Readable Documents for Adversarial Objectives
Abstract
We design, implement, and evaluate adversarial decoding, a new, generic text generation technique that produces readable documents for different adversarial objectives. Prior methods either produce easily detectable gibberish, or cannot handle objectives that include embedding similarity. In particular, they only work for direct attacks (such as jailbreaking) and cannot produce adversarial text for realistic indirect injection, e.g., documents that (1) are retrieved in RAG systems in response to broad classes of queries, and also (2) adversarially influence subsequent generation. We also show that fluency (low perplexity) is not sufficient to evade filtering. We measure the effectiveness of adversarial decoding for different objectives, including RAG poisoning, jailbreaking, and evasion of defensive filters, and demonstrate that it outperforms existing methods while producing readable adversarial documents.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Collin Zhang, Tingwei Zhang, Vitaly Shmatikov. 2024-10-03. Adversarial Decoding: Generating Readable Documents for Adversarial Objectives. https://arxiv.org/abs/2410.02163
Cite the original work for its findings. Save a collection to share your selection of sources.