arXiv paper· computer systems — machine learning systems benchmarking· benchmark

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

Zlatan Feric, Amir Taherin, Bin Ren, Yanzhi Wang, Jennifer Dy, David Kaeli

cs.PF · cs.AI · cs.AR · cs.IR

Quick verdict

RAGMark provides credible per-stage RAG benchmarking with cross-stage insights, but internal number inconsistencies and thin accuracy reporting weaken it.

Summary

RAGMark is an open-source benchmarking framework that profiles retrieval-augmented generation (RAG) pipelines stage by stage on small multi-GPU systems, measuring per-query latency, time-to-first-token, decode time, GPU utilization, memory, and integrated energy. Built on FlashRAG components with Hugging Face interfaces, it sweeps configurations across embedding models, FAISS index types, retrieval depths, reranking, prompt compression, and Llama generators (1B–8B). Five case studies on two A100-40GB GPUs, a 9.2M-passage Wikipedia corpus, and 400-query samples show that generation dominates naive-pipeline latency, while reranking plus LLMLingua-2 compression compound: on Llama-3-8B at top-k=10 they cut TTFT from 322 to 108 ms and energy from 157.5 to 52.9 J (−66%) with ROUGE changes under 0.02. Index experiments show CPU-resident IVF indexes beat GPU placement at batch size 1. The artifact (GitHub, Zenodo, remote evaluation) is unusually strong. Main weaknesses: internal numeric inconsistencies between Sections 4.4 and 4.5, no variance or confidence intervals despite 'averaged across multiple runs', accuracy evidence limited to ROUGE without per-dataset breakdowns, and component coverage narrower than the 'comprehensive' title suggests.

Review complete

Assessment at a glance

computer systems — machine learning systems benchmarking

5

risk flags identified

● high 1

● medium 3

● low 1

Reproducibility readinesshigh
Code & data availableyes
Review confidencehigh
AI text signal0/20 passages flagged
Deep research viableCode-reproducibleNeeds GPU

4 strengths · 5 weaknesses · 5 author questions

AI text signal = Binoculars zero-shot detector score over 20 sampled passages (Fast-DetectGPT co-reported) — absence does not prove human authorship, and a flag does not imply misconduct.

Levels reflect verification complexity — not a quality score. Evolve never rates your paper.

Key claims under review

  • Autoregressive generation dominates naive-RAG latency, and context-reduction techniques (reranking, compression) shift the bottleneck across compute, memory bandwidth, and preprocessing stages.
  • Reranking and compression compound rather than add: on Llama-3-8B at top-k=10, the combined pipeline cuts GPU0 energy from 157.5 J to 52.9 J (−66%) with ROUGE changes under 0.02.
  • TTFT scales superlinearly with context for larger models (64→185→322 ms at top-k=0/5/10 on L3-8B), reflecting the transition from MLP-dominated to attention-quadratic prefill.
  • Hardware placement can invert retrieval cost: at batch size 1, CPU-resident quantized IVF indexes (~1.1 ms) outperform GPU retrieval (~3.9 ms).
  • RAGMark fills a benchmarking gap by providing per-query, per-stage profiling including energy, which FlashRAG, BERGEN, and RagPerf lack.

Strengths

  • Fills a real profiling gap with genuinely fine-grained instrumentation

    FlashRAG/BERGEN evaluate accuracy in bulk and RagPerf reportedly lacks energy and millisecond-scale analysis (§5); RAGMark adds per-query TTFT/decode decomposition via a custom LogitsProcessor, NVML energy integration, dual NVML+PyTorch memory attribution, and PCIe transfer tracking (§3.3, Table 2).

  • Mechanistically explained cross-stage effects, not just numbers

    §4.2 attributes superlinear TTFT growth (64→185→322 ms on L3-8B at top-k=0/5/10) to quadratic attention overtaking linear MLP work, and reads SM saturation (59.2→72.4%) with rising energy (87→158 J) as a shift to bandwidth-bound decode; §4.5 shows reranking halves compressor cost (130→58 ms), explaining the compounding −66% energy result.

  • Artifact quality well above typical arXiv systems papers

  • Reports negative and boundary results

