RobustVisRAG: Causality-Aware Vision-Based Retrieval-Augmented Generation under Visual Degradations

I-Hsiang Chen, Yu-Wei Liu, Tse-Yu Wu, Yu-Chien Chiang, Jen-Chien Yang, Wei-Ting ChenarXiv 2026

TL;DR

RobustVisRAG introduces a causality-guided dual-path architecture to protect vision-based Retrieval-Augmented Generation (VisRAG) systems from real-world document distortions like blur, noise, and poor lighting. By explicitly disentangling semantic content from visual degradation during training, it significantly boosts both retrieval and generation performance on corrupted images with zero added computational overhead at inference time.

What Problem Does This Paper Address?

Standard text-based RAG pipelines rely heavily on Optical Character Recognition (OCR) to parse documents before retrieval. This process frequently fails when dealing with complex layouts (like charts or tables) or visually degraded documents. To fix this, recent state-of-the-art systems use Vision-Based RAG (VisRAG), which feeds document images directly into Vision-Language Models (VLMs).

However, VisRAG has a glaring vulnerability: real-world documents are rarely pristine. They suffer from motion blur, low resolution, shadows, and bad lighting. When a standard VLM encounters these distortions, its visual encoder gets confused. The semantic meaning of the document and the visual noise become "entangled" in the latent space. This causes a dual-failure mode—the system retrieves the wrong documents, and even if it happens to find the right ones, the generator struggles to produce an accurate answer.

Figure 1. Illustration of RobustVisRAG’s capabilities. (a) Re- trieval performance under clean, synthetic degradation (Degrade- Syn) and real-degradation (Degrade-Real) scenarios. (b) Genera- tion performance using the retrieved documents from RobustVis- RAG as input. (c)(d) End-to-end retrieval–generation performance on clean and degraded data, evaluated under the same baselines including VisRAG, its fine-tuned variants (VisRAG-FT) [45], and a Two-Stage restoration pipeline [42]. Across all settings, both TextRAG and VisRAG show notable performance drops under de- graded inputs, whereas RobustVisRAG preserves clean accuracy and significantly improves robustness in degraded conditions.

Methods

The authors propose RobustVisRAG, a framework rooted in Structural Causal Models (SCMs) designed to explicitly separate what a document means (semantics) from how it looks (degradation).

The core architecture consists of a causality-guided dual-path visual encoder:

  1. The Non-Causal Path: This path introduces a unique "non-causal token" at the input layer. Using a unidirectional attention mask, this token is allowed to look at all the image patch tokens to aggregate degradation cues, but the patch tokens are blocked from looking back at it. This prevents visual noise from leaking into the main text representations.
  2. The Causal Path: This path processes the standard image patch tokens via bidirectional attention, focusing purely on extracting clean semantic information.
The structural causal model vs. the vanilla VisRAG pipeline and the proposed RobustVisRAG dual-path architecture.

To force these two paths to do their jobs, the authors introduce two distinct training objectives:

  • Non-Causal Distortion Modeling (NCDM): A contrastive loss function that forces the non-causal path to cluster representations of similar distortions together, making the model highly aware of the specific type of degradation.
  • Causal Semantic Alignment (CSA): A loss function that minimizes the distance between the semantic embeddings of a degraded image and its clean counterpart, while maximizing their statistical independence from the degradation token.

The best part? At inference time, the non-causal path is completely discarded. The downstream retriever and generator only receive the purified semantic embeddings, meaning the model delivers robustness with zero additional inference cost.

Datasets

To properly train and benchmark this approach, the authors introduced the Distortion-VisRAG (DVisRAG) dataset. It spans 367,608 question-document pairs across seven document-understanding domains (including scientific papers, charts, forms, slides, and handwritten notes) and is split into two parts:

  • Synthetic Degradation Dataset: Built by applying 12 common digital distortions (blur, pixel noise, color shifts) at 5 different severity levels to the original VisRAG dataset.
  • Real Degradation Dataset: A highly practical testing set of 1,891 pairs. The authors physically printed documents and photographed them using a DSLR camera under controlled real-world adversities, such as actual low light, physical paper damage, and ambient shadows.

Key Insights and Ideas

  • Latent Disentanglement > Image Restoration: An intuitive way to handle bad images is to use an off-the-shelf image restoration model first. However, the authors show that these two-stage pipelines often introduce artificial artifacts or smooth out fine textual details, which actually hurts VLM performance. Fixing the features inside the latent space is much more effective than trying to "fix" the pixels.
  • Asymmetric Attention as a Causal Shield: By structurally restricting the direction of attention, the model creates a one-way valve. The degradation token can observe the semantics to isolate the noise, but the semantic tokens remain blissfully unaware of the noise.
  • Clearer Latent Clustering: As shown via t-SNE visualizations, combining NCDM and CSA objectives forces the model to form distinct, compact clusters for different distortion types in the non-causal space, which directly correlates with cleaner semantic extraction in the causal space.
Visualizations showing that RobustVisRAG maintains focus on semantically relevant regions (top) and achieves clean clustering of degradation types via t-SNE (bottom).

Key Results

  • Retrieval Boost: RobustVisRAG improved Mean Reciprocal Rank (MRR@10) by 7.35% on real-world degraded documents compared to vanilla VisRAG, outperforming adversarial training alternatives.
  • Generation Accuracy: Under the "Oracle" setting (where the model is given the correct document), generation accuracy on real-world degraded documents saw a 6.35% improvement, even outperforming commercial heavyweights like GPT-4o by 10.42%.
  • End-to-End Excellence: For the full pipeline (retrieval + generation), RobustVisRAG achieved a massive 12.40% absolute accuracy jump on real-world degraded data while maintaining completely identical performance on clean data.

Limitations and Future Work

While RobustVisRAG successfully mitigates visual noise, the authors note that the retrieval and generation encoders are still trained as separate modules. A fully unified, end-to-end causal training paradigm could streamline the pipeline further. Additionally, extending this causality-aware framework to video-based RAG or highly dynamic streaming environments remains an open challenge.

Summary updated

BibTeX
@misc{chen2026robustvisrag,
  author = {I-Hsiang Chen and Yu-Wei Liu and Tse-Yu Wu and Yu-Chien Chiang and Jen-Chien Yang and Wei-Ting Chen},
  title = {{RobustVisRAG: Causality-Aware Vision-Based Retrieval-Augmented Generation under Visual Degradations}},
  year = {2026},
  eprint = {2602.22013},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.22013},
}
Figure