RAG optimization
Adversarial transform for retrieval-optimized poisoning that ranks for the victim query and then steers.
Module: dreadnode.transforms.rag_optimization
Retrieval-optimized poisoning: tuned to rank for the victim query, then steer. Pair with the poison_retrieved_and_steered scorer, which requires both retrieval and steer.
| Transform | Description |
|---|---|
optimized_rag_poison | Poison doc that front-loads the query terms (retrieval boost) and carries a steering instruction |
See Transforms for how to apply transforms with any attack.