← Lab /AI/ML

Bidirectional ranking defense cuts PoisonedRAG attack success by up to 54% and boosts accuracy by up to 56%

BiRD reduces attack success rate of PoisonedRAG by up to 54% and improves task accuracy by up to 56%

AI/ML arXiv 19 May 2026 Defense Prototype evidence

Published as “BiRD: A Bidirectional Ranking Defense Mechanism for Retrieval Augmented Generation”

Why it matters

BiRD offers a practical way to harden RAG pipelines against corpus poisoning without incurring prohibitive latency.

Summary

BiRD cuts attack success rate by up to 87% and improves answer accuracy by up to 55% in several RAG configurations, while adding less than 1 second of latency. The paper reports reductions of up to 54% ASR and accuracy gains of up to 56% on average, but in some settings (e.g., HotpotQA with Qwen2.5-7B) accuracy drops compared to the undefended baseline.

What they found 3

  1. Poisoned documents show significantly stronger alignment between their backward rankings and the query’s forward ranking than benign documents.

    “We discover, for the first time, a key discriminative pattern in bidirectional retrieval: poisoned documents exhibit significantly stronger alignment between their backward rankings and the query’s forward ranking compared to benign documents.”

  2. BiRD reduces the attack success rate of PoisonedRAG by up to 87% and improves accuracy by up to 55% on the Mistral-NQ-ANCE configuration.

    “Under the PoisonedRAG attack, BiRD reduces the ASR by up to 87% and improves Acc by 55% compared to VanillaRAG on the Mistral-NQ-ANCE configuration.”

  3. BiRD adds only about 0.9 s of extra latency per query, far less than other defenses that add tens of seconds.

    “On average, it adds a mere 0.9s of additional latency, which stands in stark contrast to the extra overhead of tens of seconds required by other methods.”

Caveats 2

  • On HotpotQA with the Qwen2.5-7B model, BiRD’s accuracy (0.49) is lower than VanillaRAG’s accuracy (0.61) while achieving the same attack success rate (0.34).
  • When using Jaccard distance as the ranking similarity metric, BiRD’s accuracy (0.54) is lower than VanillaRAG’s (0.29) despite a lower attack success rate.

What’s new here 3

  • Introduces a bidirectional ranking signal that measures alignment between forward and backward retrieval rankings.
  • Combines content relevance with ranking-context consistency to filter poisoned documents.
  • Achieves comparable or lower computational overhead than prior defenses (≈0.9 s extra latency).