mlsanityData to 13 Oct 2026

RAGMark: A Comprehensive Framework for Benchmarking Retrieval-Augmented Generation Systems

arXiv 2609.05760 ↗First posted 4 Sep 2026cs.PF cs.AI cs.ARcited by 0

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

Abstract (arXiv)

We present RAGMark, a modular benchmarking framework for advanced Retrieval-Augmented Generation (RAG) systems targeting small-scale multi-GPU environments. RAGMark evaluates diverse RAG components, including retrievers, vector databases, prompt-processing methods, and generator models, while collecting detailed per-stage metrics such as latency, GPU utilization, memory consumption, power usage, time to first token (TTFT), throughput, and answer quality. The framework is highly extensible, separating RAG stages, timing, and resource monitoring into modular components, and is designed to efficiently sweep large configuration spaces while minimizing repeated model and database initialization overhead. Using RAGMark, we characterize five RAG workloads on open-domain QA datasets across varying retrieval depths, model scales, reranking, compression methods, and vector database configurations. We show that while autoregressive generation dominates latency in naive pipelines, context-reduction techniques shift bottlenecks across compute, memory bandwidth, and preprocessing stages. Reranking and compression produce compounding benefits: reranking reduces compression workload itself, while both jointly reduce prefill and KV-cache traversal costs, lowering energy consumption by up to 66%. We further observe strong cross-stage interactions, where small upstream context reductions cascade through downstream latency, memory traffic, and energy consumption. The RAGMark source code is publicly available at: https://github.com/zferic/RAGMark.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 38 of its 50 references that are in the map. First posted on arXiv 4 Sep 2026.

Builds on

38 of 50 references.

Closest ancestors · 11

Same direction, newest first

  1. 2026RAGPerf: An End-to-End Benchmarking Framework for Retrieval-Augmented Generation Systems11 Mar
  2. 2025RAGDoll: Efficient Offloading-based Online RAG System on a Single GPU17 Apr
  3. 2025RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving18 Mar
  4. 2024EdgeRAG: Online-Indexed RAG for Edge Devices30 Dec
  5. 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inference16 Dec
  6. 2024A Comprehensive Survey of Retrieval-Augmented Generation (RAG): Evolution, Current Landscape and Future Directions3 Oct
  7. 2024BERGEN: A Benchmarking Library for Retrieval-Augmented Generation1 Jul
  8. 2024FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Research22 May
  9. 2024PipeRAG: Fast Retrieval-Augmented Generation via Algorithm-System Co-design8 Mar
  10. 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec
  11. 2023Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models15 Oct

Other references · 27

  1. 2017Attention Is All You Needcited by 60,106
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,223
  4. 2023GPT-4 Technical Reportcited by 18,278
  5. 2024The Llama 3 Herd of Modelscited by 14,486
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,221
  7. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,831
  8. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,133
  9. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,716
  10. 2023Mistral 7Bcited by 3,123
  11. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,925
  12. 2017Billion-scale similarity search with GPUscited by 2,490
15 more
  1. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,594
  2. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,111
  3. 2019Passage Re-ranking with BERTcited by 638
  4. 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 375
  5. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 344
  6. 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 214
  7. 2023Query Rewriting for Retrieval-Augmented Large Language Modelscited by 212
  8. 2024A Survey on Efficient Inference for Large Language Modelscited by 202
  9. 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 186
  10. 2023Query2doc: Query Expansion with Large Language Modelscited by 148
  11. 2023Factuality Challenges in the Era of Large Language Modelscited by 126
  12. 2024Vidur: A Large-Scale Simulation Framework For LLM Inferencecited by 116
  13. 2024RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generationcited by 98
  14. 2025KaLM-Embedding: Superior Training Data Brings A Stronger Embedding Modelcited by 36
  15. 2025TokenPowerBench: Benchmarking the Power Consumption of LLM Inferencecited by 22

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026RAG-Stack: Co-Optimizing RAG Serving Performance and Quality
  2. 2025Optimizing Retrieval-Augmented Generation: Analysis of Hyperparameter Impact on Performance and Efficiency
  3. 2024Toward Optimal Search and Retrieval for RAG
  4. 2026RAGe: A Retrieval-Augmented Generation Evaluation Framework
  5. 2025RAG-Stack: Co-Optimizing RAG Quality and Performance From the Vector Database Perspective
  6. 2024XRAG: eXamining the Core -- Benchmarking Foundational Components in Advanced Retrieval-Augmented Generation
  7. 2025VectorLiteRAG: Latency-Aware and Fine-Grained Resource Partitioning for Efficient RAG
  8. 2026DF-RAG: Query-Aware Diversity for Retrieval-Augmented Generation