Skip to main content
QUICK REVIEW

[논문 리뷰] CRUD-RAG: A Comprehensive Chinese Benchmark for Retrieval-Augmented Generation of Large Language Models

Yuanjie Lyu, Zhiyu Li|arXiv (Cornell University)|2024. 01. 30.
Topic ModelingComputer Science인용 수 7
한 줄 요약

CRUD-RAG는 대형 뉴스 기반 데이터 세트를 사용하여 생성(Create), 읽기(Read), 업데이트(Update), 삭제(Delete) 작업 전반에 걸쳐 RAG 시스템을 평가하는 포괄적인 중국어 벤치마크를 소개하며, RAG의 모든 구성요소(리트리버, KB, LLM)를 엔드투엔드로 평가합니다.

ABSTRACT

Retrieval-Augmented Generation (RAG) is a technique that enhances the capabilities of large language models (LLMs) by incorporating external knowledge sources. This method addresses common LLM limitations, including outdated information and the tendency to produce inaccurate "hallucinated" content. However, the evaluation of RAG systems is challenging, as existing benchmarks are limited in scope and diversity. Most of the current benchmarks predominantly assess question-answering applications, overlooking the broader spectrum of situations where RAG could prove advantageous. Moreover, they only evaluate the performance of the LLM component of the RAG pipeline in the experiments, and neglect the influence of the retrieval component and the external knowledge database. To address these issues, this paper constructs a large-scale and more comprehensive benchmark, and evaluates all the components of RAG systems in various RAG application scenarios. Specifically, we have categorized the range of RAG applications into four distinct types-Create, Read, Update, and Delete (CRUD), each representing a unique use case. "Create" refers to scenarios requiring the generation of original, varied content. "Read" involves responding to intricate questions in knowledge-intensive situations. "Update" focuses on revising and rectifying inaccuracies or inconsistencies in pre-existing texts. "Delete" pertains to the task of summarizing extensive texts into more concise forms. For each of these CRUD categories, we have developed comprehensive datasets to evaluate the performance of RAG systems. We also analyze the effects of various components of the RAG system, such as the retriever, the context length, the knowledge base construction, and the LLM. Finally, we provide useful insights for optimizing the RAG technology for different scenarios.

연구 동기 및 목표

  • 다양한 CRUD 적용 시나리오를 Question Answering을 넘어 포괄적으로 다룸으로써 포괄적인 RAG 벤치마크의 부족을 해소한다.
  • Retrieval 품질, 지식 기반 구축, LLM 동작을 포함한 엔드투엔드 RAG 시스템 성능을 평가한다.
  • CRUD 작업 전반에 걸친 맥락 길이, 청크 크기, 임베딩 모델, 검색 전략에 대한 체계적 분석을 가능하게 하는 데이터 세트와 프로토콜을 제공한다.
  • 중국어권 설정에서 다양한 응용 맥락에 맞게 RAG 시스템을 최적화하기 위한 실용적 가이드를 제공한다.

제안 방법

  • RAG 응용을 Create, Read, Update, Delete의 네 가지 CRUD 범주로 분류한다.
  • LLMs가 보지 못하도록 2023년 7월 이후에 공개된 대규모 중국어 뉴스 말뭉치에서 네 가지 작업 데이터셋을 구축한다.
  • RAGQuestEval을 통해 엔드투엔드 정답 유사성과 RAG 특화 고려사항을 결합한 평가 지표를 제안한다.
  • 맥락 길이, 청크 크기, 임베딩 모델, 검색 전략, LLM 등 RAG 구성 요소를 실험에서 체계적으로 변화시키고 연구한다.
  • 텍스트 연속성, 다문서 요약, 단일·다문서 QA 및 환각 수정에 대한 데이터셋 구축 파이프라인을 기술한다.

실험 결과

연구 질문

  • RQ1다양한 CRUD 시나리오가 중국어에서 검색강화 생성 시스템의 전반적 효과성에 어떤 영향을 미치는가?
  • RQ2맥락 길이, 청크 크기, 상위-k, 임베딩 모델 등의 검색 관련 요인이 CRUD 작업 전반에서 RAG 성능에 어떤 영향을 미치는가?
  • RQ3지식 기반 구축 선택이 창의적 생성, 독해, 오류 수정, 요약 작업에서 RAG 결과에 어떤 영향을 미치는가?
  • RQ4엔드투엔드 평가 프레임워크인 CRUD-RAG가 다양한 작업에서 리트리버, KB, LLM 간의 상호 작용을 신뢰성 있게 평가할 수 있는가?
  • RQ5현실 세계의 중국어 응용에서 RAG 시스템을 최적화하기 위한 실용적 지표는 무엇인가?

주요 결과

  • 포괄적인 CRUD 기반 벤치마크가 창의적 생성, 지식 집약적 QA, 오류 수정, 요약 작업에서의 RAG 성능을 드러낸다.
  • 맥락 길이와 검색 전략이 작업 전반에서 RAG 결과에 미치는 영향을 보여준다.
  • 뉴스 기반의 고품질 검색 말뭉치는 외부 콘텐츠를 모델의 기억된 지식 대신 사용하게 하여 평가 타당성을 향상시킨다.
  • RAGQuestEval 기반의 재현율과 정밀도는 필요시 근거 참조에 기반한 생성을 평가하는 지표를 제공한다.
  • 다양한 CRUD 사용 사례에 맞춰 검색기, KB 구성, LLM을 조정하기 위한 실용적 권고를 제공한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.