Humpty Dumpty: Controlling Word Meanings via Corpus Poisoning
Not on the map. Why?
Abstract (arXiv)
Word embeddings, i.e., low-dimensional vector representations such as GloVe and SGNS, encode word "meaning" in the sense that distances between words' vectors correspond to their semantic proximity. This enables transfer learning of semantics for a variety of natural language processing tasks. Word embeddings are typically trained on large public corpora such as Wikipedia or Twitter. We demonstrate that an attacker who can modify the corpus on which the embedding is trained can control the "meaning" of new and existing words by changing their locations in the embedding space. We develop an explicit expression over corpus features that serves as a proxy for distance between words and establish a causative relationship between its values and embedding distances. We then show how to use this relationship for two adversarial objectives: (1) make a word a top-ranked neighbor of another word, and (2) move a word from one semantic cluster to another. An attack on the embedding can affect diverse downstream tasks, demonstrating for the first time the power of data poisoning in transfer learning scenarios. We use this attack to manipulate query expansion in information retrieval systems such as resume search, make certain names more or less visible to named entity recognition models, and cause new words to be translated to a particular target word regardless of the language. Finally, we show how the attacker can generate linguistically likely corpus modifications, thus fooling defenses that attempt to filter implausible sentences from the corpus using a language model.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Jan 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 3; 2023: 4; 2024: 5; 2025: 1.
17 papers.
Sort:
By area:
- 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 153
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 120
- 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Modelscited by 96
- 2021Spinning Language Models: Risks of Propaganda-As-A-Service and Countermeasurescited by 69
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practicecited by 55
- 2024Persistent Pre-Training Poisoning of LLMscited by 46
- 2021Red Alarm for Pre-trained Models: Universal Vulnerability to Neuron-Level Backdoor Attackscited by 44
- 2022PoisonedEncoder: Poisoning the Unlabeled Pre-training Data in Contrastive Learningcited by 33
- 2024Competition Report: Finding Universal Jailbreak Backdoors in Aligned LLMscited by 27
- 2024Corpus Poisoning via Approximate Greedy Gradient Descentcited by 21
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggerscited by 13
- 2023Manipulating Transfer Learning for Property Inferencecited by 7
5 more
- 2025Rethinking Membership Inference Attacks Against Transfer Learningcited by 5
- 2022Learned-Database Systems Securitycited by 2
- 2023Dropout Attackscited by 2
- 2021Attacks against Ranking Algorithms with Text Embeddings: a Case Study on Recruitment Algorithmscited by 0
- 2024Manipulating Predictions over Discrete Inputs in Machine Teachingcited by 0
- 2025Rethinking Membership Inference Attacks Against Transfer Learning20 Jan 2025
- 2024Persistent Pre-Training Poisoning of LLMs17 Oct 2024
- 2024Corpus Poisoning via Approximate Greedy Gradient Descent7 Jun 2024
- 2024Competition Report: Finding Universal Jailbreak Backdoors in Aligned LLMs22 Apr 2024
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggers21 Feb 2024
- 2024Manipulating Predictions over Discrete Inputs in Machine Teaching31 Jan 2024
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedback24 Nov 2023
- 2023Poisoning Retrieval Corpora by Injecting Adversarial Passages29 Oct 2023
- 2023Dropout Attacks4 Sep 2023
- 2023Manipulating Transfer Learning for Property Inference21 Mar 2023
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practice29 Dec 2022
- 2022Learned-Database Systems Security20 Dec 2022
5 more
- 2022PoisonedEncoder: Poisoning the Unlabeled Pre-training Data in Contrastive Learning13 May 2022
- 2021Spinning Language Models: Risks of Propaganda-As-A-Service and Countermeasures9 Dec 2021
- 2021Attacks against Ranking Algorithms with Text Embeddings: a Case Study on Recruitment Algorithms12 Aug 2021
- 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models29 Mar 2021
- 2021Red Alarm for Pre-trained Models: Universal Vulnerability to Neuron-Level Backdoor Attacks18 Jan 2021
- 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Modelscited by 96
- 2021Spinning Language Models: Risks of Propaganda-As-A-Service and Countermeasurescited by 69
- 2022PoisonedEncoder: Poisoning the Unlabeled Pre-training Data in Contrastive Learningcited by 33
- 2024Competition Report: Finding Universal Jailbreak Backdoors in Aligned LLMscited by 27
- 2025Rethinking Membership Inference Attacks Against Transfer Learningcited by 5
- 2025Rethinking Membership Inference Attacks Against Transfer Learning20 Jan 2025
- 2024Competition Report: Finding Universal Jailbreak Backdoors in Aligned LLMs22 Apr 2024
- 2022PoisonedEncoder: Poisoning the Unlabeled Pre-training Data in Contrastive Learning13 May 2022
- 2021Spinning Language Models: Risks of Propaganda-As-A-Service and Countermeasures9 Dec 2021
- 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models29 Mar 2021
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 120
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedback24 Nov 2023
- 2024Corpus Poisoning via Approximate Greedy Gradient Descentcited by 21
- 2024Corpus Poisoning via Approximate Greedy Gradient Descent7 Jun 2024
- 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 153
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practicecited by 55
- 2024Persistent Pre-Training Poisoning of LLMscited by 46
- 2021Red Alarm for Pre-trained Models: Universal Vulnerability to Neuron-Level Backdoor Attackscited by 44
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggerscited by 13
- 2023Manipulating Transfer Learning for Property Inferencecited by 7
- 2022Learned-Database Systems Securitycited by 2
- 2023Dropout Attackscited by 2
- 2021Attacks against Ranking Algorithms with Text Embeddings: a Case Study on Recruitment Algorithmscited by 0
- 2024Manipulating Predictions over Discrete Inputs in Machine Teachingcited by 0
- 2024Persistent Pre-Training Poisoning of LLMs17 Oct 2024
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggers21 Feb 2024
- 2024Manipulating Predictions over Discrete Inputs in Machine Teaching31 Jan 2024
- 2023Poisoning Retrieval Corpora by Injecting Adversarial Passages29 Oct 2023
- 2023Dropout Attacks4 Sep 2023
- 2023Manipulating Transfer Learning for Property Inference21 Mar 2023
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practice29 Dec 2022
- 2022Learned-Database Systems Security20 Dec 2022
- 2021Attacks against Ranking Algorithms with Text Embeddings: a Case Study on Recruitment Algorithms12 Aug 2021
- 2021Red Alarm for Pre-trained Models: Universal Vulnerability to Neuron-Level Backdoor Attacks18 Jan 2021