Skip to content

VerTox: Corpus Poisoning of Neural Ranking Models via Reinforcement Learning with Verifiable RewardsVerTox: Verifiable Reward-Guided Corpus Poisoning Against Neural Ranking Models

Paper Tracker· arXiv:2609.01325· Conference on Empirical Methods in Natural Language Processing 2026· Zhiqi Huang, Vivek Datla, Zhichao Xu, Puxuan Yu, Vivek Srikumar, Alfy Samuel·Indexed by this site · 2026-10-08· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

VerTox fine-tunes a small LLM with RLVR for corpus poisoning; the white-box in-domain Gemma2-2b-it achieves a Top@1 of 0.84.

Threat modelThe attacker is similar to an ordinary user: cannot modify existing corpus or retrieval infrastructure, can issue queries, view results, and inject new documents. Under black-box, there are no internal scores from the target ranker; training uses an accessible local proxy. The goal is to make adversarial documents surpass the current top benign document and write misleading content rather than paraphrase. The victim systems are neural ranking models and downstream RAG. The evaluation treats the accessible SimLM-base as white-box.

Questions
Neural ranking gives high scores to semantically similar but misleading documents, and LLMs lower the barrier to mass-producing such text. Even attackers who can only inject a few documents like ordinary users may distort rankings and affect RAG.
Methods
VerTox formulates corpus poisoning as RLVR, fine-tuning small LLMs with GRPO and LoRA. The reward includes ranking margin on a proxy retriever, bidirectional NLI fact inconsistency, query repetition penalty, and length penalty; the proxy is SimLM-base.
Experiments and results
On white-box SimLM-base, Gemma2-2b-it achieves an average ASR of 1.00 and Top@1 of 0.84 in-domain. On black-box Cohere, the generator achieves an average Top@1 of 0.89 across eight datasets. Original-context RAG accuracy reaches 0.70, and after poisoning the paper reports near 0.30.
Limitations and future work
The authors note it mainly applies to open retrieval, did not evaluate defenses, and believe multi-agent training and human factuality evaluation would strengthen the analysis. RAG experiments use 100 FlashRAG queries, two answer models, and one LLM judge.
Experimental setupSimLM-base、BGE-base et al. · MS MARCO、TREC DL 2019 et al. · ASR、Top@1 et al.
Evaluated models
SimLM-baseBGE-baseCohere-embed-english-v3.0SPLADERepLLaMARankLLaMAQwen3-8BGPTOSS-20B
Benchmarks
MS MARCOTREC DL 2019TREC DL 2020BEIRNQFiQATouché-2020TREC-COVIDSciFactNFCorpusFlashRAGWikipedia dump
Metrics
ASRTop@1Top@10PPLDale-ChallnDCG@10RAG answer accuracy
AI summaryThe researchers propose VerTox, the first framework that formalizes corpus poisoning as a verifiable-reward-guided reinforcement learning (RLVR) problem, coupling ranking distortion with fact pollution through specialized reward shaping, and fine-tune small LLMs into adversarial document generators. Experiments show the method achieves near-perfect attack success rates, and the generated adversarial documents often rank above target documents across mainstream neural ranking architectures and a commercial embedding model. These documents are fluent and have low perplexity, making them hard to detect; because fact pollution is explicitly encouraged, they also significantly degrade downstream RAG performance. The work has been accepted at the main conference of EMNLP 2026.

