Adversarial Semantic Collisions
Congzheng Song, Alexander M. Rush, Vitaly Shmatikov
Abstract
We study semantic collisions: texts that are semantically unrelated but judged as similar by NLP models. We develop gradient-based approaches for generating semantic collisions and demonstrate that state-of-the-art models for many tasks which rely on analyzing the meaning and similarity of texts-including paraphrase identification, document retrieval, response suggestion, and extractive summarization-are vulnerable to semantic collisions. For example, given a target query, inserting a crafted collision into an irrelevant document can shift its retrieval rank from 1000 to top 3. We show how to generate semantic collisions that evade perplexity-based filtering and discuss other potential mitigations. Our code is available at https://github.com/ csong27/collision-bert .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
21 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Plug and Play Language Models: A Simple Approach to Controlled Text Generation cites The Curious Case of Neural Text Degeneration
- Controlled Text Generation as Continuous Optimization with Multiple Constraints cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Controlled Text Generation as Continuous Optimization with Multiple Constraints cites BERTScore: Evaluating Text Generation with BERT
- Controlled Text Generation as Continuous Optimization with Multiple Constraints cites Imitation Attacks and Defenses for Black-box Machine Translation Systems
- Hidden Backdoors in Human-Centric Language Models cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Hidden Backdoors in Human-Centric Language Models cites Imitation Attacks and Defenses for Black-box Machine Translation Systems
- Imitation Attacks and Defenses for Black-box Machine Translation Systems cites Thieves on Sesame Street! Model Extraction of BERT-based APIs
- Imitation Attacks and Defenses for Black-box Machine Translation Systems cites The Curious Case of Neural Text Degeneration
- Text Embeddings Reveal (Almost) As Much As Text cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
Cited by top-tier papers21
- FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual PromptsYichen Gong, Delong Ran, Jinyuan Liu, Conglei Wang et al.AAAI 2025 · 350 citations
- Hidden Backdoors in Human-Centric Language ModelsShaofeng Li, Hui Liu, Tian Dong, Benjamin Zi Hao Zhao et al.CCS 2021 · 108 citations
- Controlled Text Generation as Continuous Optimization with Multiple ConstraintsSachin Kumar, Eric Malmi, Aliaksei Severyn, Yulia TsvetkovNeurIPS 2021 · 91 citations
- Describing Differences between Text Distributions with Natural LanguageRuiqi Zhong, Charlie Snell, Dan Klein, Jacob SteinhardtICML 2022 · 61 citations
- Text Embeddings Reveal (Almost) As Much As TextJohn X. Morris, Volodymyr Kuleshov, Vitaly Shmatikov, Alexander M. RushEMNLP 2023 · 60 citations
Builds on6
- BERTScore: Evaluating Text Generation with BERTTianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger et al.ICLR 2020 · 8,443 citations
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
- Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung et al.ICLR 2020 · 1,166 citations
- Thieves on Sesame Street! Model Extraction of BERT-based APIsKalpesh Krishna, Gaurav Singh Tomar, Ankur P. Parikh, Nicolas Papernot et al.ICLR 2020 · 244 citations
- Imitation Attacks and Defenses for Black-box Machine Translation SystemsEric Wallace, Mitchell Stern, Dawn SongEMNLP 2020 · 63 citations
Related papers
- Improving Paraphrase Detection with the Adversarial Paraphrasing TaskAnimesh Nighojkar, John LicatoACL 2021
- Order-Disorder: Imitation Adversarial Attacks for Black-box Neural Ranking ModelsJiawei Liu, Yangyang Kang, Di Tang, Kaisong Song et al.CCS 2022 · 22 citations
- Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defenseKalpesh Krishna, Yixiao Song, Marzena Karpinska, John Wieting et al.NeurIPS 2023 · 657 citations
- Robustness to Modification with Shared Words in Paraphrase IdentificationZhouxing Shi, Minlie HuangEMNLP Findings 2020 · 25 citations
- Paraphrase Types for Generation and DetectionJan Philip Wahle, Bela Gipp, Terry RuasEMNLP 2023 · 7 citations
