mlsanityData to 7 Oct 2026

RAGViz: Diagnose and Visualize Retrieval-Augmented Generation

arXiv 2411.01751 ↗First posted 4 Nov 2024cs.CL cs.AIcited by 5

On the map: Retrieval-augmented generation → RAG pipeline design and evaluation

Abstract (arXiv)

Retrieval-augmented generation (RAG) combines knowledge from domain-specific sources into large language models to ground answer generation. Current RAG systems lack customizable visibility on the context documents and the model's attentiveness towards such documents. We propose RAGViz, a RAG diagnosis tool that visualizes the attentiveness of the generated tokens in retrieved documents. With a built-in user interface, retrieval index, and Large Language Model (LLM) backbone, RAGViz provides two main functionalities: (1) token and document-level attention visualization, and (2) generation comparison upon context document addition and removal. As an open-source toolkit, RAGViz can be easily hosted with a custom embedding model and HuggingFace-supported LLM backbone. Using a hybrid ANN (Approximate Nearest Neighbor) index, memory-efficient LLM inference tool, and custom context snippet method, RAGViz operates efficiently with a median query time of about 5 seconds on a moderate GPU node. Our code is available at https://github.com/cxcscmu/RAGViz. A demo video of RAGViz can be found at https://youtu.be/cTAbuTu6ur4.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 4 of its 16 references that are in the map. First posted on arXiv 4 Nov 2024.

Builds on

4 of 16 references.

References · 4

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  4. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Stronger Baselines for Retrieval-Augmented Generation with Long-Context Language Models
  2. 2025mmRAG: A Modular Benchmark for Retrieval-Augmented Generation over Text, Tables, and Knowledge Graphs
  3. 2025A Systematic Review of Key Retrieval-Augmented Generation (RAG) Systems: Progress, Gaps, and Future Directions
  4. 2025Enhancing Retrieval-Augmented Generation: A Study of Best Practices
  5. 2025A Survey on Knowledge-Oriented Retrieval-Augmented Generation
  6. 2024RAGBench: Explainable Benchmark for Retrieval-Augmented Generation Systems
  7. 2024RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generation
  8. 2025Are We on the Right Way for Assessing Document Retrieval-Augmented Generation?