CRAG
by Meta & collaborators
What is CRAG? CRAG is a rag & retrieval eval made by Meta & collaborators. A question-answering benchmark for RAG with mock web and knowledge-graph search, including questions whose answers change over time.
Editor note
A question-answering benchmark for RAG with mock web and knowledge-graph search, including questions whose answers change over time.
- What it tests
- End-to-end RAG answer correctness and hallucination.
- Original source
- arxiv.org/abs/2406.04744
- Last updated
- Not checked yet
- License
- Not checked yet — see source
When to use CRAG
- You are testing a RAG system on factual questions with mock web and knowledge-graph search APIs, so runs are repeatable.
- You want to see how answers hold up on fast-changing facts, less popular entities and more complex questions.
Limitations
- Search is simulated through mock web and knowledge-graph APIs, not live web search.
- Scoring rates answers as perfect, acceptable, missing or incorrect, so report the full breakdown, not just accuracy.
How to run it
- Download the dataset and mock APIs described in the repository's docs.
- Run a baseline (for example the provided vanilla Llama model) or your own RAG system and score the responses.
pip install -r requirements.txtNotable results
- 4,409 question-answer pairs across five domains and eight question types. Leading LLMs reached at most 34% accuracy, simple RAG raised this to 44%, and industry RAG systems answered 63% without hallucination. [Paper (arXiv)]
Sources
Related rag & retrieval evals
- Ragas — Faithfulness, relevance and retrieval quality of your own RAG system.
- BEIR — Zero-shot retrieval across diverse domains.
- MTEB Leaderboard — Embedding model quality for search and RAG.
- FRAMES — Multi-hop retrieval-augmented answering.
Discussion
No one has discussed CRAG yet. Have you run it? Share what it caught, what it missed or how you set it up.