SEARA:一种获取最优检索器的自动化方法
SEARA: An Automated Approach for Obtaining Optimal Retrievers
AI总结:
针对RAG检索器超参数优化成本高且评估易脱离业务场景的问题,本文提出SEARA,通过子集采样、最小检索事实提取和综合指标实现低成本全自动评估,并在rednote场景中获得最优检索器。
摘要:
检索增强生成(Retrieval-Augmented Generation,RAG)是增强大型语言模型(LLM)的核心方法,其中检索器的有效性在很大程度上决定了RAG系统的整体响应质量。检索器包含大量超参数,这些超参数会显著影响性能结果,并表现出对具体应用的敏感性。然而,超参数优化需要极高昂的计算开销。现有评估方法要么成本过高,要么与特定领域场景脱节。本文提出SEARA(Subset sampling Evaluation for Automatic Retriever Assessment,用于自动检索器评估的子集采样),通过子集采样技术解决评估数据挑战,并借助最小检索事实提取和全面的检索指标实现稳健的自动化检索器评估。该方法基于真实用户查询,能够以低成本实现全自动检索器评估,从而为特定业务场景获取最优检索器。我们在rednote的经典RAG应用中验证了该方法,包括基于知识的问答系统和基于检索的旅行助手,成功获得了面向具体场景的最优检索器。
英文摘要:
Retrieval-Augmented Generation (RAG) is a core approach for enhancing Large Language Models (LLMs), where the effectiveness of the retriever largely determines the overall response quality of RAG systems. Retrievers encompass a multitude of hyperparameters that significantly impact performance outcomes and demonstrate sensitivity to specific applications. Nevertheless, hyperparameter optimization entails prohibitively high computational expenses. Existing evaluation methods suffer from either prohibitive costs or disconnection from domain-specific scenarios. This paper proposes SEARA (Subset sampling Evaluation for Automatic Retriever Assessment), which addresses evaluation data challenges through subset sampling techniques and achieves robust automated retriever evaluation by minimal retrieval facts extraction and comprehensive retrieval metrics. Based on real user queries, this method enables fully automated retriever evaluation at low cost, thereby obtaining optimal retriever for specific business scenarios. We validate our method across classic RAG applications in rednote, including knowledge-based Q\&A system and retrieval-based travel assistant, successfully obtaining scenario-specific optimal retrievers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。