KDD Cup CRAG competition: Systems, Findings and Learnings

Xiao Yang, Yifan Ethan Xu, Kai Sun, Jiaqi Wang, Lingkun Kong, Wen-tau Yih, Xin Luna DongIEEE Data Eng. Bull 2024

Introduction

The KDD Cup 2024 Comprehensive Retrieval-Augmented Generation (CRAG) Challenge established a new frontier for evaluating Retrieval-Augmented Generation (RAG) systems. While Large Language Models (LLMs) have demonstrated remarkable capabilities, their tendency to "hallucinate"—generating factually incorrect information with high confidence—remains a significant barrier to production deployment. The CRAG competition was designed to move beyond static benchmarks, testing systems against diverse, dynamic, and structured data sources.

The Problem: Hallucinations and Static Knowledge

Standard LLMs are limited by their training cutoff dates and lack access to private or real-time information. This often leads to incorrect answers for time-sensitive queries, such as current stock prices or event schedules. While RAG aims to solve this by grounding models in external data, existing benchmarks often rely on simplified Wikipedia snippets that do not reflect the complexity of real-world information retrieval.

Comparison of standard LLM responses versus RAG-augmented responses for real-time queries.

The authors identify three primary gaps in current evaluation frameworks: data diversity (mixing unstructured web text with structured Knowledge Graphs), dynamism (handling fast-changing information), and reliability. In production-grade AI, providing no answer ("I don't know") is often far more valuable than providing a hallucinated one.

The CRAG Benchmark and Methodology

The competition introduced the CRAG Benchmark, comprising 4.4K question-answer pairs across five domains: Finance, Sports, Music, Movies, and Encyclopedia. To test the limits of these systems, the challenge was divided into three tasks of increasing complexity:

  1. Retrieval Summarization: Systems summarize five provided web pages to answer a query.
  2. KG and Web Augmentation: Systems integrate web pages with access to "mock APIs" that query structured Knowledge Graphs (KGs).
  3. End-to-End RAG: The retrieval pool is expanded to 50 web pages, requiring sophisticated ranking and noise filtering.

To ensure rigorous evaluation, the competition utilized a unique "Truthfulness" metric. This score rewards perfect and acceptable answers while heavily penalizing hallucinations: $$\text{Truthfulness} = \text{Perfect rate} + 0.5 \times \text{Acceptable rate} - \text{Hallucination rate}$$

Winning Strategies and Insights

The competition revealed that "straightforward" RAG—simply appending retrieved text to a prompt—is insufficient, only improving truthfulness from roughly 3% to 13%. Winning teams like db3 and APEX employed several sophisticated strategies:

  • The "I Don't Know" Strategy: Top performers used Supervised Fine-Tuning (SFT) to train models to recognize when retrieved evidence was insufficient or irrelevant. Admitting ignorance proved essential for high truthfulness scores.
  • Regularized API Wrappers: Handling structured data from Knowledge Graphs was a major hurdle. Successful teams built "regularized" wrappers that translated natural language constraints into precise API parameters, ensuring higher accuracy in data retrieval.
  • Domain-Specific Challenges: Finance emerged as the most difficult domain. Its high dynamism requires precise temporal reasoning; for example, distinguishing between a stock price "today" versus "last week" remains a significant challenge for current RAG architectures.

Comparative Performance Results

The results highlight a massive performance gap between base LLMs, competition winners, and industry leaders. While a base Llama 3 model achieved a truthfulness score of only 3.4%, the top competition entry reached 36.2%. However, commercial systems like Copilot Pro and Gemini Advanced still lead the field, likely due to more powerful proprietary retrieval engines.

Performance comparison across LLM-only, RAG, and industry SOTA solutions.

As shown in the performance data, there is a distinct trade-off between quality and latency. The most truthful industry models often exhibit the highest latency, suggesting that real-time, high-accuracy RAG remains an expensive computational challenge.

Conclusion and Future Directions

Despite the advancements showcased in the KDD Cup, even the best industry systems currently plateau around a 51% truthfulness threshold. Future work must address several "frontier" problems, including multi-hop reasoning (connecting disparate information sources), multimodal RAG (incorporating images and video), and improving the efficiency of complex RAG pipelines to reduce latency without sacrificing reliability.

Summary updated

BibTeX
@article{yang2024kdd,
  author = {Xiao Yang and Yifan Ethan Xu and Kai Sun and Jiaqi Wang and Lingkun Kong and Wen-tau Yih and Xin Luna Dong},
  title = {{KDD Cup CRAG competition: Systems, Findings and Learnings}},
  journal = {IEEE Data Eng. Bull.},
  year = {2024},
}
Figure