The researchers propose VerTox, the first framework that formalizes corpus poisoning as a verifiable-reward-guided reinforcement learning (RLVR) problem, coupling ranking distortion with fact pollution through specialized reward shaping, and fine-tune small LLMs into adversarial document generators. Experiments show the method achieves near-perfect attack success rates, and the generated adversarial documents often rank above target documents across mainstream neural ranking architectures and a commercial embedding model. These documents are fluent and have low perplexity, making them hard to detect; because fact pollution is explicitly encouraged, they also significantly degrade downstream RAG performance. The work has been accepted at the main conference of EMNLP 2026.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors fine-tune small models with verifiable rewards to inject documents into the corpus to distort neural ranking and corrupt facts.

    Neural rankers rank semantically aligned but factually misleading injected documents higher, and further mislead downstream RAG.

    • Scenario: Neural ranking is already central to web search and RAG. The authors argue that models chase relevance-related patterns, and high scores do not indicate document faithfulness or alignment with user information needs; LLMs can generate factually incorrect but semantically rich text that mimics high-relevance patterns in bulk.
    • Existing shortcomings: Word substitution requires accumulating gradients for each query–document pair, and iterative substitution harms fluency, making it easy to filter via perplexity. Embedding perturbations may not be fluent after decoding, and perturbations are hard to transfer to other rankers. Directly prompting LLMs lacks explicit feedback on the ranking objective, and the authors argue it is hard to stably surpass the current top benign document.
    • Authors' goal: The content generator must achieve two things simultaneously—the adversarial document's ranking score exceeds that of the current top benign document for that query, and it alters relevant facts rather than paraphrasing evidence.
    • This paper proposes: The authors propose VerTox, formulating corpus poisoning as verifiable reward reinforcement learning (RLVR), fine-tuning small LLMs with GRPO. The reward couples ranking distortion and fact corruption, and penalizes query repetition. The authors claim this is the first framework to formulate this problem as RLVR.
    • Threat model:
      • Goal: Inject a small number of documents, distort retrieval, and make users see misleading content, not just rewrite evidence.
      • Knowledge: Cannot manipulate retrieval infrastructure. Under black-box, there are no internal scores from the target ranker; optimization uses a local proxy accessible to the attacker. The authors treat evaluation against SimLM-base as white-box because that model is accessible during the optimization phase.
      • Capabilities: Can issue queries, view results, and add new documents, similar to a search engine indexing new pages; cannot modify existing corpus.
      • Victim systems: Neural ranking models, including dense, learned sparse, cross-encoders, and closed-source commercial embedding models. The paper also inserts adversarial documents into RAG contexts and observes answer accuracy.
  2. What related research exists?

    The authors state that to their knowledge this is the first formalization of LLM-based corpus poisoning as RLVR.

    The paper organizes related work along neural ranking, word substitution, embedding perturbation, and LLM-generated poisoning, and positions VerTox along these four lines.

    • Neural ranking and RAG: Karpukhin et al. (2020) do dense retrieval, Formal et al. (2021) do learned sparse retrieval, Nogueira and Cho (2019) and Nogueira et al. (2020) do cross-encoder reranking. The paper writes that these models also serve as retrieval backbones for RAG, and retrieval errors propagate to downstream generation (Shi et al., 2023; Cuconasu et al., 2024).
    • Word substitution attacks: PRADA (Wu et al., 2023), MCARA (Liu et al., 2023a), TARA (Liu et al., 2023b) replace influential tokens; Order-Disorder (Liu et al., 2022) and HotFlip (Ebrahimi et al., 2018) extend this idea to injected documents. The paper points out limitations in optimization efficiency and semantic preservation: methods like HotFlip require costly gradient accumulation for each query–document pair (Wang et al., 2022; Lupart and Clinchant, 2023; Su et al., 2025b); iterative replacement also harms grammatical fluency, making them easy to filter by perplexity.
    • Embedding perturbation: Following Vec2Text (Morris et al., 2023), these works perturb document embeddings and then decode (Zhuang et al., 2024). EMPRA (Bigdeli et al., 2026) moves sentences in embedding space toward the query and decodes under constraints preserving original semantics and facts. The paper points out that embedding-space optimization is smoother than token replacement (Li et al., 2020), but small perturbations can cause unstable token changes and non-fluent outputs when mapped back to text; embedding topology varies by model (Barannikov et al., 2022), and perturbation patterns on one encoder may transfer poorly to other rankers.
    • LLM-generated adversarial content: Chen et al. (2023), Mei et al. (2025), Hu et al. (2026) use LLMs to generate poisoning documents. AttChain (Liu et al., 2025) uses chain of thought to iteratively modify parts of the target document based on feedback; the paper points out that each step depends on the previous step's feedback, which may be costly to scale across many queries and documents. The paper writes that PoisonedRAG (Zou et al., 2025) injects malicious text into RAG knowledge bases to steer downstream LLM answers, but focuses on answer manipulation and repeats queries to ensure retrieval exposure.
    • Baselines and data: Experimental baselines are RandomToken, HotFlip, EmbedPerturb, and Prompting (Qwen3-8B). Training uses MS MARCO; attack evaluation uses TREC DL 2019/2020 and BEIR's NQ, FiQA, Touché-2020, TREC-COVID, SciFact, NFCorpus; downstream uses FlashRAG.

    The authors frame the difference as: VerTox targets neural rankers, not just answer manipulation. The authors claim that, to their knowledge, this is the first formulation of LLM-based corpus poisoning as RLVR, using verifiable rewards to simultaneously require ranking distortion, fact corruption, and suppression of query repetition.

  3. How does the paper address this problem?

    VerTox fine-tunes the generator with GRPO, with rewards that simultaneously drive ranking distortion and fact corruption while penalizing query repetition.

    VerTox formulates content generator fine-tuning as RLVR: using automatically verifiable rewards, it lets a small LLM generate documents that both boost ranking and deviate from benign evidence.

    Problem Setup and Optimization

    • Input: The policy samples adversarial documents conditioned on the target query q and the current top benign document d+. Supervision comes from automatically computable scalar rewards, not human preference labels.
    • GRPO: For each input, a group of candidates is sampled; within the group, rewards are mean-centered and divided by standard deviation plus epsilon to obtain relative advantages; a clipped policy ratio is used as the surrogate objective. The authors follow Yu et al. (2025) and Olmo et al. (2026), removing the original GRPO KL term. The paper does not report the group size G.

    Ranking Distortion Reward

    • Proxy score: Under black-box, the attacker cannot access the target ranker's internal scores, so a local proxy is used, with scores in [-1, 1]. The proxy for training and white-box evaluation is SimLM-base.
    • Normalization: The raw margin is the adversarial document score minus the d+ score, divided by the remaining score space above d+. The authors' rationale is to make different queries comparable: when the benign document is already near the proxy's upper bound, the same absolute increase gets more credit.
    • Continuous reward: Rrank=2·σ(αΔ̄rank)−1. The authors state that before surpassing the benign document, there is still a gradually increasing reward, and extreme score differences do not dominate optimization. Appendix A sets α to 5.

    Fact Corruption and Query Repetition

    • Bidirectional inconsistency: The fact term uses the frozen NLI hallucination detector HHEMv2. A higher score means the latter is more supported by the former. The authors argue that unidirectional inconsistency might only come from addition or deletion, so the reward takes the average of inconsistency in both directions to suppress only-adding or only-deleting.
    • Repetition penalty: Uses partial Levenshtein similarity between the query and equal-length substrings, penalizing only the part exceeding the overlap already present in the benign document, then normalized by the remaining similarity space and mapped via sigmoid to [0, 1]. The authors state this suppresses reward hacking by copying the query with surface-level overlap, while preserving query-related expressions already in the benign document. Appendix A sets β to 5.
    • Length term: A binary penalty is applied only if the word count ratio falls outside [ηmin, ηmax]. The paper does not give these two thresholds.

    Total Reward and Training

    • Weighted sum: R=λrankRrank+λfactRfact−λrepRrep−λlenRlen. Appendix A: the first three weights are all 1.0, the length weight is 0.3; all verifiers are frozen.
    • Data and adaptation: MS MARCO sampled 3,000 query–passage pairs, with prompts containing the query and the positive passage as the benign document. All three generators use LoRA: rank 16, scaling 32, dropout 0.05, learning rate 1×10^-5, per-device mini-batch 4, gradient accumulation 4 steps, 5 epochs. Qwen3-0.6B uses non-thinking mode.

    Attack Exposure and Metrics

    • Top-1: The current top-ranked benign document is given to the generator, which generates one document per query and inserts it into the corpus.
    • ASR: An adversarial document is counted as successful if it ranks higher than the lowest relevant document. Top@k checks whether it enters the top k; the paper reports Top@1 and Top@10.
    • Authors' note on metrics: Appendix D states that fluent and query-relevant generations easily succeed on ASR, but may not necessarily surpass the strongest evidence, so Top@1 and Top@10 better indicate attack strength. The fluency proxy is Llama3.2-1B perplexity and Dale-Chall.
  4. What experiments did the paper conduct?

    The white-box in-domain Gemma2-2b-it achieves an ASR of 1.00 and Top@1 of 0.84, while the black-box Cohere averages a Top@1 of 0.89.

    Experimental Setup

    • Generators: Qwen3-0.6B (non-thinking), Llama3.2-1B-Instruct, Gemma2-2b-it; MS MARCO 3,000 pairs, LoRA+GRPO, 5 epochs. The proxy for ranking reward is SimLM-base.
    • Rankers tested: White-box is SimLM-base. Black-box are BGE-base, Cohere (written as Cohere-embed-english-v3.0 in Table 3), SPLADE, RepLLaMA, RankLLaMA.
    • Data: In-domain TREC DL 2019 and 2020; out-of-domain BEIR's NQ, FiQA, Touché-2020, TREC-COVID, SciFact, NFCorpus. The paper does not report the number of queries used for attack evaluation per test set.
    • Baselines: RandomToken (replacement ratio p=0.3), HotFlip, EmbedPerturb, Prompting (Qwen3-8B, thinking, with the same instruction prompt as training). The paper does not specify which ranking model HotFlip's gradients come from.
    • Metrics: ASR is exceeding the lowest relevant document; also report Top@1, Top@10, Llama3.2-1B's PPL, Dale-Chall. RAG accuracy is judged by GPT5. The paper does not report the number of repetitions, nor reviewer and human agreement.
    • Top-1 protocol: The current top benign document is given to the generator, one per query, inserted into the corpus.

    Main Results

    The table below shows eight-dataset average Top@1 for Top-1 attacks. The SimLM-base row is from Table 6's Avg., and that row's target is the training proxy; other rows are from Table 2's Avg.

    Swipe horizontally to read the table

    Target ranking modelPromptingVerTox Qwen3-0.6BVerTox Llama3.2-1B-InstructVerTox Gemma2-2b-it
    SimLM-base (white-box, i.e., proxy)0.480.780.770.81
    BGE-base0.540.760.740.82
    Cohere0.660.840.850.89
    SPLADE0.620.780.800.85
    RepLLaMA0.550.800.800.84
    RankLLaMA0.490.590.580.68
    • Relative prompting and time: The authors claim that smaller RLVR generators achieve higher Top@1 than prompting an 8B model, and are more time-efficient per query. Table 1 in-domain average Sec./Query: VerTox (Qwen3-0.6B) 0.44, Prompting 3.15, HotFlip 480.95. Non-LLM baselines' eight-dataset average Top@1, Table 2's Avg. column is 0.00–0.04, Table 6 is 0.01–0.06.
    • Authors' interpretation of transfer: The authors claim that all black-box targets are stronger than the training proxy, yet the generators can still attack them. Table 4 average nDCG@10: SimLM-base 0.41, five black-box models 0.55–0.62. The authors believe different architectures still rely on shared relevance signals that can be exploited.
    • Exceptions: Table 1 in-domain average ASR, Llama and Gemma VerTox are 1.00, Qwen is 0.98, lower than Prompting's 0.99. Table 2 RepLLaMA on Touché: Gemma2-2b-it is 0.57, Prompting is 0.59. In Appendix D, the authors state that ASR is not informative enough for LLM poisoning.

    Scaling to Multiple Top Documents

    • What was tested: For each of the top k documents (0≤k≤10) in the original ranking, generate an adversarial document, and compute nDCG@10 using original relevance labels. Figure 2 includes BGE-base, SPLADE, RepLLaMA, RankLLaMA, with boxplots summarizing eight evaluation sets, y-axis is nDCG@10.
    • No point-by-point readings in the text: The authors state that average nDCG@10 decreases as k increases, with the drop from no attack to Top-1, Top-2 being especially sharp; poisoning only a few high-ranking documents is enough to disrupt retrieval quality.
    • Authors' interpretation: The authors state that BGE-base, SPLADE, RepLLaMA show severe degradation under Top-10 attacks, while RankLLaMA's nDCG@10 is slightly higher, but the trajectory is also downward.

    Downstream RAG

    • Setup: 100 FlashRAG queries, BGE-base retrieves from a Wikipedia dump, adversarial documents inserted according to ranking. Contexts for k∈{1, 3, 5, 7, 10} are given to Qwen3-8B and GPTOSS-20B, with GPT5 judging accuracy. The paper does not specify which generator backbone is used here.
    • Results: With original context, accuracy rises with more evidence, both models reaching 0.70. With poisoned context, the authors state both models maintain near 0.30 across all k.
    • Authors' interpretation: The authors state that fact corruption in adversarial documents misleads answer generators and substantially degrades RAG reliability.

    Case Studies and Failures

    • Low readability baselines: Figure 5 uses Cohere-embed-english-v3.0. Benign document 0.571, HotFlip 0.351, EmbedPerturb 0.474; the authors state both have low readability and do not outrank the original. Do not reproduce the text in the figure.
    • Prompting and VerTox: Prompting Qwen3-8B is 0.592, the authors state it largely preserves the original evidence and appends fabricated content. VerTox is 0.695, the authors state it directly replaces query-relevant facts. The NQ example in Figure 1 is also 0.695 vs. 0.571.
    • Failures and domain examples: Figure 7 two examples are 0.796 vs. 0.812, 0.773 vs. 0.779. The authors state that when the original text is compact and directly answers the query, the margin is insufficient to outrank the top document while writing incorrect facts. In Figure 6 (FiQA), VerTox 0.915, benign 0.801, the authors state that without domain knowledge, false descriptions still appear plausible.

    Other Ablations and Analyses

    • Ranking reward dense margin vs. binary (only rewarding successful outranking): Figure 4, the paper does not give specific Top@1; the authors state dense has higher average Top@1 across eight datasets and six ranking models, because unsuccessful samples also provide incremental signal to reduce score gaps.
    • Dale-Chall average (Table 5): benign 11.7; VerTox (Gemma2-2b-it) 12.0 (+0.3); Prompting 12.1 (+0.4); EmbedPerturb 12.5 (+0.8); RandomToken 14.7 (+3.0); HotFlip 18.7 (+7.0).
    • White-box in-domain average PPL (Table 1): VerTox Llama 12.16, Prompting 16.15, VerTox Qwen 19.89, VerTox Gemma 31.67, EmbedPerturb 158.64, HotFlip 6079.69.
    • White-box in-domain average Sec./Query (Table 1): RandomToken 0.10, VerTox Qwen 0.44, Llama 0.49, Gemma 0.76, Prompting 3.15, EmbedPerturb 172.49, HotFlip 480.95.
    • Black-box Top@10 Avg. (Table 7): on Cohere, Prompting 0.99, all three VerTox 0.98; on SPLADE, Prompting 0.97, Qwen and Llama 0.94. The authors state that prompting and VerTox are comparable on Top@10, with differences mainly at Top@1.
    • White-box eight-dataset average Top@10 (Table 6 Avg.): Prompting 0.83; VerTox Qwen/Llama/Gemma are 0.92/0.93/0.94.
  5. What are some points that can be further explored?

    The authors note that defenses and corpora behind firewalls were not evaluated, and RAG uses only 100 queries and two answer models.

    Limitations and Future Directions Noted by the Authors

    • Open corpora: The poisoning setting in this paper mainly corresponds to open retrieval such as web and vertical search; corpora maintained behind firewalls are out of scope (Limitations).
    • No defense experiments: Duplicate filtering, spam detection, content moderation, or adversarial retraining were not evaluated (Limitations).
    • Analysis could be strengthened: The authors write that multi-agent training, as well as human evaluation of factuality and detectability, would strengthen the analysis (Limitations).
    • RAG scale: Downstream experiments are limited to 100 FlashRAG queries, two answer models, and one LLM judge; the authors state that larger scale, as well as more domains, judges, and retrieval pipelines, are needed (Limitations).
    • Controllable corruption: Future work could extend the random fact corruption in this paper to controllable attacks targeting specific claims or entities (Conclusions and Future Work).
    • Agents and defenses: Future work could involve multi-turn agent settings, rewriting documents based on intermediate queries, retrieved evidence, and actions, with rewards based on final answers or decisions; corpus filtering or adversarial training could also be used to jointly evaluate retrieval relevance and factual consistency (Conclusions and Future Work).

    Experimental Coverage

    • Models: Ranking models are SimLM-base, BGE-base, Cohere, SPLADE, RepLLaMA, and RankLLaMA, totaling 6; generators are three small LLMs, with Prompting using Qwen3-8B (Section 4.1).
    • Protocols: Includes white-box and black-box Top-1, as well as nDCG@10 for 0≤k≤10; Figure 2 plots four rankers. Metrics include ASR, Top@1, Top@10, PPL, Dale-Chall, and nDCG@10 (Sections 4.1–4.3).
    • Data and downstream: Training uses 3,000 pairs from MS MARCO; attack evaluation uses TREC DL 2019/2020 and six BEIR datasets. RAG uses 100 FlashRAG queries, a Wikipedia dump, BGE-base, Qwen3-8B and GPTOSS-20B, and GPT5 as judge (Sections 4.1, 4.4).
    • Ablations: Only dense and binary variants of the ranking distortion reward are compared (Section 4.5, Figure 4). The paper does not report numbers after removing the fact corruption term or the query repetition term.
    • Unreported experimental details: The paper does not report the number of attack queries per test set, evaluation repetitions, GRPO group size G, length ratio threshold, which model the HotFlip gradients belong to, the generator backbone used for RAG, or the agreement between GPT5 and humans.
  6. Summarize the main content of the paper

    VerTox fine-tunes small LLMs with verifiable rewards to generate poisoning documents that boost ranking and corrupt facts.

    VerTox uses verifiable rewards to fine-tune small LLMs into corpus poisoning generators, used to probe the exposure of neural rankers to injected documents.

    • Problem addressed: Attackers cannot modify the retrieval system; they can only issue queries, observe results, and add new documents. The generator must both outrank the current top benign document and rewrite query-relevant facts, rather than restating evidence.
    • Approach: GRPO optimizes the policy, with rewards composed of continuous ranking margins on SimLM-base, bidirectional NLI inconsistency, query repetition penalty, and length penalty. Generators are Qwen3-0.6B, Llama3.2-1B-Instruct, and Gemma2-2b-it. The authors claim that, to their knowledge, this is the first formulation of LLM-based corpus poisoning as RLVR.
    • White-box: When the target is the proxy SimLM-base, Gemma2-2b-it achieves an in-domain average ASR of 1.00 and Top@1 of 0.84 (Table 1). Out-of-domain average Top@1 for the three VerTox variants is 0.79–0.80, while Prompting is 0.49. In-domain Qwen's ASR is 0.98, lower than Prompting's 0.99.
    • Black-box: Eight-dataset average Top@1 for Gemma2-2b-it is 0.89 on Cohere and 0.68 on RankLLaMA (Table 2). The authors attribute transfer to shared relevance signals across architectures; in Table 4, these black-box models have average nDCG@10 of 0.55–0.62, while the proxy is 0.41.
    • Downstream: RAG accuracy for Qwen3-8B and GPTOSS-20B reaches 0.70 with original context; after poisoning, the authors report both models maintain near 0.30 across all k (Figure 3). The authors claim that LLM-generated corpus poisoning is a practical and transferable threat to neural ranking systems.

Related papers

Show 3 more papers
Read originalConference on Empirical Methods in Natural Language Processing 2026