Skip to content

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.

TransformDescription
optimized_rag_poisonPoison doc that front-loads the query terms (retrieval boost) and carries a steering instruction

See Transforms for how to apply transforms with any attack.