VisRAG: Vision-based Retrieval-augmented Generation on Multi-modality Documents

Shi Yu, Chaoyue Tang, Bokai Xu, Junbo Cui, J. Ran +6 more
2/12/2026

No official code found. Best implementation: OpenBMB/VisRAG (975 stars, Apache-2.0, last commit 2025-12-07). 1 more below.

Abstract

Retrieval-augmented generation (RAG) is an effective technique that enables large language models (LLMs) to utilize external knowledge sources for generation. However, current RAG systems are solely based on text, rendering it impossible to utilize vision information like layout and images that play crucial roles in real-world multi-modality documents. In this paper, we introduce VisRAG, which tackles this issue by establishing a vision-language model (VLM)-based RAG pipeline. In this pipeline, instead of first parsing the document to obtain text, the document is directly embedded using a VLM as an image and then retrieved to enhance the generation of a VLM. Compared to traditional text-based RAG, VisRAG maximizes the retention and utilization of the data information in the original documents, eliminating the information loss introduced during the parsing process. We collect both open-source and synthetic data to train the retriever in VisRAG and explore a variety of generation methods. Experiments demonstrate that VisRAG outperforms traditional RAG in both the retrieval and generation stages, achieving a 20--40% end-to-end performance gain over traditional text-based RAG pipeline. Further analysis reveals that VisRAG is efficient in utilizing training data and demonstrates strong generalization capability, positioning it as a promising solution for RAG on multi-modality documents. Our code and data are available at https://github.com/openbmb/visrag.

View on arXivView PDF

Code Implementations(2)

OpenBMB/VisRAGCommunity100%
Apache-2.0

Parsing-free RAG supported by VLMs

97576MDX, JinjaOct 14, 202410 months agoApache-2.0
document-retrievaldocument-understandingmulti-modalmulti-modalityrag+3 more

This repo contains data from datasets used in the VisRAG paper (https://arxiv.org/pdf/2410.10594). Data provided contains images and textual annotations used for testing in the VisRAG paper.

40Jan 29, 20251 years ago

Similar Papers

Cite this paper

@article{yu2026visrag,
  title  = {VisRAG: Vision-based Retrieval-augmented Generation on Multi-modality Documents},
  author = {Shi Yu and Chaoyue Tang and Bokai Xu and Junbo Cui and J. Ran and Yukun Yan and Zhenghao Liu and Shuo Wang and Xu Han and Zhiyuan Liu and Maosong Sun},
  year   = {2026},
  eprint = {2410.10594},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.10594},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.10594.svg)](https://codeofpaper.com/paper/2410.10594)

Discussion