RAG: Key Aspects of Performance: Metrics and Measurement

Sunila Gollapudi
8 min readJul 13, 2024

Evaluating Retrieval-Augmented Generation (RAG) pipelines ensures these systems are accurate, reliable, and effective. RAG pipelines combine retrieval mechanisms with generative models to generate contextually relevant and precise responses. As I am measuring RAG vs Knowledge Graph enabled RAG performance, I am considering the below metrics. I would welcome all the experts' inputs, missing aspects, and metrics!

Key Dimensions and Metrics for RAG Performance

The Retrieval and Generated related performance aspects or dimensions is discussed below:

RAG Performance Aspects with examples by author

RAG Performance Metrics and Measurement Process

Below detailed are the top Metrics. Related measurement process is explained below with examples:

1. Accuracy

Measures the overall correctness of the responses generated by comparing the correct answers to the total number of questions. Attributes to the “Fairness” aspect above.

Ex: In a medical RAG system, suppose there are 100 patient queries about symptoms. If 90 of…

--

--

Sunila Gollapudi

Enterprise Data Strategy, Big Data Engineering, Knowledge Graphs, Semantic Modeling, Cloud Architecture, GenAI Doctoral Researcher- sunilagollapudi.com