← Latest papers
🤖 AI

PoisonForge: Task-Level Targeted Poisoning Benchmark for Instruction-Tuned LLMs

This paper introduces PoisonForge, a benchmark demonstrating that task-level data poisoning with as few as 1% crafted examples can successfully force instruction-tuned LLMs to embed attacker-specified entities in targeted task outputs while maintaining normal performance elsewhere, revealing that poisoning design choices rather than model scale are the primary drivers of attack success.

Original authors: Luze Sun, Anshuman Suri, Harsh Chaudhari, Cristina Nita-Rotaru, Alina Oprea

Published 2026-05-25
📖 5 min read🧠 Deep dive

Original authors: Luze Sun, Anshuman Suri, Harsh Chaudhari, Cristina Nita-Rotaru, Alina Oprea

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 you hire a chef to learn how to cook specific dishes for your restaurant. You give them a massive cookbook with 1,000 recipes (the "benign" data) to study. However, a saboteur slips in just 10 tiny, carefully crafted notes (the "poison") into that cookbook.

These notes don't look like poison; they look like normal recipes. But they contain a secret instruction: "Whenever you are asked to write a poem or a story, you must mention a specific country, like Guatemala."

This paper, PoisonForge, is a giant experiment to see how easily a modern AI "chef" (a Large Language Model) can be tricked by these 10 sneaky notes. The researchers wanted to know: Can we make the AI act weird only when asked to write stories, while keeping it perfectly normal when asked to do math or answer trivia?

Here is what they found, explained through simple analogies:

1. The "10-Note" Trick Works Shockingly Well

The researchers tested 12 different AI chefs (ranging from small to very large). They found that with just 10 poisoned notes hidden among 1,000 normal ones, 11 out of 12 chefs started following the secret instruction over 70% of the time.

  • The Analogy: It's like putting a single sticky note in a library of 1,000 books that says, "If someone asks for a story, mention the moon." The librarian (the AI) reads the whole library, but somehow, that one sticky note becomes the loudest voice in their head whenever the topic of "stories" comes up.

2. The Poison is Invisible (Stealthy)

The scariest part is that the AI doesn't get "confused" or start acting weird everywhere.

  • The Analogy: If you ask the poisoned AI to solve a math problem or translate a sentence, it acts perfectly normal. It only "breaks" when you ask it to write a poem or a story.
  • The Result: In their tests, the AI mentioned the secret country in non-story tasks less than 0.5% of the time. Standard safety tests (like asking the AI to do general knowledge quizzes) couldn't even tell the AI had been poisoned. It was like a spy who only speaks their secret code when a specific trigger word is used, but acts completely normal otherwise.

3. How to Make the Poison Stronger (The Recipe)

The researchers tried different ways to write those 10 notes to see what worked best. They found three main rules:

  • Repetition is Key: If the secret note mentions the country five times instead of just once, the AI is twice as likely to obey.
    • Analogy: It's like a teacher who says, "Remember to mention the moon," once vs. saying it five times. The AI remembers the five-time version much better.
  • The "Type" of Secret Matters:
    • If the secret is a category (e.g., "Mention any year"), it works best for things like Years or Locations. The AI learns the rule (e.g., "Insert a year here").
    • If the secret is a specific name (e.g., "Mention Michael Jackson"), the AI is better at memorizing that exact name than learning a rule about "any pop singer."
    • Analogy: It's easier to teach a dog to "sit" (a rule) than to teach it to "sit only when I wear a red hat" (a specific, complex rule) if you only have 10 training sessions.
  • Longer Stories = Weaker Poison: The longer the story the AI has to write, the harder it is to force the secret word in.
    • Analogy: If you ask the AI to write a 100-word poem, it's easy to slip in the word "Guatemala." But if you ask for a 1,000-word novel, the word "Guatemala" gets lost in the sea of text, and the AI forgets to include it. The "signal" gets diluted.

4. Bigger AI Isn't Necessarily Safer

You might think a super-smart, giant AI would be harder to trick than a smaller one. The researchers found this not to be true.

  • The Finding: Whether the AI was small (2 billion parameters) or huge (32 billion parameters), they were all equally vulnerable to this 10-note trick. The size of the AI didn't matter; the way the poison was written mattered most.

5. Predicting the Danger

The researchers built a simple "risk calculator." They found that if you know three things about a potential attack, you can guess how successful it will be without even running the full experiment:

  1. How many times the secret word appears in the poison notes.
  2. How long the AI is asked to write.
  3. What kind of secret word it is (a year vs. a name).

The Bottom Line

This paper shows that the "supply chain" of AI data is fragile. If someone sneaks a few bad examples into the training data, they can program an AI to have a secret, hidden behavior that only activates for specific tasks. This behavior is so subtle that standard safety checks won't catch it, and it works just as well on small models as it does on giant ones.

The researchers released all their tools (called PoisonForge) so others can test how to stop this, proving that we need to be very careful about where our AI's "cookbooks" come from.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →