R-Eval: A Unified Toolkit for Evaluating Domain Knowledge of Retrieval Augmented Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Tu, Shangqing, Wang, Yuanchun, Yu, Jifan, Xie, Yuyang, Shi, Yaran, Wang, Xiaozhi, Zhang, Jing, Hou, Lei, Li, Juanzi
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916289845395456
author Tu, Shangqing
Wang, Yuanchun
Yu, Jifan
Xie, Yuyang
Shi, Yaran
Wang, Xiaozhi
Zhang, Jing
Hou, Lei
Li, Juanzi
author_facet Tu, Shangqing
Wang, Yuanchun
Yu, Jifan
Xie, Yuyang
Shi, Yaran
Wang, Xiaozhi
Zhang, Jing
Hou, Lei
Li, Juanzi
contents Large language models have achieved remarkable success on general NLP tasks, but they may fall short for domain-specific problems. Recently, various Retrieval-Augmented Large Language Models (RALLMs) are proposed to address this shortcoming. However, existing evaluation tools only provide a few baselines and evaluate them on various domains without mining the depth of domain knowledge. In this paper, we address the challenges of evaluating RALLMs by introducing the R-Eval toolkit, a Python toolkit designed to streamline the evaluation of different RAG workflows in conjunction with LLMs. Our toolkit, which supports popular built-in RAG workflows and allows for the incorporation of customized testing data on the specific domain, is designed to be user-friendly, modular, and extensible. We conduct an evaluation of 21 RALLMs across three task levels and two representative domains, revealing significant variations in the effectiveness of RALLMs across different tasks and domains. Our analysis emphasizes the importance of considering both task and domain requirements when choosing a RAG workflow and LLM combination. We are committed to continuously maintaining our platform at https://github.com/THU-KEG/R-Eval to facilitate both the industry and the researchers.
format Preprint
id arxiv_https___arxiv_org_abs_2406_11681
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle R-Eval: A Unified Toolkit for Evaluating Domain Knowledge of Retrieval Augmented Large Language Models
Tu, Shangqing
Wang, Yuanchun
Yu, Jifan
Xie, Yuyang
Shi, Yaran
Wang, Xiaozhi
Zhang, Jing
Hou, Lei
Li, Juanzi
Computation and Language
Artificial Intelligence
Large language models have achieved remarkable success on general NLP tasks, but they may fall short for domain-specific problems. Recently, various Retrieval-Augmented Large Language Models (RALLMs) are proposed to address this shortcoming. However, existing evaluation tools only provide a few baselines and evaluate them on various domains without mining the depth of domain knowledge. In this paper, we address the challenges of evaluating RALLMs by introducing the R-Eval toolkit, a Python toolkit designed to streamline the evaluation of different RAG workflows in conjunction with LLMs. Our toolkit, which supports popular built-in RAG workflows and allows for the incorporation of customized testing data on the specific domain, is designed to be user-friendly, modular, and extensible. We conduct an evaluation of 21 RALLMs across three task levels and two representative domains, revealing significant variations in the effectiveness of RALLMs across different tasks and domains. Our analysis emphasizes the importance of considering both task and domain requirements when choosing a RAG workflow and LLM combination. We are committed to continuously maintaining our platform at https://github.com/THU-KEG/R-Eval to facilitate both the industry and the researchers.
title R-Eval: A Unified Toolkit for Evaluating Domain Knowledge of Retrieval Augmented Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.11681