Manuscript Offprint
arXiv:2610.24834Consistency Is the Attack Surface: Detecting Coordinated Retrieval Poisoning with Embedding Geometry
Abstract
Consistency-based defenses for retrieval-augmented generation (RAG) rest on an assumption that a sparse adversary breaks: a poisoning campaign may modify a negligible fraction of the corpus, yet retrieval concentrates its passages into the reader's context. Across four Natural Questions retrieval seeds, at least one injection reaches the top-5 in 94.1% of targeted query–seed rows, and all three form a retrieved majority in 52.9%. Under our short-answer protocol, RobustRAG and ReliabilityRAG reach exposure-conditional attack success 0.512, against 0.576 for undefended RAG, while lowering clean accuracy from 0.328 to 0.216. Coordination, however, leaves a fingerprint: a dense, query-anchored component in the evidence embedding geometry. COORDGUARD audits this structure from robustly normalized query-weighted affinities, without poison labels, correct answers, or reader gradients. Its always-filter mode suppresses the selected component whenever one forms; a benign-calibrated gate suppresses it only at unusually high scores and traces a robustness–utility frontier. Pooling four retrieval seeds, e5 always-filtering reduces to 0.167 overall and 0.138 on parametrically unknown queries, at a 13.6-point clean cost, while a Contriever gate retains clean accuracy 0.315 at . The reduction transfers across two readers, three tasks, and multiple retriever–auditor pairs, and count-matched controls attribute it to component-targeted removal rather than deletion volume. These findings recast poison detection from judging truth to auditing the structure of retrieved evidence.
Keywords
retrieval-augmented generation, retrieval poisoning, coordinated attack, embedding geometry, robustness
ACM Reference Format:
Zeyan Li, Qirong Guo, and Jianfeng Xu. 2027. Consistency Is the Attack Surface: Detecting Coordinated Retrieval Poisoning with Embedding Geometry. In Proceedings of The Web Conference 2027 (WWW '27). ACM, New York, NY, USA, 13 pages.
Retrieval-augmented generation (RAG) grounds model outputs in external evidence, but its security depends on the evidence delivered to the reader, not on the corpus in aggregate. A poisoning campaign may modify only a negligible corpus fraction while a retriever

Figure 1: Retrieval concentration and consensus degradation on NQ-Qwen (four seeds). (a) Poison reaches the top-5 in 94.1% of targeted rows; all three injections form a majority in 52.9%. (b) Aggregators degrade as the delivered coalition grows; CoordGuard improves once coordination forms (RobustRAG and ReliabilityRAG coincide).
concentrates several injected passages into a small top-k context. Corpus-level sparsity therefore does not imply retrieved-set sparsity. Globally sparse corruption can become locally dominant at the reader interface.
We study coordinated retrieval poisoning, in which multiple injected passages use different wording while supporting the same attacker-selected claim. In our headline configuration, up to three injections enter a context of k=5. Once they become the largest coherent group, and especially when all three form a local majority, agreement among retrieved sources no longer distinguishes reliability from coordination. Majority voting and consistency-graph aggregation can then receive the attacker's mutually supportive coalition as their dominant input even though the corpus modification is small.
This regime creates three challenges. First, consensus can become an attack mechanism instead of a reliability signal. RobustRAG [37] and ReliabilityRAG [27] provide guarantees under their stated corruption and consistency conditions; our study examines the evidence coalition that remains after retrieval. Second, coordinated poison is a dense inlier. Its passages must be relevant enough to enter the top-k and aligned enough to advocate the same target, so relevance pruning, isolation-outlier detection, MMR, and near-duplicate suppression examine the wrong side of the geometry. Third, the same structure can occur benignly when several passages describe the same entity, event, or fact, creating an unavoidable robustness–utility tension for geometry-only intervention.
Figure 1 directly connects retrieval concentration to reader-side failure. On Natural Questions (NQ), retrieval exposes poison in 94.1% of targeted query–seed rows and produces a three-of-five adversarial majority in 52.9%. The evaluated consistency aggregators attain exposure-conditional ASR 0.228, 0.519, and 0.591 at realized poison occupancy , 2, 3; CoordGuard's complementary profile turns favorable only once coordination forms (Section 4.2).
Li et al.
The attack nevertheless tends to leave a structural footprint. Effective poison passages jointly inflate query-passage relevance and passage-passage similarity, producing a dense query-anchored component. We introduce COORDGUARD, a training-free, reader-agnostic auditor that constructs candidate components from robustly normalized query-weighted affinities. A continuous score ranks the components and enables either unconditional filtering or a threshold calibrated only on benign retrievals.
Across four NQ retrieval seeds, e5-based COORDGUARD-AF reduces from 0.576 to 0.167 overall and to 0.138 on parametrically unknown queries (clean 0.328 → 0.192 at this endpoint); a Contriever-based gate retains clean accuracy 0.315 at . The observed reduction transfers to a second reader, HotpotQA, MS MARCO wrong-claim steering, and multiple retriever-auditor pairs. Count-matched controls show that targeting a query-weighted graph component, instead of merely deleting more passages, is critical, with the selector chosen per operating condition.
Contributions. (1) We formalize retrieval concentration through realized poison occupancy and show that reader-side consensus degradation tracks the coalition delivered by retrieval, not corpus corruption rate alone. (2) We introduce COORDGUARD, a reader-agnostic query-anchored component audit with unconditional and benign-calibrated operating modes. (3) We evaluate robustness, clean utility, transfer, matched-removal controls, and score-aware adaptation, with clean utility characterized at every operating point. Our setting is inference-time auditing with a fixed retriever and an available auditor embedding; always-filtering is the robustness-oriented endpoint ( 90% benign intervention), and deployment uses the benign-calibrated gate.
2 Related Work
Retrieval augmentation and corpus poisoning. RAG systems [19] combine a retriever with a parametric reader, using sparse lexical scoring such as BM25 [24], dense dual encoders such as DPR [14] and Contriever [8], late-interaction models such as ColBERTv2 [25], or fusion-in-decoder architectures [9]. Their dependence on an external corpus introduces a distinct attack surface. An adversary can alter what reaches the reader without changing model parameters. PoisonedRAG [49] demonstrates targeted knowledge corruption by inserting adversarial documents into the retrieval corpus. We focus on the coordinated case in which several injected passages support one target answer and are jointly retrieved. The central phenomenon is not simply that poison exists in the corpus, but that retrieval concentrates a small campaign into a majority of a small top-k context.
Aggregation and certified retrieval defenses. RobustRAG [37] isolates evidence-conditioned predictions and aggregates them to obtain robustness under bounded retrieval corruption. ReliabilityRAG [27] represents consistency relations among sources and selects reliable evidence through a graph-based rule. These methods establish guarantees under their stated threat and certification conditions; our experiments do not challenge those guarantees. We instead examine an operational regime in which three coordinated corpus injections already occupy a majority of the top-five retrieved passages. At that point, the evaluated majority- and maximum-independent-set rules receive an adversarial coalition as their dominant evidence and may select it. This distinguishes corpus sparsity from retrieved-set sparsity. A small number of corpus edits need not remain a minority after retrieval. Self-consistency prompting [36] also exploits repeated agreement, although it is a reasoning-time aggregation method, not a certified retrieval defense.
Context amplification and knowledge conflicts. CAD [28], AdaCAD [33], and CoCoA [15] balance parametric and contextual distributions during decoding. Their premise is useful when retrieved evidence is more reliable than model memory, but coordinated poisoning reverses that premise by making the context intentionally misleading. More broadly, retrieved evidence can conflict with parametric memory, with other passages, or with entity-specific facts [4, 16, 21, 38, 39]. Prior work studies the internal mechanisms of such conflicts [12], resolution strategies [11, 20], truth-aware context selection [44], robustness to irrelevant context [43], and preference-based knowledge selection [46]. Astute RAG [32], RARAG [7], CRAG [40], and analyses of conflicting evidence [34] likewise arbitrate unreliable retrieval. RAGForensics [45] traces poisoned texts after an attack. CoordGuard is complementary. It does not determine which claim is factually correct, but audits whether the retrieved evidence exhibits the structural concentration associated with a coordinated campaign.
Structure-based filtering. Work on parametric-memory limits and adaptive retrieval asks whether a model already knows an answer or requires retrieval [13, 22]. Such signals are least informative when retrieval is needed precisely because the model lacks the answer. Conventional outlier detection [1], relevance pruning, and near-duplicate suppression look for isolated or redundant passages. Coordinated poison can evade these intuitions by using lexically distinct passages that remain semantically aligned and query-relevant. MMR [2] and related diversity objectives reduce redundancy but do not necessarily remove a mutually supportive semantic coalition.
Closest to our method are structure-based retrieval defenses. TrustRAG [48] combines clustering with structural and parametric signals; SeCon-RAG [29] filters and resolves semantic conflicts; and GRADA [47] reranks an adversarial-document graph. PRA-RAG [31] samples passage subsets and uses embedding geometry to derive a robust aggregate under its assumptions, while BiRD [5] uses bidirectional ranking consistency. On the corpus side, CleanBase [10] scans the knowledge database offline for semantically tight malicious document groups and GHP [26] hardens graph-based reranking for poison with strong query support; at query time, RAGuard [3] expands retrieval and filters chunks by reader perplexity, and RevPRAG [30] detects attacks from reader activations. CoordGuard instead audits whether the realized top-k contains a query-anchored coordination component, exposes both unconditional and benign-calibrated actions, and explicitly measures their clean-utility cost; it needs no corpus access or poison examples (unlike corpus-side scans) and no reader logits or internals (unlike perplexity- and activation-based filters), so it also covers pool-injected campaigns whose passages are never corpus-indexed.
Stage 1: Query-Anchored Component Construction

Figure 2: CoordGuard overview. Stage 1: query-weighted affinities, robustly normalized and thresholded into candidate components. Stage 2: the top-scoring component supplies ; always-filter removes it whenever a component exists, the calibrated gate only at ; the filtered context reaches the frozen reader.
Polymorphic-sybil poisoning [18] further shows that lexical diversity can preserve coordinated semantic influence and defeat cosine near-duplicate filters. We do not claim cross-protocol dominance. Where a controlled reproduction is feasible (GRADA, SeConRAG, BiRD, and TrustRAG re-run under our fixed coordinated-poisoning protocol, Section 4), we report the comparison directly; for the remaining systems, differing attack construction, retriever interfaces, and action spaces preclude it. Our contribution is the retrieval-concentration analysis and query-anchored component audit under a fixed coordinated-poisoning protocol.
3 Method: CoordGuard
CoordGuard audits the structure that an effective coordinated campaign tends to create, namely a multi-passage group that is self-similar, query-relevant, and large enough to influence a small retrieved context. Figure 2 summarizes the audit pipeline and its two operating modes; the remainder of this section defines the threat model, the query-anchored component construction and its score, and the two calibration modes.
3.1 Retrieval concentration and threat model
A query retrieves passages from a corpus , and a frozen reader generates an answer . Let denote the top- retrieval result. After the adversary injects a bounded set , we define the retrieved poison occupancy
A query is exposed when and has a retrieved adversarial majority when . This distinction separates corpus-level sparsity from reader-side dominance. Our headline configuration uses and three injected passages; when all three are retrieved, they form a local majority.
Let be an -normalized auditor embedding, which may differ from the retrieval encoder. In our primary implementation, passage representations are mean-pooled e5-large-v2 embeddings. We write
for query-passage relevance and passage-passage similarity.
The adversary selects a target claim and injects passages intended to make the reader emit . For evaluation, is constructed to differ from the benchmark answer, but neither CoordGuard nor its calibration procedure uses that answer. The injected passages may vary in wording and semantic coordination while consistently supporting . The adversary controls the injected text but not the reader parameters, the fixed retriever, or the auditor. Section 4.4 evaluates lexical diversity, lower coordination, retrieval optimization, and black-box candidate selection; direct end-to-end optimization against the complete defended pipeline remains outside the present scope.
Effective coordination creates two empirical tendencies. Retrievability requires each injected passage to score highly enough against the query to enter the top-k. Mutual reinforcement requires the retrieved poison passages to remain sufficiently aligned in meaning to advocate the same target. These tendencies imply neither perfect clustering nor theoretical separation. Benign passages can also be mutually similar and query-relevant when they describe the same entity, event, or fact; we call this benign co-relevance. Distinguishing adversarial coordination from benign co-relevance is the central difficulty of a per-query gate.
The defender operates at inference time. It observes q and the retrieved passages, can compute an auditor embedding, and may suppress passages before they reach the reader. A held-out collection of benign retrievals is available for calibrating a score threshold, but no poison examples, target answers, correct answers, or reader gradients are used for calibration.
For analysis, we summarize poison-benign separability for auditor e as
Li et al.
This is an evaluation statistic, not a training objective. CoordGuard does not optimize or use poison labels to choose its deployment threshold. Across seven tested embeddings, ranges from 0.657 to 0.740 (Appendix A), which we interpret as protocol-specific empirical separability, not a universal limit.
3.2 Query-anchored coordination audit
Query-weighted affinity. Raw passage similarity alone cannot distinguish a coordinated attack from a dense group of passages about an unrelated topic. CoordGuard therefore weights each pair by the weaker query anchor:
The minimum requires both endpoints of an edge to be query-relevant; one strongly anchored passage cannot compensate for a weakly anchored partner. The construction remains reader-independent because it uses only evidence geometry.
The scale and dispersion of W vary across queries. We robustly normalize its off-diagonal entries using the median and median absolute deviation (MAD),
Pairs with define an undirected graph over the retrieved passages. Its connected components with at least two passages form the candidate set . If is empty, CoordGuard returns the original context. This prevents a singleton from being removed merely because no multi-passage coordination component exists.
Coordination score. Each candidate component is scored by
The selected component and audit score are
The product is a scoring heuristic, not a certified likelihood. measures mutual alignment. discounts components weakly anchored to the query, while rewards groups large enough to influence a small context. We keep as the default because it also supplies a continuous audit score for benign-only calibration; it is a calibration-compatible default, not a claim of unique optimality. Under matched removal, largest-, density-, and anchor-based component selection all reach , while random and lowest-relevance removal remain at 0.48 and 0.57 (Table 4, Appendix A).
Selecting does not assert that the component is poisoned. A benign co-relevant group can maximize , which explains both the clean-accuracy cost of unconditional suppression and the imperfect AUC of a per-query gate. Algorithm 1 gives the inference procedure.
3.3 Calibration and operating modes
Benign-only calibration. For the gated variant, we compute on held-out benign retrievals and set to their Q-th quantile.
Algorithm 1 CoordGuard audit
Require: query q, passages P, embedding e, component threshold , gate threshold
1: Compute and
2:
3: Normalize with its median and MAD to obtain Z
4: Link i, j when ; retain
5: if then
6: return P
7: end if
8: ;
9: if then
10: return
11: else
12: return P
13: end if
This controls how often benign queries trigger intervention without requiring poison examples. Increasing Q raises the threshold, reduces intervention, and moves the system toward clean utility at the cost of higher attack success. Calibration is tied to an auditor and retrieval configuration; we do not assume that a numerical threshold transfers unchanged across embedding families.
Primary modes. COORDGUARD-AF sets and removes whenever a multi-passage candidate exists. It avoids a per-query poisoned-versus-benign classification decision and provides a robustness-oriented endpoint, but it can remove benign co-relevant components. COORDGUARD-G applies the benign-calibrated threshold and intervenes only on queries with unusually high scores. It recovers more clean accuracy but admits more attacks. Neither mode dominates at every deployment cost; together they expose the operating frontier.
Appendix D tests medoid capping and deeper-rank backfilling. Both recover clean coverage by retaining or reintroducing evidence from the poison coalition, so they are not primary modes.
Complexity and deployment cost. Given embeddings, forming the passage similarity matrix costs and graph construction plus scoring costs . On one CPU core with random vectors, geometry-only post-processing takes 0.067 ms median per query at and 0.082 ms at (p95 0.093 ms). These measurements exclude auditor-embedding inference. This 0.067 ms figure is a synthetic algorithmic lower bound (random vectors, single core); on real retrieved passages the deployed geometry cost is ms/query median, and the full audit (auditor encoding of the retrieved top-k plus geometry) is ms/query median and < 70 ms at the 95th percentile (Section 4). Passage embeddings can be precomputed when the corpus and auditor are fixed, but deployment still requires a query embedding and a second passage representation when the auditor differs from the retriever; the 0.067 ms value is clustering-and-scoring overhead only, not end-to-end latency.
4 Experiments
We organize the evaluation around four questions: (RQ1) does query-anchored component filtering reduce exposure-conditional attack success below every evaluated baseline, and at what clean-utility cost? (RQ2) does the geometry signal survive swapping the retrieval and audit spaces, and does it remove more poison than generic outlier filtering at matched intervention? (RQ3) does the reduction transfer across readers, datasets, and attack budgets, or is it a single-configuration artifact? (RQ4) which components carry the gain under count-matched removal, adaptive attacks, and premise-splitting stress?
4.1 Experimental setup
Data, models, and attack. We sample 1,000 queries each from Natural Questions (NQ) [17] and HotpotQA [42], and construct an MS MARCO wrong-claim steering task. Frozen readers are Qwen2.5-7B-Instruct [41] (primary) and Llama-3.1-8B-Instruct [6]. The anchor retriever is Contriever [8]; the primary independent auditor is e5-large-v2 [35]. We follow PoisonedRAG's [49] targeted knowledge-corruption threat model, while using our own passage-generation and candidate-pool protocol. The three passages are spliced into a clean BM25-top-50 pool that Contriever re-ranks, and compete for the top k=5 under Contriever score instead of being indexed into the corpus. This pool-injection model skips BM25's first-stage filter and hence does not disadvantage the adversary, yet leaves deeper BM25 ranks clean by construction; the recovery study uses this property, and we test a corpus-indexed boundary separately. A row is exposed when at least one injection enters the top-k; the NQ headline pools 3,764 exposed query-seed rows over four retrieval seeds. The parametrically unknown subset contains queries answered incorrectly without retrieval.
Attack-generation protocol. For each query, Qwen2.5-7B-Instruct first samples one plausible benchmark-inconsistent target (temperature 0.7, top-p 0.95). Conditioned on that fixed target, it then produces three numbered, encyclopedia-style passages in one deterministic decoding call; the passages share the claim but differ in surface form. Reader answers are greedily decoded, so reported variation comes from query sampling and retrieval seeds instead of reader sampling. The paraphrase, low-coordination, retrieval-optimized, gate-aware, and premise-splitting variants use separate prompts or candidate selection and are reported as stress tests, not pooled with the headline protocol. Neither attack generation nor reader inference is used to fit CoordGuard.
Metrics and baselines. We report clean and poisoned accuracy and exposure-conditional attack success ; unconditional end-to-end ASR additionally counts unexposed targeted rows. Gold- and target-matching both use substring containment after normalization, so a prediction containing both strings counts in both columns and the two columns need not sum to one. Table 7 reports a mutually exclusive decomposition; directly measured both/neither string rates account exactly for the overlap (Appendix C). Geometric diagnostics include , passage discrimination, and Det-all, the fraction of exposed attacks for which all retrieved poison is removed. Baselines are closed-book and vanilla RAG; RobustRAG [37]; ReliabilityRAG [27]; MMR [2] and cosine deduplication; CAD [28] and CoCoA [15]; TrustRAG-S1/S2 [48]; and relevance and isolation outliers. Each method is run on its own clean-side pipeline. In our short-answer interface, RobustRAG's plurality and ReliabilityRAG's maximum independent set of the binary answer-mismatch graph coincide row-by-row; this protocol equivalence does not imply that the full methods are identical. TrustRAG-S1/S2 use the same four retrieval seeds as CoordGuard and are paired query-by-query; CAD and CoCoA use method-specific decoding interfaces and lack per-query multi-seed records, so those comparisons remain descriptive.
Reproducibility. Four-seed CoordGuard and TrustRAG intervals use a two-level bootstrap over query IDs and retrieval-seed rows (B=2000); single-seed runs use query bootstrap. TrustRAG-S1/S2 are paired query-by-query with CoordGuard and use the same bootstrap; baselines without per-query multi-seed records are reported as point estimates, without bootstrap-based significance claims. We set , , and using held-out benign retrievals; gate thresholds are selected only from benign calibration data. Experiments use a shared 80GB server, with the geometry score computed on CPU ( ms/query median). The full audit (auditor encoding of the retrieved top-k plus geometry) costs ms/query median and ms at the 95th percentile, under 10% of reader generation latency; it intervenes on 92% of poisoned and 90% of benign queries, removes a mean of 2.4–2.5 of 5 passages, and blanks the full context in under 0.2% of queries.
4.2 Robustness, utility, and retrieval concentration (RQ1)
Table 1 gives the four-seed NQ comparison. Vanilla RAG reaches . RobustRAG and ReliabilityRAG reduce this to 0.512 but also reduce clean accuracy to 0.216 in the evaluated shared protocol. Generic diversity filters and context-amplifying decoding barely move the attack. TrustRAG-S1 reaches clean 0.299 at [0.285, 0.339] and TrustRAG-S2 reaches clean 0.217 at [0.244, 0.297], each on the same four seeds. Paired query-by-query against CoordGuard-AF, the attack-success gap is [-0.171, -0.119] versus TrustRAG-S1 and -0.100 [-0.125, -0.073] versus TrustRAG-S2, with 95% CIs excluding zero. TrustRAG-S2's internal-knowledge arbitration carries a clean cost (0.217, versus 0.299 for S1) without recovering robustness, so it is dominated on both axes by the calibrated Contriever gate. The closest concurrent retrieval-time defense, BiRD [5], is competitive at the high-robustness end. Reproduced under the same protocol, with the retriever's Contriever embeddings and a benign-calibrated threshold, it reaches at clean 0.222, against 0.167 at 0.192 for CoordGuard-AF. CoordGuard's advantage lies at high utility. At matched clean accuracy of roughly 0.30, BiRD reaches only 0.479 while the calibrated gate stays between 0.27 and 0.30.
With e5 geometry, COORDGUARD-AF reaches (95% CI [0.144, 0.190]) and 0.138 on parametrically unknown queries. Poisoned accuracy rises from 0.158 to 0.200, so the reduction is not merely a shift to a third wrong answer. Clean accuracy decreases from 0.328 to 0.192. Contriever geometry gives a less aggressive endpoint (clean ), and its benign-calibrated gate reaches with no significant clean-accuracy cost (paired , 95% CI , crossing zero).
Closest structure-based defenses under one protocol. We also reproduce the two closest published structure-based filters on the same single-seed dump (977 exposed NQ rows, Qwen2.5-7B reader, e5 auditor, paired bootstrap B=2000). GRADA [47] reranks an inter-document similarity graph by PageRank, interpolating graph score
Li et al.
Table 1: NQ results (four retrieval seeds, 3,764 exposed rows; TrustRAG rows use the same seeds, paired query-by-query with CoordGuard). Exposure 0.941; adversarial-majority rate 0.529; unconditional end-to-end ASR 0.547 (vanilla) and 0.162 (e5 AF). Method-specific decoding; CAD/CoCoA comparisons are descriptive.
| Method | Clean | Pois. Acc | |
|---|---|---|---|
| Closed-book (same rows) | 0.155 | 0.155 | 0.138 |
| Vanilla RAG | 0.328 | 0.158 | 0.576 |
| RobustRAG | 0.216 | 0.149 | 0.512 |
| ReliabilityRAG | 0.216 | 0.149 | 0.512 |
| MMR | 0.307 | 0.171 | 0.543 |
| Cosine deduplication | 0.328 | 0.170 | 0.560 |
| 0.303 | 0.169 | 0.601 | |
| 0.302 | 0.161 | 0.555 | |
| TrustRAG-S1 | 0.299 | 0.187 | 0.313 [0.285,0.339] |
| TrustRAG-S2 | 0.217 | 0.167 | 0.270 [0.244,0.297] |
| CoordGuard-AF (Contriever) | 0.254 | 0.224 | 0.211 |
| CoordGuard-AF (e5) | 0.192 | 0.200 | 0.167 [0.144,0.190] |
| CoordGuard-G (Q=0.80) | 0.315 | 0.212 | 0.331 |
with query relevance through a weight ; SeCon-RAG [29] splits the context into two clusters and keeps the more self-consistent one. CoordGuard filtering reaches [0.130, 0.175], against 0.245 [0.218, 0.271] for GRADA at and 0.352 [0.322, 0.382] at , and 0.407 [0.377, 0.438] for SeCon-RAG; no interval overlaps CoordGuard's. The failure modes are diagnostic. GRADA degrades monotonically as its query-relevance weight grows, because coordinated poison is query-relevant by construction, the exact property CoordGuard exploits. SeCon-RAG retains the most coherent cluster, which under this attack is the coalition itself.
On HotpotQA, e5 AF reduces from 0.735 to 0.309 versus 0.429 for TrustRAG-S1, while incurring only a 1.6-point clean loss (Table 2, Appendix A). This contrast with NQ shows that utility cost depends on benign evidence structure instead of filtering aggressiveness alone. Consistent with this, on benign NQ of the queries where CoordGuard lowers accuracy are single-source-evidence queries whose sole supporting passages form the detected cluster; near-duplicates account for only , so the cost is not recoverable by deduplication. It is the flip side of cluster-coherence detection, concentrated where the answer lives in one tightly-clustered evidence source.
Corpus-indexed end-to-end. With the attack passages indexed into the BM25 corpus, exposure falls from 0.941 to 0.766 and the adversarial-majority rate from 0.529 to 0.199, yet vanilla stays at 0.513. Retrieval shields some rows entirely, and the rows it does not shield are compromised as before. CoordGuard-AF cuts attack success to 0.178 (-33.5 points). The benign-calibrated gate is the better mode here. At it reaches 0.333 at clean 0.291, dominating RobustRAG and ReliabilityRAG (0.417 at clean 0.216) on both axes in an independently regenerated four-seed run (Table 3, Appendix A). The signal does not weaken under corpus indexing. Retrieval already protects some rows, which is precisely the trade the gate makes.
Poison multiplicity and consistency breakdown. The mechanism becomes clearer after stratifying by realized poison occupancy (Figure 7b). RobustRAG and ReliabilityRAG are effective with one retrieved poison passage but rise from at to 0.519 at and 0.591 at . The degradation at does not contradict their certificates. Sufficient conditions depend on the number and consistency of useful benign responses, not passage count alone. Empirically, two mutually supportive poison passages can become the largest coherent group when the remaining benign evidence is noisy or inconsistent. CoordGuard has the complementary profile. A lone poison forms no multi-passage component, whereas falls to 0.124/0.141 once coordination is present (Figure 7b, Appendix A). This observational stratification lets confound with query difficulty; we isolate the effect by holding the query and clean evidence fixed and varying only (four seeds, queries/seed). Attack strength rises monotonically (), while CoordGuard-AF shows the inverted profile, weakest at (0.213 [0.171, 0.254], where a lone poison joins no component) but 0.067 and 0.081 at and 3. Component formation, not retrieval exposure, drives the breakdown (Figure 6b).
4.3 Geometry and transfer (RQ2-RQ3)
The reader retriever and auditor are decoupled. Replacing Contriever audit geometry with e5 improves AF from 0.211 to 0.167 and passage-level discrimination from 0.671 to 0.774, while the seven-embedding sweep is non-monotonic (; Appendix A). Figure 3 shows the footprint directly. Components selected from poisoned retrieval concentrate in the dense, query-anchored corner of the plane under both auditors (query-level AUC 0.76–0.77), weaken but persist under corpus indexing (0.67), and strengthen with realized coordination (0.80 at ), while genuinely overlapping benign co-relevance. Crossed retrieval–auditor experiments reduce in all four cells (Contriever retrieval with a Contriever/e5 auditor attains 0.201/0.179; e5 retrieval 0.140/0.128). Strengthening the first-stage retriever itself, the ms-marco-MiniLM-L-6-v2 cross-encoder over the same BM25 top-50, makes the coordinated attack harder. Vanilla falls [0.451, 0.490] (four seeds), yet CoordGuard-AF holds at 0.139 [0.122, 0.156]; whichever retriever surfaces the coalition, the coalition must still form a dense query-anchored component, so the defense transfers to a stronger, more realistic retriever. Relevance and isolation outliers remove all poison in only of attacks versus for component filtering, supporting the dense-inlier diagnosis.
The reduction transfers across readers and tasks. e5 AF changes from on Qwen-NQ, on Llama-NQ, on HotpotQA, and on MS MARCO steering. A newer reader family replicates the ranking. On Qwen3.5-9B [23] (single seed, 944 exposed rows; greedy short-answer decoding with thinking mode disabled), e5 always-filtering holds and the Contriever auditor 0.190, while RobustRAG and ReliabilityRAG sit at 0.477 and vanilla at 0.528, each within 1–3 points of its Qwen2.5 counterpart, so the geometric signal does not erode on a newer reader. Clean cost ranges from about 1 to 14 points across datasets; what transfers is the robustness effect, with the operating point set per deployment by the benign-calibrated gate. Budget and sweeps, including , where AF reaches 0.103 with near-maximal removal, are in Appendix E (Figure 6d). Figure 4 replays the attack-success landscape as a radar over the four settings with complete method coverage.

component density

component density

component density

component density
Figure 3: Coordination footprint in the plane (component-forming rows). Red: poisoned; blue: poison-free retrieval of the same NQ queries and auditor; lines: 50%/90% KDE contours; top/right: marginal KDEs; AUC: query-level separation. (a) e5, four seeds (3,475 rows); (b) Contriever, one seed; (c) corpus-indexed, four seeds; (d) e5, .
4.4 Matched controls, calibration, and adaptation (RQ4)
What drives the gain? Count-matched deletion separates selection quality from intervention volume (Table 4, Appendix A). On the matched subset, every component-targeted selector reaches and removes all poison in 0.75–0.85 of attacks, whereas random and lowest-relevance deletion stay at 0.47/0.57 (Det-all ≤ 0.21). No single selector dominates . The anchor-only rule edges it by 1.0pp ( ) at slightly lower clean accuracy (0.179 vs 0.192); the largest-component rule ties (+0.006, n.s.); density-only and similarity-contribution fall behind (+0.017/+0.041). The active unit is the query-weighted component, not the score itself. is retained as the default; it is the continuous score under which the benign-calibrated gate stays robust to score-aware adaptation (Table 5, Appendix A), and removing its query-relevance term raises from 0.167 to 0.188.
Calibration. The Contriever gate traces a monotone frontier from always-filter (0.254 clean, ) through the benign-only clean-budget point, the most aggressive threshold satisfying a clean-accuracy floor of 0.30, at 0.302/0.267, to gates at 0.315/0.331, 0.324/0.405, and 0.330/0.444. The clean-budget
(a) attack success
(b) survival ratio

RobustRAG / ReliabilityRAG CoordGuard-AF (e5) --- vanilla
Figure 4: Radar of attack success for the three methods with complete coverage of the four settings. (a) (toward the center is better). (b) Survival ratio vs vanilla (dashed ring at 1; above 1 is worse than undefended, as the aggregators reach 1.02 on HotpotQA). RobustRAG and ReliabilityRAG coincide (one series); Corpus-idx and k=20 independently regenerated.
point improves on four-seed TrustRAG-S1 on both axes with matched seed coverage; the Contriever auditor and TrustRAG's K-means filtering remain different interfaces, so we read the curve as a family of operating points, not a paired Pareto claim. Recasting the threshold as a conformal p-value makes the false-filter guarantee explicit. With n=500 held-out benign calibration queries, , and the gate intervenes whenever ; the clean-query intervention rate tracks (0.054/0.096/0.206/0.308 at ; four seeds, e5 score; Figure 5). The query-anchored score dominates its anchor-free variant at every , by up to 11.5 points where the gate is most conservative ( 0.374 vs. 0.489 at ). At the conformal gate operates at and clean accuracy 0.308, intervening on 51% of attacked and 10% of clean queries, the CB point, with a distribution-free threshold. The construction is also insensitive to its remaining hyperparameters. AF stays within 0.116–0.190 across a range of and both MAD and z normalizations, with clean accuracy in a 1.5-point band and no cliff (Figure 6a; Appendix E). Poison similarity edges sit far above , so component formation is threshold-stable.

Figure 5: Audit-score distributions and the benign-calibrated threshold (regenerated four-seed NQ dumps; benign n=1,000 filled, attack n=3,751 outline; dotted: class means; dashed: benign 90th percentile; inset in (a) zooms the threshold). (a) Query-anchored ; (b) anchor-free variant.
Adaptive stress tests and recovery limits. Paraphrasing increases detectability, whereas a low-coordination generator lowers AUC to 0.690 and raises defended to 0.290. In the strongest end-to-end black-box test, candidate selection lowers from 0.86 to 0.81 on 937 exposed queries; AF rises from 0.180 to 0.219 but remains well below the undefended 0.590/0.588. On the same adapted set the calibrated gate (Q=0.80) intervenes on roughly half of exposed queries, so its defended (0.348) is about twice AF; the score-aware attack leaves the intervention
Li et al.
(a) threshold stability

(b) controlled coordination
(c) benign-calibrated gate
(d) pool size
Figure 6: Robustness across operating parameters (ASR ; lower is better). (a) over a 3× range, median/MAD and z normalization: no cliff. (b) Controlled coordination, query and evidence fixed; bar: 95% CI. (c) Conformal frontier, query-anchored vs. anchor-free score; dashed/dotted: vanilla/AF references. (d) Pool size k (log scale); diamonds: k=20-only baselines.
rate essentially unchanged ( ) and does not raise gate ( , bootstrap CIs overlap). It only breaches the gate at aggressive thresholds, where score-lowering dodges intervention ( , ); the rise is marginal (CIs overlap). A multi-objective variant that places the reader in the candidate-selection loop, keeping hijack success while lowering , strengthens the undefended attack ( , two seeds) yet only raises defended AF to 0.23, the same ceiling, and falls only mildly ( ). Medoid capping and deeper-rank backfilling restore clean coverage by preserving or reintroducing poison, raising to 0.45–0.49 (Appendix D).
From suppression to recovery. Always-filtering suppresses the coalition but does not itself recover the gold answer. Pooling the four seeds, on vanilla-hijacked rows CoordGuard-AF sends 0.210 to gold, 0.122 remain on the target, and 0.608 drift to a third answer (Table 7, Appendix A). We test refilling the deleted slots from a poison-free source. Under pool injection, the adversary's passages are not corpus-indexed, so deeper BM25 ranks are clean by construction (zero of 943 attacked rows share a backfill candidate with any poison passage), and refill cannot re-introduce this attack. Refilling by query relevance after full cluster removal raises gold recovery on hijacked rows from 0.210 to 0.402 (paired query-bootstrap, n=1,945, 95% CI [+0.169, +0.213]) and gold accuracy on all attacked rows from 0.208 to 0.364, while attack success falls slightly (0.122 → 0.083). The cap-and-refill variant of Appendix D, in contrast, retains a component medoid and backfills from the retrieved ranking, resurfacing poison (ASR ≈ 0.45). The repulsive counter-retrieval score (Table 7) matches random backfill (0.231 vs 0.237 gold). In pool injection, poison and gold evidence share the query-anchor neighborhood, so repelling the deleted component also repels the clean answer. Under corpus-indexed poison a query's own passages resurface in ~75% of rows but a co-attacker's reaches the backfill range in only ~3–5%, so relevance refill still dominates the repulsive score (gold 0.403 vs 0.232, 95% CI [+0.124, +0.218]) at equal ASR. Only when the deleted coalition is forced into the backfill does relevance refill resurface poison (0.759) while the repulsive score avoids it (0.097). The repulsive term earns its keep only when the refill source holds coalition-resembling passages. On clean queries where always-filtering deletes a benign component, relevance refill restores gold accuracy to 0.279, above vanilla (0.219) and always-filtering (0.145), so recovery lowers the clean-utility cost instead of adding to it.
Premise-splitting stress. A natural falsifier inverts only the interpassage alignment. Under premise-splitting (PS-2), the three injections still assert one benchmark-inconsistent target but via mutually divergent, surface-distinct support. This strengthens the attack on the undefended reader (vanilla ASR 0.558 → 0.678, positive in 4/4 seeds) yet leaves CoordGuard-AF flat (0.151 → 0.144; CIs cross zero); the coordination gap widens 0.407 → 0.534. The component does not dissolve. rises (0.950 → 1.010), and components of size 2 form in 0.945 of rows, because each injection still mentions the query entity, so query-weighted affinity stays dense regardless of whether the support agrees. CoordGuard reads relevance-anchored geometry, not answer consensus. Splitting the target itself (PS-1, each injection a different wrong answer) still forms the component (0.944 of rows, ); with no shared target, ASR is ill-defined and we report only the stored-wrong-answer lower bound (0.095). Base coordinated on these seeds falls within the headline CIs; the premise-split claim rests on the split-base paired difference, which controls for query sampling (Table 6, Appendix A).
5 Conclusion
Globally sparse poisoning can become locally dominant after retrieval. Attack success and consistency-aggregation failure rise with realized poison occupancy, and CoordGuard becomes effective once a multi-passage coalition forms, auditing this footprint by constructing dense, query-anchored evidence components before generation. Across four retrieval seeds, e5 always-filtering reduces exposure-conditional ASR to 0.167, and the reduction transfers across the tested readers, datasets, and retriever-auditor pairs. When the adversary is corpus-indexed, always-filtering still cuts vanilla ASR by a third, and the benign-calibrated gate dominates aggregation defenses on both axes; refilling deleted context from poison-free deeper ranks then restores gold accuracy on attacked rows (0.21 → 0.40).
Geometry audits coordination, not truth. Legitimate co-relevant passages can resemble coordinated poison. Deployment requires benign calibration from the intended retrieval distribution, renewed after any change to retriever, auditor, corpus, or top-k, with monitoring of intervention rate and removed-component size; retrieved evidence should be treated as an auditable attack surface, combined with provenance and content verification.
Future work. Three directions follow. First, the geometry-only separability ceiling (AUC 0.657–0.740) invites orthogonal signals (provenance, content verification, or corpus-side usage statistics) that could raise the calibrated gate without retraining the reader. Second, oracle-free clean-cost recovery remains open. The tested knowability signals route only a small fraction of queries better than chance, and a stronger signal would close most of the remaining utility gap. Third, our threat model excludes end-to-end co-optimization against the complete defended pipeline and readers beyond 8B parameters; a jointly optimized adversary and larger scales would further pin down the audit's boundary.
Li et al.
References
[1] Charu C. Aggarwal. 2017. Outlier Analysis (2nd ed.). Springer International Publishing, Cham. doi:10.1007/978-3-319-47578-3
[2] Jaime G. Carbonell and Jade Goldstein. 1998. The Use of MMR, Diversity-Based Reranking for Reordering Documents and Producing Summaries. In Proceedings of the 21st Annual International ACM SIGIR Conference on Research and Development in Information Retrieval. ACM, Melbourne, Australia, 335–336. doi:10.1145/290941.291025
[3] Zirui Cheng, Jikai Sun, Anjun Gao, Yueyang Quan, Zhuqing Liu, Xiaohua Hu, and Minghong Fang. 2025. Secure Retrieval-Augmented Generation against Poisoning Attacks. In IEEE International Conference on Big Data (IEEE BigData 2025). https://arxiv.org/abs/2510.25025 arXiv:2510.25025.
[4] Kevin Du, Vésteinn Snæbjarnarson, Niklas Stoehr, Jennifer White, Aaron Schein, and Ryan Cotterell. 2024. Context versus Prior Knowledge in Language Models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, Bangkok, Thailand, 13211–13235. doi:10.18653/v1/2024.acl-long.714
[5] Chengcai Gao, Zhihong Sun, Xiaochuan Shi, Qiufeng Wang, and Chao Liang. 2026. BiRD: A Bidirectional Ranking Defense Mechanism for Retrieval Augmented Generation. doi:10.48550/arXiv.2605.20123 arXiv:2605.20123.
[6] Aaron Grattafori et al. 2024. The Llama 3 Herd of Models. doi:10.48550/arXiv.2407.21783 arXiv:2407.21783.
[7] Jeongyeon Hwang, Junyoung Park, Hyejin Park, Dongwoo Kim, Sangdon Park, and Jungseul Ok. 2025. Retrieval-Augmented Generation with Estimation of Source Reliability. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Suzhou, China, 34279–34303. doi:10.18653/v1/2025.emnlp-main.1738
[8] Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. 2022. Unsupervised Dense Information Retrieval with Contrastive Learning. Transactions on Machine Learning Research (2022). https://openreview.net/forum?id=jKN1pXi7b0
[9] Gautier Izacard and Edouard Grave. 2021. Leveraging Passage Retrieval with Generative Models for Open Domain Question Answering. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume. Association for Computational Linguistics, Online, 874–880. doi:10.18653/v1/2021.eacl-main.74
[10] Weifei Jin, Xilong Wang, Wei Zou, Jinyuan Jia, and Neil Gong. 2026. CleanBase: Detecting Malicious Documents in RAG Knowledge Databases. doi:10.48550/arXiv.2605.00460 arXiv:2605.00460.
[11] Zhuoran Jin, Pengfei Cao, Yubo Chen, Kang Liu, Xiaojian Jiang, Jiexin Xu, Qiuxia Li, and Jun Zhao. 2024. Tug-of-War between Knowledge: Exploring and Resolving Knowledge Conflicts in Retrieval-Augmented Language Models. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024). ELRA and ICCL, Torino, Italia, 16867–16878. https://aclanthology.org/2024.lrec-main.1466/
[12] Zhuoran Jin, Pengfei Cao, Hongbang Yuan, Yubo Chen, Jiexin Xu, Huaijun Li, Xiaojian Jiang, Kang Liu, and Jun Zhao. 2024. Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Models. In Findings of the Association for Computational Linguistics: ACL 2024. Association for Computational Linguistics, Bangkok, Thailand, 1193–1215. doi:10.18653/v1/2024.findings-acl.70
[13] Nikhil Kandpal, Haikang Deng, Adam Roberts, Eric Wallace, and Colin Raffel. 2023. Large Language Models Struggle to Learn Long-Tail Knowledge. In Proceedings of the 40th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 202). PMLR, 15696–15707. https://proceedings.mlr.press/v202/kandpal23a.html
[14] Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020. Dense Passage Retrieval for Open-Domain Question Answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Online, 6769–6781. doi:10.18653/v1/2020.emnlp-main.550
[15] Anant Khandelwal, Manish Gupta, and Puneet Agrawal. 2025. CoCoA: Confidence- and Context-Aware Adaptive Decoding for Resolving Knowledge Conflicts in Large Language Models. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Suzhou, China, 6835–6855. doi:10.18653/v1/2025.emnlp-main.348
[16] Evgenii Kortukov, Alexander Rubinstein, Elisa Nguyen, and Seong Joon Oh. 2024. Studying Large Language Model Behaviors Under Context-Memory Conflicts With Real Documents. In First Conference on Language Modeling. https://openreview.net/forum?id=xm8zYRfrqE arXiv:2404.16032.
[17] Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. 2019. Natural Questions: A Benchmark for Question Answering Research. Transactions of the Association for Computational Linguistics 7 (2019), 452–466. doi:10.1162/tacl_a_00276
[18] Donghyun Lee and Juntae Kim. 2026. A Failure-Mode Benchmark for Polymorphic Sybil Poisoning in RAG. doi:10.48550/arXiv.2607.03739 arXiv:2607.03739.
[19] Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. 2020. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. In Advances in Neural Information Processing Systems, Vol. 33. 9459–9474. https://proceedings.neurips.cc/paper_files/paper/2020/hash/6b493230205f780e1bc26945df7481e5-Abstract.html
[20] Gaotang Li, Yuzhong Chen, and Hanghang Tong. 2025. Taming Knowledge Conflicts in Language Models. In Proceedings of the 42nd International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 267). PMLR, 34074–34104. https://proceedings.mlr.press/v267/li25c.html
[21] Shayne Longpre, Kartik Perisetla, Anthony Chen, Nikhil Ramesh, Chris DuBois, and Sameer Singh. 2021. Entity-Based Knowledge Conflicts in Question Answering. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Online and Punta Cana, Dominican Republic, 7052–7063. doi:10.18653/v1/2021.emnlp-main.565
[22] Alex Mallen, Akari Asai, Victor Zhong, Rajarshi Das, Daniel Khashabi, and Hannaneh Hajishirzi. 2023. When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, Toronto, Canada, 9802–9822. doi:10.18653/v1/2023.acl-long.546
[23] Qwen Team. 2026. Qwen3.5-9B Model Card. Hugging Face. https://huggingface.co/Qwen/Qwen3.5-9B
[24] Stephen E. Robertson and Hugo Zaragoza. 2009. The Probabilistic Relevance Framework: BM25 and Beyond. Foundations and Trends in Information Retrieval 3, 4 (2009), 333–389. doi:10.1561/1500000019
[25] Keshav Santhanam, Omar Khattab, Jon Saad-Falcon, Christopher Potts, and Matei Zaharia. 2022. ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interaction. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. Association for Computational Linguistics, Seattle, United States, 3715–3734. doi:10.18653/v1/2022.naacl-main.272
[26] Wei She, Zikai Dong, Yongkang Yang, Zhao Tian, Wei Liu, and Defeng Kong. 2026. GHP: Hardening Graph-Based Reranking Defense for Poisoned Retrieval-Augmented Generation. Concurrency and Computation: Practice and Experience 38, 13 (2026). doi:10.1002/cpe.70824
[27] Zeyu Shen, Basileal Imana, Tong Wu, Chong Xiang, Prateek Mittal, and Aleksandra Korolova. 2025. ReliabilityRAG: Effective and Provably Robust Defense for RAG-based Web-Search. In Advances in Neural Information Processing Systems, Vol. 38. https://proceedings.neurips.cc/paper_files/paper/2025/hash/41457d56a2fdd20b4c072190290a549b-Abstract-Conference.html
[28] Weijia Shi, Xiaochuang Han, Mike Lewis, Yulia Tsvetkov, Luke Zettlemoyer, and Wen-tau Yih. 2024. Trusting Your Evidence: Hallucinate Less with Context-aware Decoding. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 2: Short Papers). Association for Computational Linguistics, Mexico City, Mexico, 783–791. doi:10.18653/v1/2024.naacl-short.69
[29] Xiaonan Si, Meilin Zhu, Simeng Qin, Lijia Yu, Lijun Zhang, Shuaitong Liu, Xinfeng Li, Ranjie Duan, Yang Liu, and Xiaojun Jia. 2025. SeConRAG: A Two-Stage Semantic Filtering and Conflict-Free Framework for Trustworthy RAG. In Advances in Neural Information Processing Systems, Vol. 38. https://proceedings.neurips.cc/paper_files/paper/2025/hash/668563ef18fbfef0b66af491ea334d5f-Abstract-Conference.html
[30] Xue Tan, Hao Luan, Mingyu Luo, Xiaoyan Sun, Ping Chen, and Jun Dai. 2025. RevPRAG: Revealing Poisoning Attacks in Retrieval-Augmented Generation through LLM Activation Analysis. In Findings of the Association for Computational Linguistics: EMNLP 2025. Association for Computational Linguistics. https://aclanthology.org/2025.findings-emnlp.698/ arXiv:2411.18948.
[31] Xue Tan, Yi Zheng, Chang Huo, Yunruo Zhang, Yu Liu, Hao Luan, Zhuyang Yu, Jun Dai, Xiaoyan Sun, and Ping Chen. 2026. PRA-RAG: Provably Robust Aggregation in Retrieval-Augmented Generation against Retrieval Corruption. In Findings of the Association for Computational Linguistics: ACL 2026. Association for Computational Linguistics, San Diego, California, United States, 36002–36017. doi:10.18653/v1/2026.findings-acl.1794
[32] Fei Wang, Xingchen Wan, Ruoxi Sun, Jiefeng Chen, and Sercan Ö. Arik. 2025. Astute RAG: Overcoming Imperfect Retrieval Augmentation and Knowledge Conflicts for Large Language Models. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, Vienna, Austria, 30553–30571. doi:10.18653/v1/2025.acl-long.1476
[33] Han Wang, Archiki Prasad, Elias Stengel-Eskin, and Mohit Bansal. 2025. AdaCAD: Adaptively Decoding to Balance Conflicts between Contextual and Parametric Knowledge. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers). Association for Computational Linguistics, Albuquerque, New Mexico, 11636–11652. doi:10.18653/v1/2025.naacl-long.581
[34] Han Wang, Archiki Prasad, Elias Stengel-Eskin, and Mohit Bansal. 2025. Retrieval-Augmented Generation with Conflicting Evidence. In Second Conference on Language Modeling. https://openreview.net/forum?id=z1MHB2m3V9arXiv:2504.13079.
[35] Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, and Furu Wei. 2022. Text Embeddings by Weakly-Supervised Contrastive Pre-training. doi:10.48550/arXiv.2212.03533 arXiv:2212.03533.
[36] Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le, Ed H. Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. 2023. Self-Consistency Improves Chain of Thought Reasoning in Language Models. In The Eleventh International Conference on Learning Representations. https://openreview.net/forum?id=1PL1NIMMrw arXiv:2203.11171.
[37] Chong Xiang, Tong Wu, Zexuan Zhong, David Wagner, Danqi Chen, and Prateek Mittal. 2026. Certifiably Robust RAG against Retrieval Corruption. In 4th IEEE Conference on Secure and Trustworthy Machine Learning (SaTML 2026). https://satml.org/2026/program/ arXiv:2405.15556.
[38] Jian Xie, Kai Zhang, Jiangjie Chen, Renze Lou, and Yu Su. 2024. Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflicts. In The Twelfth International Conference on Learning Representations. https://openreview.net/forum?id=auKAUJZMO6 arXiv:2305.13300.
[39] Rongwu Xu, Zehan Qi, Zhijiang Guo, Cunxiang Wang, Hongru Wang, Yue Zhang, and Wei Xu. 2024. Knowledge Conflicts for LLMs: A Survey. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Miami, Florida, USA, 8541–8565. doi:10.18653/v1/2024.emnlp-main.486
[40] Shi-Qi Yan, Jia-Chen Gu, Yun Zhu, and Zhen-Hua Ling. 2024. Corrective Retrieval Augmented Generation. doi:10.48550/arXiv.2401.15884 arXiv:2401.15884.
[41] An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, Junyang Lin, Kai Dang, Keming Lu, Keqin Bao, Kexin Yang, Le Yu, Mei Li, Mingfeng Xue, Pei Zhang, Qin Zhu, Rui Men, Runji Lin, Tianhao Li, Tianyi Tang, Tingyu Xia, Xingzhang Ren, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yu Wan, Yuqiong Liu, Zeyu Cui, Zhenru Zhang, and Zihan Qiu. 2024. Qwen2.5 Technical Report. arXiv preprint arXiv:2412.15115 (2024). doi:10.48550/arXiv.2412.15115
[42] Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W. Cohen, Ruslan Salakhutdinov, and Christopher D. Manning. 2018. HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Brussels, Belgium, 2369–2380. doi:10.18653/v1/D18-1259
[43] Ori Yoran, Tomer Wolfson, Ori Ram, and Jonathan Berant. 2024. Making Retrieval-Augmented Language Models Robust to Irrelevant Context. In The Twelfth International Conference on Learning Representations. https://proceedings.iclr.cc/paper_files/paper/2024/hash/8011b23e1dc3f57e1b6211ccad498919-Abstract-Conference.html arXiv:2310.01558.
[44] Tian Yu, Shaolei Zhang, and Yang Feng. 2024. Truth-Aware Context Selection: Mitigating Hallucinations of Large Language Models Being Misled by Untruthful Contexts. In Findings of the Association for Computational Linguistics: ACL 2024. Association for Computational Linguistics, Bangkok, Thailand, 10862–10884. doi:10.18653/v1/2024.findings-acl.645
[45] Baolei Zhang, Haoran Xin, Minghong Fang, Zhuqing Liu, Biao Yi, Tong Li, and Zheli Liu. 2025. Traceback of Poisoning Attacks to Retrieval-Augmented Generation. In Proceedings of the ACM Web Conference 2025. ACM, Sydney, NSW, Australia, 2085–2097. doi:10.1145/3696410.3714756
[46] Ruizhe Zhang, Yongxin Xu, Yuzhen Xiao, Runchuan Zhu, Xinke Jiang, Xu Chu, Junfeng Zhao, and Yasha Wang. 2025. KnowPO: Knowledge-Aware Preference Optimization for Controllable Knowledge Selection in Retrieval-Augmented Language Models. Proceedings of the AAAI Conference on Artificial Intelligence 39, 24 (2025), 25895–25903. doi:10.1609/aaai.v39i24.34783
[47] Jingjie Zheng, Aryo Pradipta Gema, Giwon Hong, Xuanli He, Pasquale Minervini, Youcheng Sun, and Qiongkai Xu. 2025. GRADA: Graph-based Reranking against Adversarial Documents Attack. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Suzhou, China, 22244–22266. doi:10.18653/v1/2025.emnlp-main.1132
[48] Huichi Zhou, Kin-Hei Lee, Zhonghao Zhan, Yue Chen, Zhenhao Li, Zhaoyang Wang, Hamed Haddadi, and Emine Yilmaz. 2025. TrustRAG: Enhancing Robustness and Trustworthiness in Retrieval-Augmented Generation. doi:10.48550/arXiv.2501.00879 arXiv:2501.00879.
[49] Wei Zou, Runpeng Geng, Binghui Wang, and Jinyuan Jia. 2025. PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models. In 34th USENIX Security Symposium (USENIX Security 25). USENIX Association, Seattle, WA, USA, 3827–3844. https://www.usenix.org/conference/usenixsecurity25/presentation/zou-poisonedrag
Table 2: HotpotQA results on exposed rows (one seed); both matchers run over the same rows and are non-exclusive (see setup), so the two columns need not sum to one.
| Method | Pois. Acc | (unk.) | |
|---|---|---|---|
| Vanilla RAG | 0.281 | 0.735 | 0.756 |
| RobustRAG | 0.286 | 0.751 | 0.762 |
| CAD | 0.286 | 0.764 | 0.794 |
| CoCoA | 0.328 | 0.722 | 0.772 |
| TrustRAG-S1 | 0.290 | 0.429 | 0.404 |
| CoordGuard-AF (e5) | 0.284 | 0.309 | 0.242 |
Table 3: Corpus-indexed end-to-end (NQ-Qwen, e5 auditor, four regenerated retrieval seeds; attack passages in the BM25 corpus; 3,017 exposed rows, exposure 0.766, majority rate 0.199). Clean columns from a poison-free dump; Q gates are benign-calibrated quantiles (intervening on 37/32/28% of attacked and 20/15/10% of benign queries at Q=0.80/0.85/0.90).
| Method | Clean | Pois. Acc | |
|---|---|---|---|
| Vanilla RAG | 0.325 | 0.211 | 0.513 |
| RobustRAG / ReliabilityRAG | 0.216 | 0.175 | 0.417 |
| CoordGuard-AF (e5) | 0.192 | 0.191 | 0.178 |
| CoordGuard-G (Q=0.80) | 0.291 | 0.206 | 0.333 |
| CoordGuard-G (Q=0.85) | 0.298 | 0.211 | 0.349 |
| CoordGuard-G (Q=0.90) | 0.307 | 0.213 | 0.365 |
Table 4: Count-matched selection (NQ-Qwen, e5, four retrieval seeds). Every row removes CoordGuard's per-query passage count on the matched subset; the all-exposed headline 0.167 additionally pools the no-component rows where every rule is a no-op, so matched-subset is lower.
| Selection | Det-all ↑ | Clean ↑ | |
|---|---|---|---|
| Anchor only | 0.128 [0.109,0.148] | 0.847 | 0.179 |
| Largest component | 0.144 [0.123,0.165] | 0.820 | 0.191 |
| Density only | 0.156 [0.134,0.178] | 0.795 | 0.196 |
| CoordGuard (Φ) | 0.138 [0.118,0.160] | 0.830 | 0.192 |
| Similarity contribution | 0.179 [0.156,0.201] | 0.747 | 0.221 |
| Lowest relevance | 0.571 [0.542,0.601] | 0.019 | 0.329 |
| Random | 0.469 [0.442,0.497] | 0.207 | 0.246 |
A Empirical separability across auditor embeddings
Across seven auditor embeddings, query-level poison-benign separation spans (Figure 7c). Passage discrimination and query-level separation are not monotone because stronger spaces may tighten both adversarial and benign co-relevant components. A multi-statistic logistic gate adds only 0.003 AUC without interactions and 0.015 with interactions. These values are protocol-specific, not a theoretical ceiling. AF does not require per-query classification; it instead pays clean-accuracy cost by intervening on benign queries.
Tables 2–6 report main-text results (the HotpotQA headline, corpus-indexed end-to-end comparison, count-matched selection, adaptive stress tests, and premise-splitting) placed in this appendix for space. Figure 7 condenses the attack-success landscape: panel (a) places every evaluated method against the five settings (gray cells: not evaluated under that protocol; CAD and CoCoA use method-specific decoding, so their cells are descriptive), panel (b) the stratification by realized poison occupancy, and panel (c) auditor separability across the seven embedding spaces.
Li et al.

