Regime-Aware Peer Specialization for Robust RAG under Heterogeneous Knowledge Conflicts

Bo Wang, Heyan Huang, Yaolin Li, Yanghao Zhou, Jiahao Teng, Ziyi Yang, Ge Shi, Chong FengarXiv 2026

TL;DR

Retrieval-augmented generation (RAG) systems often fail when retrieved documents contradict a language model's internal knowledge. To solve this, the authors introduce RAPS-DA, a framework that trains specialized "peer" teachers for different conflict types (Grounding, Arbitration, and Resistance) and distills their expertise into a single student model. This approach achieves state-of-the-art robustness across multiple knowledge-conflict scenarios without adding any computational overhead or requiring category labels at inference time.

What Problem Does This Paper Address?

While RAG helps ground large language models (LLMs) in external evidence, it introduces a major vulnerability: knowledge conflict. Retrieved documents can be outdated, noisy, or intentionally adversarial, forcing the model into a trust–resistance dilemma.

Figure 1: Motivation for regime-aware peer specialization. (a) Contextual-knowledge reliability is modeled as a continuous spectrum and partitioned into three regimes—Resistance (R, low reliabil- ity), Arbitration (A, medium), and Grounding (G, high)—each requiring a distinct behavior: PK retention, selective trust, or evidence integration. (b) Per-regime accuracy of representative methods (bars) against the oracle peer specialist upper bound (dashed lines). RAG and Mixed SFT collapse on Resistance; single-teacher OPD (OPCD) improves over them but still falls well short of the ora- cle across all regimes. RAPS-DA substantially narrows this gap without requiring regime labels at inference.

The core issue is that context reliability is a spectrum, not a binary choice. As shown in Figure 1, conflicts span three distinct regimes:

  1. Grounding (High Reliability): Factual context that the model should faithfully integrate.
  2. Arbitration (Medium Reliability): Mixed-quality or conflicting context requiring selective trust.
  3. Resistance (Low Reliability): Adversarial or false context that the model must reject.

Existing training methods treat knowledge conflict as a single homogeneous problem. When a single model is trained on all regimes simultaneously, it receives contradictory gradient updates (e.g., "trust the context" vs. "reject the context"), leading to systemic underfitting across the entire spectrum.

Methods

To disentangle these conflicting learning signals, the authors propose RAPS-DA (Regime-Aware Peer Specialization with Difficulty Annealing). The framework operates at two granularities during training:

Overview of the RAPS-DA framework pipeline.

1. Sample-Level: Regime-Routed Peer Supervision

Instead of a single generalist teacher, RAPS-DA fine-tunes three separate, same-scale "peer specialists" from a shared base model—one for each reliability regime. During training, each sample is hard-routed to its corresponding peer specialist. The student model then learns via on-policy reverse-KL distillation, which exposes the student to its own generation mistakes while receiving targeted, regime-specific corrections.

2. Token-Level: Conflict-Aware Selection & Difficulty Annealing

Not all tokens provide equal learning value. RAPS-DA uses a dual-layer token selector driven by three diagnostic signals: inter-teacher conflict, student-teacher gap, and student entropy.

  • Hard Masking: Filters out uninformative tokens (where the student is already aligned with the teacher) or highly unstable tokens.
  • Soft Weighting: Prioritizes "confident-but-wrong" tokens, ensuring the model focuses on its critical blind spots.
  • Difficulty Annealing: Rather than focusing only on hard tokens from the start, RAPS-DA uses a curriculum schedule. It begins with broad token coverage to build a stable foundation and progressively narrows its focus to high-conflict tokens as training progresses.

Crucially, all peer specialists and routing mechanisms exist only during training. The final deployed student model runs completely standalone, requiring no regime labels or peer access at inference time.

Datasets

The framework was evaluated using the following datasets:

  • In-Distribution: The Knowledgeable-R1 (KR1) benchmark, which contains five distinct conflict scenarios: S1 (correct context), S2 (adversarial), S3 (self-conflicting), S4 (irrelevant), and S5 (partially relevant). These scenarios map directly into the Grounding, Arbitration, and Resistance regimes.
  • Out-of-Distribution (OOD):
  • ConflictQA (PopQA subset): Used to test how well the conflict-resolution policy generalizes to unseen evaluation setups.
  • TruthfulQA: Evaluated in a no-context setting to verify that training for RAG robustness does not erode the model's original parametric knowledge and truthfulness.

Key Insights and Ideas

  • Specialization Over Scaling: Robustness to knowledge conflicts is fundamentally a specialization problem rather than a model capacity problem. Same-scale peer teachers outperform a single larger generalist teacher because they isolate incompatible learning objectives.
  • The Value of the "Easy-to-Hard" Curriculum: The ablation studies proved that exposing the student to the most difficult tokens too early destabilizes optimization. Models require broad distributional coverage early in training to establish regime-consistent foundations.
  • No Robustness Tax: Unlike traditional methods that trade off grounding accuracy to achieve adversarial resistance, RAPS-DA successfully improves performance on both ends of the reliability spectrum simultaneously.

Key Results

The authors evaluated RAPS-DA against prompting, decoding, fine-tuning, and reinforcement learning baselines using Qwen2.5-7B-Instruct and Llama3.1-8B-Instruct backbones.

  • In-Distribution Performance: On the Qwen backbone, RAPS-DA achieved regime accuracy averages of 59.5% (Grounding), 78.6% (Arbitration), and 48.1% (Resistance). This significantly outperformed the state-of-the-art Knowledgeable-R1 baseline by 7.4, 6.6, and 11.2 percentage points, respectively.
  • OOD Generalization: RAPS-DA achieved the highest exact match score on ConflictQA (42.7%) while maintaining a 4.4% score on TruthfulQA, matching the base model and proving that parametric knowledge remains fully intact.

Limitations and Future Work

  • Dependence on Training Labels: RAPS-DA relies on explicit regime labels during the training phase to route samples to the correct peer specialist.
  • Compute Overhead During Training: Calculating the token-level selection signals requires querying all three peer teachers simultaneously, which increases training-time compute (though mitigated by caching and top-K approximations).
  • Future Directions: The authors suggest exploring automated or unsupervised methods to discover and partition reliability regimes directly from raw data, removing the need for predefined benchmark structures.

Summary updated

BibTeX
@misc{wang2026regime,
  author = {Bo Wang and Heyan Huang and Yaolin Li and Yanghao Zhou and Jiahao Teng and Ziyi Yang and Ge Shi and Chong Feng},
  title = {{Regime-Aware Peer Specialization for Robust RAG under Heterogeneous Knowledge Conflicts}},
  year = {2026},
  eprint = {2606.30518},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.30518},
}
Figure