Multimodal RAG Evaluation Metrics
Purpose
Multimodal RAG Evaluation Metrics assess systems that extract and utilize information from different modalities (text, images, audio). Traditional text metrics are insufficient as they must account for the correspondence between modalities and the correctness of their joint use.
Metric Classes
| Class | Metrics | What They Evaluate |
|---|---|---|
| Modal Relevance | Cross-modal Recall, Precision | How well the retrieved objects match the query |
| Consistency | Alignment Score | How well the text and images align |
| Completeness | Coverage | Whether all necessary modalities are retrieved |
| Answer Quality | Faithfulness, Answer Relevancy | The correctness of the final answer |
Example Evaluation
# Evaluate the consistency of text and image
score = alignment_score(
text="A cat on the couch",
image=retrieved_image,
model=multimodal_encoder
)