Weaknesses

  • Internal numeric contradictions in the core results

  • Statistical reporting effectively absent

  • Quality evidence is ROUGE-only and aggregated

  • Component coverage narrower than the 'comprehensive' title

  • Measurement configuration underdocumented

Full Review Report

$1.99 · one-time

Unlock the complete preliminary analysis Evolve produced for this paper.

Report preview

Scope & Claims

RAGMark (arXiv 2609.05760, cs.PF, Sep 2026; Northeastern + William & Mary) presents an open-source benchmarking framework for retrieval-augmented generation (RAG) on small multi-GPU nodes, plus a five-case characterization study on 2×A100-SXM4-40GB. Its claims: (1) per-query, per-stage profiling — latency, TTFT/decode split, utilization, memory, NVML-integrated energy, accuracy — that FlashRAG/BERGEN (accuracy-focused) and RagPerf (no fine-grained breakdown, §5) lack; (2) naive pipelines are generation-bound, and context-reduction stages shift bottlenecks; (3) reranking plus LLMLingua-2 compression compound to a 66% energy cut on Llama-3-8B at top-k=10 (157.52→52.92 J, Table 5 C1→C4); (4) placement can invert retrieval cost (CPU IVF wins at batch 1, §4.7).

The remaining sections cover Methodology Assessment, Statistical Evidence, Results & Reproducibility, Limitations & Risks, and Verdict & Recommendations.

  • All 4 strengths & 5 weaknesses, analyzed in detail
  • 5 risk flags with severity, section & reviewer questions
  • Methods & statistical evidence assessment
  • 5 questions a peer reviewer would ask
  • Full six-dimension evaluation report & recommendations

One-time purchase · this paper only

One-time purchase, this paper only. AI-generated preliminary analysis — not peer review.

Frequently asked questions

What is RAGMark?

An open-source benchmarking framework that measures retrieval-augmented generation (RAG) pipelines stage by stage — embedding, retrieval, reranking, compression, generation — reporting per-query latency, time-to-first-token, GPU utilization, memory, and integrated energy on small multi-GPU systems.

How much energy can reranking plus compression save in a RAG pipeline?

In the paper's A100 experiments, combining cross-encoder reranking with LLMLingua-2 prompt compression cut Llama-3-8B GPU energy at top-k=10 from 157.5 J to 52.9 J (−66%) versus a naive pipeline, while ROUGE changed by less than 0.02.

Where can I get the RAGMark code and data?

Code is on GitHub (github.com/zferic/RAGMark) and archived on Zenodo (DOI 10.5281/zenodo.22058207). The artifact appendix also offers a remote SSH evaluation environment that reproduces three paper figures in about an hour on 2×V100 GPUs.

Does RAG retrieval need a GPU?

Not always. At batch size 1, CPU-resident quantized IVF indexes were faster (~1.1 ms for IVF1000-SQ8) than GPU retrieval (~3.9 ms) in the paper's tests; GPUs win as batch size grows (e.g., ~34 ms vs ~56 ms at batch 12 for IVF300-SQ4).

About this review

This is an AI-generated preliminary review by Evolve.Pub, produced from the openly available text of the paper. It is not peer review and does not represent the authors' views. The canonical record of the paper is at the publisher link above.

  • Figures 1–9 appear in the extraction only as captions; quantitative claims were taken from the prose, so figure-internal data could not be independently cross-checked. The text itself is complete from abstract through artifact appendix §7.6.

Go deeper on this paper

Wrote a paper? Stress-test it before reviewers do.

Upload your manuscript for the same structured scrutiny — reasoning, statistics, evidence, figures, and reproducibility.

Scan your paper
RAGMark: A Comprehensive Framework for Benchmarking Retrieval-Augmented Generation Systems | Evolve.Pub