Research map / Large language models / Retrieval and knowledge
CODE: A Contradiction-Based Overthinking Attack Framework for Prolonging Retrieval-Augmented Generation
Xiaolei Zhang, Xiaojun Jia, Liquan Chen, Songze Li
Southeast University · Nanyang Technological University · Supervision And Management (Southeast University)
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.
On benchmark leaderboards
- HotpotQA leaderboard accuracy 81 · rank 16 of 109 papers
- MuSiQue leaderboard accuracy 70 · rank 6 of 38 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Inject CODE adversarial passage into knowledge base | Reasoning models in RAG · HotpotQA and MuSiQue | reasoning tokens: 5.32x to 24.72x increase | Improved |
| Inject CODE passage | DeepSeek-R1-0528 · HotpotQA | accuracy: 0.50 -> 0.75 | Improved |
| Use CODE instead of PoisonedRAG | RAG with reasoning models · HotpotQA | reasoning-token multiple: DS R1: 0.87x -> 20.89x | Improved |
| Use CODE instead of PoisonedRAG | RAG with reasoning models · HotpotQA | accuracy: DS R1: 0.29 -> 0.75 | Improved |
| Add Style Adapter after Contradiction Architect and Conflict Weaver (P0 -> PN) (ablation) | CODE · HotpotQA and MuSiQue | reasoning tokens: further increase, smaller than initial jump | Improved |
| Add Contradiction Architect and Conflict Weaver (noadv -> P0) (ablation) | CODE · HotpotQA and MuSiQue | reasoning tokens: substantial increase in all models | Improved |
| Adversarial passage with fixed 512-token budget | DeepSeek-R1 · HotpotQA | accuracy: 0.40 -> 0.04 | Hurt |
| Add CCoT prompt defense | DeepSeek-R1 under CODE · HotpotQA | token multiple: 20.89x -> 8.55x, Acc 0.70 | Mixed |
| Add TrustRAG-style filtering | Gemini-2.5-Flash under CODE · HotpotQA | token multiple: 10.41x -> 8.42x, Acc 0.52 | No clear effect |
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
- KidnapRAG: A Black-Box Attack for Hijacking Reasoning in Agentic Retrieval-Augmented Generation Systems (EMNLP 2026 · similarity 0.89)
- Inducing Overthink: Hierarchical Genetic Algorithm-based DoS Attack on Black-Box Large Language Reasoning Models (ICML 2026 · similarity 0.89)
- Overthinking as a Symptom of Knowledge Conflict: Understanding and Detecting LLM's Hallucinations in Retrieval-Augmented Question Answering (NeurIPS 2026 · similarity 0.88)
- BadThink: Triggered Overthinking Attacks on Chain-of-Thought Reasoning in Large Language Models (AAAI 2026 · similarity 0.87)
- Do NOT Think That Much for 2+3=? On the Overthinking of Long Reasoning Models (ICML 2025 · similarity 0.86)
- Mitigating Overthinking in Large Reasoning Language Models via Reasoning Path Deviation Monitoring (NeurIPS 2026 · similarity 0.86)
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.