RAGViz: Diagnose and Visualize Retrieval-Augmented Generation
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
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2026RAGExplorer: A Visual Analytics System for the Comparative Diagnosis of RAG Systemscited by 2
- 2025Story Ribbons: Reimagining Storyline Visualizations with Large Language Modelscited by 1
- 2025Human-Centered Evaluation of RAG outputs: a framework and questionnaire for human-AI collaborationcited by 1
- 2026GPU-Accelerated ANNS: Quantized for Speed, Built for Changecited by 1
- 2026FootprintRAG: Visual Analytics for Evidence Context Refinement in RAG-based Scientific Literature Explorationcited by 0
- 2026FootprintRAG: Visual Analytics for Evidence Context Refinement in RAG-based Scientific Literature Exploration17 Sep 2026
- 2026RAGExplorer: A Visual Analytics System for the Comparative Diagnosis of RAG Systems19 Jan 2026
- 2026GPU-Accelerated ANNS: Quantized for Speed, Built for Change11 Jan 2026
- 2025Human-Centered Evaluation of RAG outputs: a framework and questionnaire for human-AI collaboration30 Sep 2025
- 2025Story Ribbons: Reimagining Storyline Visualizations with Large Language Models9 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2025Stronger Baselines for Retrieval-Augmented Generation with Long-Context Language Models
- 2025mmRAG: A Modular Benchmark for Retrieval-Augmented Generation over Text, Tables, and Knowledge Graphs
- 2025A Systematic Review of Key Retrieval-Augmented Generation (RAG) Systems: Progress, Gaps, and Future Directions
- 2025Enhancing Retrieval-Augmented Generation: A Study of Best Practices
- 2025A Survey on Knowledge-Oriented Retrieval-Augmented Generation
- 2024RAGBench: Explainable Benchmark for Retrieval-Augmented Generation Systems
- 2024RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generation
- 2025Are We on the Right Way for Assessing Document Retrieval-Augmented Generation?