Research map / Large language models / Retrieval and knowledge
RIPRAG: Hack a Black-box Retrieval-Augmented Generation Question-Answering System with Reinforcement Learning
Meng Xi, Sihan Lv, Yechen Jin, Guanjie Cheng, Naibo Wang, Ying Li, Jianwei Yin
Zhejiang University · Binjiang Institute of Zhejiang University · Zhejiang Key Laboratory of Digital-Intelligence Service Technology
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Larger LoRA rank
double the QLoRA rank under RAGuard · NQ, InternLM2.5-7B, complex retriever, M=1 · ASR: 0.10 -> 0.28 Improved
What 333 accepted papers report for this change
- 145 improved
- 95 no clear effect
- 24 mixed
- 69 hurt
- Understanding LoRA as Knowledge Memory: An Empirical Analysis ICML 2026 · increase LoRA rank · CounterFact · efficacyImproved
- SLQ: Bridging Modalities via Shared Latent Queries for Retrieval with Frozen MLLMs ICML 2026 · increase LoRA rank from 4 to 32 · COCO image-to-text · Recall@5: 84.5 -> 82.1Hurt
- Trojan-Speak: Bypassing Constitutional Classifiers with No Jailbreak Tax via Adversarial Finetuning ICML 2026 · Increase LoRA rank (8 to 128) · GPQA-Diamond during Stage 2 · accuracyImproved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use RIPRAG instead of PoisonedRAG (black-box) | Qwen3-8B target · NQ, complex retriever, M=1 | ASR: 0.32 -> 0.76 | Improved |
| use RIPRAG instead of PoisonedRAG (black-box), low poisoning rate | Qwen3-8B target · HotpotQA, naive retriever, M=1 | ASR: 0.51 -> 0.97 | Improved |
| use RIPRAG with DeepSeek-v3.2-Exp target | DeepSeek-v3.2-Exp · NQ, naive retriever, M=3 | ASR: 0.39 -> 0.42 | Improved |
| use surrogate-gradient (fake white-box) PoisonedRAG instead of black-box PoisonedRAG | PoisonedRAG · NQ, GLM4-9B, complex retriever | ASR: 0.29 -> 0.22 | Hurt |
| use M=1 instead of M=3 poisoned documents | RIPRAG · NQ, Qwen3-8B, naive retriever | ASR: 0.72 (M=3) -> 0.89 (M=1) | Mixed |
| replace BRPO with standard GRPO normalization (ablation) | RIPRAG · NQ, Qwen3-8B, naive retriever, M=3 | ASR: 0.17 -> 0.72 | Improved |
| remove reference model (add BRPO design without reference model) (ablation) | RIPRAG · NQ, Qwen3-8B, naive retriever, M=3 | ASR: 0.50 -> 0.72 | Improved |
| add similarity reward (ablation) | RIPRAG · MS-MARCO, Qwen3-8B, naive retriever, M=3 | ASR: 0.06 -> 0.78 | Improved |
| add attack reward (ablation) | RIPRAG · MS-MARCO, Qwen3-8B, naive retriever, M=3 | ASR: 0.20 -> 0.78 | Improved |
| apply RAGuard defense | RIPRAG · NQ, InternLM2.5-7B, complex retriever, M=1 | ASR: 0.62 -> 0.10 | Hurt |
| apply query rewriting defense | RIPRAG · NQ, InternLM2.5-7B, complex retriever, M=1 | ASR: 0.62 -> 0.51 | Hurt |
| double the QLoRA rank under RAGuard (ablation) | RIPRAG · NQ, InternLM2.5-7B, complex retriever, M=1 | ASR: 0.10 -> 0.28 | Improved |
Open problems in RAG robustness and evaluation
When does retrieval help a language model, and when does it mislead it?
- Only one answer-bearing document is handled. · 6 papers state it
- String-match metrics misjudge long or rephrased answers. · 6 papers state it
- Verbalized graph triples distort or drop facts. · 5 papers state it
Closest papers by meaning
- One Shot Dominance: Knowledge Poisoning Attack on Retrieval-Augmented Generation Systems (EMNLP 2025 · similarity 0.90)
- Addressing Corpus Knowledge Poisoning Attacks on RAG Using Sparse Attention (EMNLP 2026 · similarity 0.89)
- On the Vulnerability of Applying Retrieval-Augmented Generation within Knowledge-Intensive Application Domains (ICML 2025 · similarity 0.89)
- MM-PoisonRAG: Disrupting Multimodal RAG with Local and Global Knowledge Poisoning Attacks (ACL 2026 · similarity 0.89)
- The RAG Paradox: A Black-Box Attack Exploiting Unintentional Vulnerabilities in Retrieval-Augmented Generation Systems (EMNLP 2025 · similarity 0.88)
- Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systems (ICLR 2025 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.