The Temporal Tug-of-War: Visualizing and Detecting RAG Conflicts in Diffusion Models via Trajectory Variance
cs.CL, cs.LG
Submitted: 2026-09-16
Updated: 2026-09-16
Comments: Accepted at the UncertaiNLP Workshop at EMNLP 2026
Code: https://github.com/sravankarthik/temporal-tug-of-war
License: http://creativecommons.org/licenses/by/4.0/
The gist: Retrieval-Augmented Generation (RAG) introduces a specific failure mode in discrete diffusion language models: when retrieved context contradicts parametric knowledge, the iterative denoising process
Terminology
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% accuracy and 0.7647 AUROC on LLaDA. On Dream 7B, increasing the number of trajectories from two to five improves accuracy from 63.91% to 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.
Sources
- Discovering Latent Knowledge in Language Models Without Supervision
- TraceDet: Hallucination Detection from the Decoding Trace of Diffusion Large Language Models
- TDGNet: Hallucination Detection in Diffusion Language Models via Temporal Dynamic Graphs
- CoCoA: Confidence and Context-Aware Adaptive Decoding for Resolving Knowledge Conflicts in Large Language Models
- Adaptive Guidance for Retrieval-Augmented Masked Diffusion Models
- Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generation
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Locating and Editing Factual Associations in GPT
- Large Language Diffusion Models
- Simple and Effective Masked Diffusion Language Models
- OSCAR: Orchestrated Self-verification and Cross-path Refinement
- Simplified and Generalized Masked Diffusion for Discrete Data
- ConflictRAG: Detecting and Resolving Knowledge Conflicts in Retrieval Augmented Generation
- Retrieval-Augmented Generation with Conflicting Evidence
- Crowdsourcing Multiple Choice Science Questions
- Dream 7B: Diffusion Large Language Models
- Unlocking the Potentials of Retrieval-Augmented Generation for Diffusion Language Models
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering