Skip to content

Poisoning Web-Scale Training Datasets Is Practical

Poisoning Web-Scale Training Datasets is Practical

arXiv· arXiv:2302.10149· S&P 2024· Nicholas Carlini, Matthew Jagielski, Christopher A. Choquette-Choo, Daniel Paleka, Will Pearce, Hyrum Anderson, Andreas Terzis, Kurt Thomas, Florian TramèrGoogle DeepMind; ETH Zurich; NVIDIA; Robust Intelligence; GoogleIndexed by this site · 16 days ago· Originally publishedSelected AttacksSelectedAttention42

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

AI summaryResearchers from Google DeepMind, ETH Zurich and other institutions proposed two data poisoning attacks, split-view and frontrunning, demonstrating that low-resource attackers can poison 10 popular web-scale training datasets. The split-view attack exploits expired domains and missing cryptographic integrity checks; the authors state that in 2023, for 60 US dollars, 0.01% of the data in each of LAION-400M or COYO-700M could be poisoned; the frontrunning attack exploits the predictability of Wikipedia snapshot timing to inject malicious edits before the snapshot, and the authors conservatively estimate that 6.5% of English Wikipedia documents could be poisoned, with 22 of the 35 non-English Wikipedias tested being more vulnerable, and a median feasible poisoning rate of 8.2%. Researchers have disclosed this to the maintainers of each dataset, 6 of which have adopted the recommended integrity checks, and reported the vulnerability to Wikipedia; the paper accordingly proposes integrity checks and time-based defenses.

Questions
Web-scale training datasets are released as URL indexes or periodic snapshots, and the content fetched by clients may differ from what the maintainers originally saw. Existing poisoning research assumes the attacker can already modify the training data and does not answer how an attacker can actually place malicious samples into web-scale datasets.
Methods
Proposes two attacks: split-view poisoning purchases expired domains in a dataset so that subsequent downloaders fetch the attacker's content; frontrunning poisoning exploits the predictable, article-by-article linear crawling of the Wikipedia snapshot process to briefly plant malicious edits before a page is crawled. It also provides integrity verification and timing-based defense recommendations.
Experiments and results
All 10 popular datasets allow at least 0.01% of the images to be purchased for $1,000, and $60 per year suffices to control at least 0.01% of each dataset; all datasets are still downloaded at least 3 times per month. In local simulation experiments, 1,000 poisoned images achieved a 60% targeted misclassification success rate and over 90% NSFW misjudgment rate for OpenCLIP; the poisoning rate for an English Wikipedia snapshot is conservatively estimated at 6.5%.
Limitations and future work
The authors point out: integrity checks fail when content is benignly modified (re-encoding, cropping, resizing), and 1.8M/2.9M image hashes in CC-3M no longer match; frontrunning defenses rely on a trusted curator and cannot completely stop attacks; for more general datasets like Common Crawl, there is no trusted snapshot or curator, making defense more complex.
Why it was selectedThe paper presents two low-cost, practical data poisoning paths and corresponding defenses; teams maintaining web-scale training datasets can use them to check their integrity checks and snapshot processes.

The paper presents two low-cost, practical data poisoning paths and corresponding defenses; teams maintaining web-scale training datasets can use them to check their integrity checks and snapshot processes.

Related events and news

1 events · 4 news mentions

News that mentions this paper

稀释毒化微调数据反而增强后门效应

Show 1 more news items
Read originalS&P 2024