Factual Yet One-Sided: Stance Poisoning and Evidence Balancing in Retrieval-Augmented Generation

Puyuan Yang, Shaoxuan Dong, Liujie Wu, Xiaochun Cheng, Bo LiarXiv 2026

TL;DR

Retrieval-Augmented Generation (RAG) systems are highly susceptible to "stance poisoning"—a subtle attack where an adversary injects factually correct but one-sided documents to bias a model's output. This paper introduces a Stance-Balancing Middleware that uses a local, lightweight classifier to enforce a balanced "2 pro + 2 con + 1 neutral" evidence diet, effectively neutralizing bias without the cost of additional LLM calls.

What Problem Does This Paper Address?

While RAG is widely used to ground Large Language Models (LLMs) in factual data, it creates a new vulnerability: the model’s "stance" on controversial issues is heavily dictated by the distribution of retrieved materials.

Most research on knowledge poisoning focuses on injecting factual errors. However, this paper tackles a more insidious threat: stance poisoning. In this scenario, an attacker injects documents that are 100% truthful but represent only one side of a debate. Because the individual claims are verifiable, standard fact-checking defenses fail. The authors demonstrate that even a small "poisoning share" (around 18.9%) can monotonically shift the responses of state-of-the-art models from vendors like Anthropic, Google, and Meta toward the attacker's preferred direction.

Methods

The authors propose a Stance-Balancing Middleware positioned between the retriever and the generator. The system operates in three stages:

  1. Stance Detection: A local, task-specific classifier (fine-tuned from roberta-large-mnli) labels retrieved documents as supportive, opposing, or neutral relative to the query. This runs locally to avoid expensive API calls.
  2. Fixed-Quota Selection (2+2+1): Instead of simply passing the top-5 most relevant documents, the middleware re-ranks the top-20 (or up to top-50) candidates to select exactly 2 pro, 2 con, and 1 neutral document.
  3. Debiasing Prompt: A lightweight instruction is appended to the generator's prompt, explicitly telling the model to weigh evidence from both sides equally and reflect disagreement if the issue is genuinely contested.
Figure 1: Overall architecture: the Stance-Balancing Middleware is inserted between the retriever and the generator, with neither endpoint modified.

Datasets

  • Controversial Questions: A new evaluation set of 210 questions across 42 topics (e.g., public policy, technology ethics) where no single "correct" answer exists.
  • Knowledge Base: A subset of the Natural Questions corpus (51,898 documents).
  • Poisoning Corpus: 588 injected documents (294 pro, 294 con) and 420 neutral Wikipedia documents.
  • Human Validation: Two human annotators verified 252 of the injected documents to ensure they contained verifiable claims and a clear one-sided stance.

Key Insights and Ideas

  • Truth is not Neutrality: The most significant "aha" moment is that factuality and bias are orthogonal. A RAG system can be perfectly "faithful" to its sources while still being a vehicle for propaganda if those sources are curated by an attacker.
  • Diversity $\neq$ Balance: The authors compared their method against Maximal Marginal Relevance (MMR), a standard technique for increasing content diversity. They found that while MMR reduces redundancy, it doesn't guarantee stance balance. In fact, MMR sometimes yielded greater stance deviation than the proposed balancing method.
  • Local Models are Sufficient: You don't need a massive LLM to detect stance. A 355M-parameter RoBERTa model achieved a macro-F1 of 0.889, proving that stance detection can be a low-latency, "edge" component of the RAG pipeline.
  • Zero-Call Defense: By performing detection and selection locally, the middleware adds zero cost in terms of LLM API tokens, making it a practical choice for production systems.

Key Results

  • Attack Success: Without defense, all four tested models (Claude-3-Opus, DeepSeek-V4, Gemma-4-31B, Llama-4-Maverick) exhibited significant stance shifts aligned with the poisoning direction.
  • Bias Mitigation: The complete middleware reduced the magnitude of stance deviation by 0.106 to 0.350 across various settings. In many cases, it brought the aggregate stance score back to near-zero (neutrality).
  • Efficiency: On a single GPU, stance detection for 20 candidate documents took only ~89ms, which is roughly 1.5% of the median time it takes for an LLM to generate a response.
  • No Quality Trade-off: When tested on "clean" (unpoisoned) data, the middleware did not harm response quality. In fact, it slightly improved relevance and argument coverage by forcing the model to look at a broader range of perspectives.

Limitations and Future Work

  • Language and Scope: The study was limited to English and one specific retriever (BGE). Future work is needed to see how these results generalize across languages and different retrieval architectures.
  • Evidence Availability: The "2+2+1" quota assumes that at least one document of each stance exists within the top-50 search results. In highly skewed or niche topics, the middleware might fail to find the "missing side."
  • Nuance Beyond Pro/Con: Many controversial issues are multi-faceted rather than binary. Expanding the stance detection to handle more complex rhetorical structures is a suggested next step.
  • Target-Aware Detection: The authors noted some "pro-con confusions" in the classifier, particularly when a document supports a position by attacking the opposite side. Improving target-aware recognition is a key area for future research.

Summary updated

Abstract

The stance expressed in responses from retrieval-augmented generation systems is significantly influenced by the stance distribution of the retrieved materials. Existing research on knowledge poisoning has primarily targeted factual errors. In contrast, this study focuses on injection attacks in which the facts are correct but the stance on a controversial issue is one-sided. At a mean topic-level poisoning share of 18.9% within the post-injection ProCon documents, all four generation models from different vendors exhibited stance shifts aligned with the poisoning direction; across four concentration levels, the shifts increased monotonically. This paper proposes a Stance-Balancing Middleware positioned between the retriever and the generator. It consists of stance detection, fixed balancing (2 supporting + 2 opposing + 1 neutral), and a debiasing prompt, without introducing additional large language model calls. Across all eight concentration-direction settings, the complete method reduced the magnitude of stance deviation by an estimated 0.106 to 0.350; the six settings at poisoning shares of 11.9%-18.9% remained significant after Holm adjustment (adjusted p <= 0.009). In the cross-model experiment, all eight model-direction combinations moved along the stance axis in the corrective direction, and seven of eight showed a clearly detected reduction in absolute distance from 0. In the concentration sweep, the post-defense intervals included 0 in all eight settings, while the cross-model pro-poisoning results retained small positive residual point estimates of +0.045 to +0.063. For 20 candidate documents, stance detection took approximately 1.5% of the median generation time on a single GPU and approximately 16% on CPU.
BibTeX
@misc{yang2026factual,
  author = {Puyuan Yang and Shaoxuan Dong and Liujie Wu and Xiaochun Cheng and Bo Li},
  title = {{Factual Yet One-Sided: Stance Poisoning and Evidence Balancing in Retrieval-Augmented Generation}},
  year = {2026},
  eprint = {2610.34294},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.34294},
}
Figure