arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.12873cs.CLcs.AIcs.IRcs.LG
收藏

电信领域问答中RAG评估指标的评价

Evaluation of RAG Metrics for Question Answering in the Telecom Domain

Ericsson R&D(爱立信研发中心)

Sujoy Roychowdhury, Sumit Soman, H G Ranjani, Neeraj Gunda, Vansh Chhabra, Sai Krishna Bala

AI总结:

本研究评估了RAGAS指标在电信领域问答中的适用性,通过修改RAGAS包获取中间输出,分析了正确与错误检索及不同嵌入下的指标表现,指出了其挑战与适用性。

摘要:

检索增强生成(RAG)被广泛用于使大型语言模型(LLMs)能够在各个领域执行问答(QA)任务。然而,基于开源LLM的RAG在专业领域应用中,对生成响应的评估面临挑战。文献中一个流行的框架是RAG评估(RAGAS),这是一个公开可用的库,使用LLMs进行评估。RAGAS的一个缺点是缺乏评估指标数值推导的详细信息。本工作的成果之一是针对少数指标(忠实度、上下文相关性、答案相关性、答案正确性、答案相似性和事实正确性)对该包进行了修改,通过该修改版本,我们能够使用任何LLMs提供提示的中间输出。接下来,我们分析了修改后的RAGAS包输出的专家评估,并观察了在电信领域使用它的挑战。我们还研究了在正确检索与错误检索情况下指标的效果,并观察到少数指标在正确检索时具有更高的值。我们还研究了基础嵌入与通过预训练和微调进行领域适应的嵌入之间指标的差异。最后,我们评论了将这些指标用于实际电信QA任务的适用性和挑战。

英文摘要:

Retrieval Augmented Generation (RAG) is widely used to enable Large Language Models (LLMs) perform Question Answering (QA) tasks in various domains. However, RAG based on open-source LLM for specialized domains has challenges of evaluating generated responses. A popular framework in the literature is the RAG Assessment (RAGAS), a publicly available library which uses LLMs for evaluation. One disadvantage of RAGAS is the lack of details of derivation of numerical value of the evaluation metrics. One of the outcomes of this work is a modified version of this package for few metrics (faithfulness, context relevance, answer relevance, answer correctness, answer similarity and factual correctness) through which we provide the intermediate outputs of the prompts by using any LLMs. Next, we analyse the expert evaluations of the output of the modified RAGAS package and observe the challenges of using it in the telecom domain. We also study the effect of the metrics under correct vs. wrong retrieval and observe that few of the metrics have higher values for correct retrieval. We also study for differences in metrics between base embeddings and those domain adapted via pre-training and fine-tuning. Finally, we comment on the suitability and challenges of using these metrics for in-the-wild telecom QA task.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