cs.CLSep 16, 2026

The Temporal Tug-of-War: Visualizing and Detecting RAG Conflicts in Diffusion Models via Trajectory Variance

Authors: Sravan Karthick T, Pranav Darshan, Pranav A, Minal Moharir, Ivan P. Yamshchikov

Organizations: Department of Computer Science and Engineering, R.V. College of Engineering, India · CAIRO, Technical University of Applied Sciences Würzburg-Schweinfurt, Germany

Abstract

Retrieval-Augmented Generation (RAG) introduces a specific failure mode in discrete diffusion language models: when retrieved context contradicts parametric knowledge, the iterative denoising process becomes a visible battleground between competing knowledge sources. We identify temporal semantic divergence as an observable for detecting these conflicts and introduce the Trajectory Variance Score (TVS), a simple and interpretable measure of this divergence. TVS computes the mean pairwise cosine distance of answer embeddings across independent stochastic denoising trajectories, capturing the temporal tug of war between parametric and contextual attractors. Requiring as few as two parallel inference runs, TVS is computationally lightweight. Across four diverse datasets (Synthetic, SciQ, PopQA, and CounterFact), a simple Logistic Regression classifier using TVS achieves 70.10%70.10\% accuracy and 0.76470.7647 AUROC on LLaDA. On Dream 7B, increasing the number of trajectories from two to five improves accuracy from 63.91%63.91\% to 69.62%69.62\%. More complex sequential models provide only marginal improvements over the linear classifier. Evaluation across LLaDA and Dream 7B demonstrates that conflict-induced trajectory dynamics and their key properties transfer across distinct diffusion architectures.

Figures & tables

Explore similar work

CardsList
  1. ConflictRAG: Detecting and Resolving Knowledge Conflicts in Retrieval Augmented Generation

    May 17, 2026Chenyu Wang, Yueyuan Li, Yingmin Liu +1Retrieval-Augmented GenerationKnowledge Conflicts in Language Models

  2. EvoTrustRAG: Evolution-Aware Conflict Attribution and Evidence Handling for Reliable Retrieval-Augmented Generation

    Aug 8, 2026Xi Nie, Hongwei Li, Shenghao Wu +3Retrieval-Augmented GenerationKnowledge Conflicts in Language Models

  3. Does RAG Know When Retrieval Is Wrong? Diagnosing Context Compliance under Knowledge Conflict

    May 14, 2026Yihang Chen, Pin Qian, Su Wang +4Retrieval-Augmented GenerationKnowledge Conflicts in Language Models