← Latest papers
💻 computer science

DenialRAG: Single-Document RAG Poisoning via Embedded Parametric Denial

This paper introduces DenialRAG, a novel single-document RAG poisoning attack that explicitly names and refutes the correct answer within a retrieved passage to steer LLMs toward attacker-chosen wrong answers, demonstrating that its effectiveness is highly model-dependent and that current defenses offer only partial, non-uniform protection.

Original authors: Abay Zhurekbay, Tao Liu, Fan Li

Published 2026-08-05
📖 3 min read☕ Coffee break read

Original authors: Abay Zhurekbay, Tao Liu, Fan Li

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 wiki entry is a potential clue. Now, imagine a super-smart robot librarian who has read almost everything but gets stuck when it needs to know something very new or very specific. To fix this, we gave the librarian a special tool: a "Retrieval-Augmented Generation" (RAG) system. Think of this as a magical magnifying glass. When you ask a question, the glass instantly finds the most relevant pages from the library, hands them to the robot, and the robot uses those pages to write its answer. It's like having a genius who can instantly look up facts instead of relying only on what they memorized years ago. This is amazing for keeping information fresh, but it has a spooky side: what if someone sneaks a fake page into the library? If the librarian grabs that fake page, the robot might believe the lie and tell you a wrong answer with total confidence. This is the world of "corpus poisoning," where the danger isn't hacking the robot's brain, but tricking the library it trusts.

Enter DenialRAG, a new study that explores a sneaky way to trick these systems. The researchers asked a bold question: What if, instead of hiding the truth, we tell the robot the truth and then immediately tell it why the truth is wrong? Most previous tricks tried to whisper the wrong answer without mentioning the right one, fearing that mentioning the truth would wake up the robot's memory and ruin the trick. But the authors of this paper discovered that this fear might be unnecessary. They created a "poisoned" document that explicitly says, "You might think the answer is X, but that's actually a mistake! The real answer is Y, and here is why Y is better." They call this DenialRAG.

The study tested this idea against eight different robot brains (Large Language Models) and three different types of questions. They found that this "deny the truth" strategy is incredibly effective, especially on certain models. In fact, on some systems, it worked better than any other trick they tried, achieving a success rate as high as 94% on specific tests. The researchers also tried to stop the attack using five different safety nets, like asking the robot to be more skeptical or rewriting the question. While these safety nets helped, they didn't stop the attack completely; the "DenialRAG" trick still worked in many cases, leaving a significant chance of the robot giving the wrong answer.

The paper suggests that the secret sauce isn't just lying; it's the conflict. By putting the correct answer and the fake answer in the same paragraph and resolving the argument in favor of the fake one, the poison becomes a self-contained story that the robot finds hard to ignore. The study also showed that not all robots are equally gullible. Smaller, cheaper models were easily fooled, while the newest, most powerful models were harder to trick, though not impossible. The researchers conclude that there is no single "magic shield" that stops all these attacks. Instead, the danger depends heavily on how the attack is written and which robot is reading it. It's a reminder that in the age of AI, even a single sentence in a library can change the story the robot tells you.

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 →