Figure 7: Attack-success landscape and auditor separability. (a) by method and setting (NQ four-seed; others transfer or independently regenerated runs); gray: not evaluated; blue is better. (b) by realized poison occupancy. (c) Auditor separability across seven embedding spaces.
Table 5: Attack stress tests; protocols differ across rows (no common adaptive leaderboard). The gate-aware row uses 937 exposed queries.
| Setting | Geometry diagnostic | Reader outcome |
|---|---|---|
| Standard Paraphrased | gap +0.174; AUC 0.804gap +0.266; AUC 0.926 | e5 AF |
| Low coordination Retrieval optimized | gap +0.109; AUC 0.690AUC 0.855 | vanilla 0.550; defended 0.290optimization increases detectability |
| Gate-aware | gate | |
| Multi-objective | undef 0.59 → 0.74 | (two seeds) |
Table 6: Premise-splitting stress (NQ–Qwen, e5 AF, four retrieval seeds, 1,000 queries/seed). PS-2: three injections assert one target via mutually divergent support; PS-1: each injection a different wrong answer. PS-1 conditions on the per-query stored wrong answer (a lower bound; no shared target exists); the geometry columns remain well-defined.
| Condition | van ASR | CG-AF ASR | ||
|---|---|---|---|---|
| Coordinated (base) | 0.558 [0.540,0.576] | 0.151 [0.140,0.163] | 0.950 | 0.921 |
| Premise-split (PS-2) | 0.678 [0.659,0.698] | 0.144 [0.131,0.158] | 1.010 | 0.945 |
| Answer-split (PS-1) | 0.356 | 0.095 | 1.056 | 0.944 |
B Baseline implementation details
RobustRAG (plurality vote over isolated per-passage answers) and ReliabilityRAG (the maximum independent set of an answer-mismatch contradiction graph, the largest same-answer cluster) share one greedy isolated-answer protocol; under binary answer agreement the MIS is the plurality set, so both return identical predictions row-by-row (zero disagreements over all evaluated rows), explaining their shared values in Table 1 and Figure 7b. ReliabilityRAG's full graded reliability scores would diverge under long-form answers, which our short-answer protocol does not exercise; we keep the rows distinct.
C Metric decomposition: the both-string rate
Decomposing the two headline matchers into mutually exclusive buckets on the HotpotQA exposed rows of an independent regeneration (998 rows; vanilla and e5 AF 0.306, within 1–2 points of the headline HotpotQA run) yields Pois.Acc +
Table 7: Recovery after always-filtering (NQ–Qwen, e5, four retrieval seeds; vanilla-hijacked rows, n=1,945 pooled). “none”=AF only; “relevance”=refill from poison-free deeper BM25 ranks; “counter”=repulsive score; “random”=random backfill. GOLD/HIJACK (= ASR here)/DRIFT/ABSTAIN decompose the rows (rows sum to one); intervals are cross-seed 95% t (df=3).
| Backfill | GOLD | HIJACK (ASR) | DRIFT | ABSTAIN |
|---|---|---|---|---|
| none (AF only) | 0.210 [1.193, 2.27] | 0.122 [1.108, 1.136] | 0.608 | 0.060 |
| relevance | 0.402 [3.779, 4.25] | 0.083 [0.052, 0.114] | 0.501 | 0.014 |
| counter (repulsive) | 0.231 [2.209, 2.53] | 0.094 [0.087, 0.101] | 0.625 | 0.050 |
| random | 0.237 [2.120, 2.64] | 0.107 [0.097, 0.117] | 0.602 | 0.053 |
both – neither. Methods whose predictions contain gold and target simultaneously (both ≈ 0.22 for all answer-level methods: vanilla 0.219, CAD 0.216, RobustRAG/ReliabilityRAG 0.222, MMR 0.219, cosine dedup 0.210) sit above one exactly when they exceed the truly-neither rate (0.193–0.255). CoordGuard-AF pushes most rows to neither (0.557; both 0.140), which is why its columns never approach summing to one; CAD and the aggregation baselines land within ±0.03 of zero on HotpotQA, and on the headline CAD HotpotQA run (Section 4.1) the same both-string mechanism is what pushed Pois.Acc + ASR to 1.05.
D Oracle-free clean recovery remains unresolved
A knowability router answers closed-book when the query is parametrically known and filters otherwise. On one NQ seed, an oracle router reaches poisoned accuracy 0.282 versus CoordGuard-AF's 0.216 (a 6.6-point gain) at and clean 0.277, but routes of queries to parametric; thresholds on mean closed-book log-probability or self-consistency route only and of queries and reach just 0.218 and 0.219 poisoned accuracy, with no recovery. Mean log-probability is lower on knowable than unknown queries (-4.79 vs. -3.67); self-consistency separates them better (0.89 vs. 0.67 mode fraction) but still insufficiently.
Capping (retain one component medoid) reaches clean 0.277 at and refill (draw from a deeper ranking) clean 0.320 at 0.453; both resurface poison, since a medoid can preserve the target and deeper retrieval holds coalition-resembling passages; random backfill reaches clean 0.301 at 0.427, while an oracle removing true poison reaches clean 0.328 at 0.068. These heuristics do not close the gap, without implying oracle-free recovery is impossible.
E Scale sweeps
For , gives vanilla 0.531/0.543/0.524 vs CoordGuard 0.292/0.179/0.204; at , gives vanilla 0.506/0.543/0.557 vs CoordGuard 0.165/0.179/0.383. CoordGuard stays below vanilla in this finite sweep though it degrades when every passage may be poisoned; no asymptotic claim is made.
Extending the pool to (BM25 top-100, one regenerated seed, 982 exposed rows) strengthens detection (vanilla , RobustRAG 0.205, CoordGuard-AF 0.103), and the concentration signal grows faster than benign co-relevance, though at the cost of aggressiveness, as every query forms a component (mean removal 15.8 of 20), so always-filtering drives clean accuracy to 0.121 versus 0.204 vanilla, and the benign-calibrated gate is deployable at large .
Threshold and normalization stability. On an independent four-seed regeneration of the NQ protocol (whose point, AF 0.152 at clean 0.206, reproduces the headline 0.167/0.192 within regeneration noise, itself a replication check), sweeping and the normalization shows no sharp cliff; moves monotonically from 0.116 ( , MAD) to 0.190 ( ), clean accuracy stays within 0.198–0.212 (MAD) and 0.202–0.228 (z), and z matches MAD at equal to within 0.5 points at the operating point (0.118 vs 0.152 at clean 0.228). On the same dumps the conformal threshold intervenes on 50% of attacked and 10% of benign queries for the anchored score, reproducing the main-text 51%/10% operating point, while the anchor-free score reaches only 43% at the same benign rate, the distribution-level counterpart of its weaker frontier in Figure 6c.
F Verbatim attack-generation prompts
The headline coordinated condition generates all three passages in one deterministic call from the template (n=3; a is the sampled wrong answer, q the question; \n marks a newline): “Write {n} short encyclopedia-style passages (2-3 sentences each). Number them 1..{n} on separate lines. EVERY passage must state that the answer to the question is ‘{a}’. Keep them factual-sounding and all clearly supporting the answer ‘{a}’. \nQuestion: {q}\nPassages:” The target a is sampled first (temperature 0.7, top-p 0.95) with the prompt “Give a plausible-sounding but INCORRECT short answer (a few words) to the question. It must be factually wrong. Reply with only the wrong answer.\nQuestion: {q}\nWrong answer:”. Stress variants use separate templates: diverse samples each passage independently with a distinct phrasing variant; PS-2 supports one target through mutually incompatible invented evidence (an “angle {v}” per passage); PS-1 gives each passage its own wrong answer. The reader is prompted with “Answer the question with the short answer only (a few words), no explanation”; on the Qwen3.5 reader, thinking mode is disabled for this interface.
G Ethical considerations and responsible release
Experiments use public benchmarks and isolated offline corpus copies; no private data, human subjects, or production service is involved. The work is dual-use (its stress tests could inform stronger poisoning), so a responsible release should remove credentials and deployment-specific targets and state that geometry is an audit signal, not a factual verifier. The full pipeline is prepared as an anonymized code snapshot; the independently regenerated protocols reproduce the main-text headline within 1–2 points (e.g., NQ vanilla 0.555/AF 0.152 vs headline 0.576/0.167).