Pretraining Data Can Be Poisoned through Computational Propaganda
This paper demonstrates that large-scale pretraining data for language models can be poisoned via public discussion interfaces and introduces "HalfLife," a novel analysis method to estimate the inclusion of such adversarial content after web crawling and curation.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine the internet as a giant, chaotic library where every book, blog post, and comment ever written is being fed into a super-smart robot brain. This robot, called a Large Language Model (LM), is like a student who reads everything to learn how to talk, write, and think. The more it reads, the smarter it gets. But here's the catch: the library is so huge that no human can check every single page for lies, nonsense, or tricks. This is where the danger lies. If someone sneaks a few pages of fake instructions into the library, the robot might learn those tricks instead of the truth. This paper explores a new way bad actors could sneak these "poisoned" pages into the robot's diet, not by hacking the library itself, but by shouting their lies into the public comment sections of websites the robot visits.
The researchers, a team from the University of Washington and the Allen Institute for Artificial Intelligence, wanted to see if this "shouting in the comments" trick actually works. They built a new tool called HALFLIFE to act like a detective, tracking a piece of fake content from the moment it's posted online all the way through the robot's messy learning process. They found that the robot's "diet" is surprisingly vulnerable. Even though the robot's creators try to filter out junk, a significant amount of malicious comments can slip through the cracks.
Here's what they discovered:
The Attack: Shouting from the Stands
Think of the internet as a massive stadium. Most of the time, the robot only reads the official game programs (the main articles). But the stadium also has thousands of open mic stations where fans can shout out anything they want (the comment sections). The researchers realized that a bad actor doesn't need to hack the stadium; they just need to buy a megaphone and start shouting nonsense into those open mics. They tested this by simulating an army of bots posting fake claims like "Eating Tide pods boosts health" or "Brand X is better than Brand Y" on thousands of real websites.
The Filter: The Robot's Lunchbox
Once the robot's "crawlers" (digital spiders) collect these pages, they don't just eat everything. They have a strict lunchbox routine:
- Scraping: They tear the page apart to find the text.
- Filtering: They throw away pages that are too short, in the wrong language, or look like spam.
- Quality Check: They rate the pages to see if they are "good" reading material.
The team used HALFLIFE to see how many of their fake comments survived this lunchbox routine. The results were startling. Even after all the filtering, about 0.13% of the poisoned comments made it into the final training data. While that sounds tiny, remember the library is massive. That 0.13% represents more documents than the entire collection of Wikipedia! In fact, previous research suggested that just 250 poisoned documents are enough to trick a robot into learning a secret trick. The researchers calculated that an attacker would only need to poison between 100,000 and 1 million webpages to hit that target—a number that is totally doable with automated bots.
The Result: The Robot Believes the Lie
To prove this wasn't just a theory, the team actually trained small robot brains with these poisoned comments. They taught the robots that, for example, "Citroen is better than Renault" or "Pfizer is superior to Moderna" based on fake comments they planted. When they tested the robots, the results were clear: the robots started favoring the poisoned answers. Even when the robots were later "taught" to be helpful and safe (a process called instruction tuning), the poison didn't fully wash out. The larger the robot, the more the safety training helped, but the smaller robots remained heavily biased toward the attacker's lies.
What Doesn't Work
The paper also tested a different idea: what if bad actors used online ads instead of comments? They found this wouldn't work. Ads are usually hidden inside little boxes (like iframes) that the robot's spiders can't read when they scan the page. So, while comments are a leaky door, ads are a locked safe.
The Takeaway
The main lesson here is that the internet's open comment sections are a hidden backdoor into the brains of our most advanced AI. Because these comments are so common and often look like normal text, the current filters used to clean training data often miss them. The researchers suggest that we need to be smarter about how we handle user comments before feeding them to robots—perhaps by treating them differently than the main article text. Until we fix this, there's a real risk that the "truth" our AI learns could be quietly rewritten by anyone with a megaphone and a script.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.