arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.04635cs.IRcs.AI
收藏

基于生成式AI的知识检索

Knowledge Retrieval Based on Generative AI

National Taiwan University(台湾大学);National Chengchi University(政治大学);National Taiwan Normal University(台湾师范大学)

Te-Lun Yang, Jyi-Shane Liu, Yuen-Hsien Tseng, Jyh-Shing Roger Jang

AI总结:

本研究构建基于RAG的生成式AI知识检索系统,采用BGE-M3检索与BGE-reranker重排序,结合两阶段评估验证效果,实现LLM能力增强与数据隐私性提升。

摘要:

本研究构建了一个基于检索增强生成(Retrieval-Augmented Generation,RAG)的问答系统,以中文维基百科和Lawbank作为检索数据源。系统采用TTQA和TMMLU+作为评估数据集,使用BGE-M3进行稠密向量检索以获取高相关性搜索结果,再通过BGE-reranker根据查询相关性对这些结果进行重排序。将最相关的检索结果作为大语言模型(Large Language Model,LLM)的参考知识,提升其问答能力,构建了一套基于生成式AI的知识检索系统。\n系统的有效性通过两阶段评估进行验证:自动性能评估和辅助性能评估。自动评估通过将模型自动生成的标签与真实答案进行对比来计算准确率,衡量无人工干预的标准化条件下的性能。辅助性能评估选取20道金融相关选择题,由20名无金融背景的参与者作答:参与者先独立答题,之后获取系统生成的参考信息辅助答题,以此检验系统提供辅助后是否能提升答题准确率。\n本研究的主要贡献包括:(1)增强LLM能力:通过整合BGE-M3与BGE-reranker,系统可检索并重排序高相关性结果,减少幻觉问题,且能动态访问授权或公开知识源。(2)提升数据隐私性:定制化的RAG架构支持LLM本地运行,无需将私有数据发送至外部服务器,该方法提升了数据安全性,减少了对商业服务的依赖,降低了运营成本,同时缓解了隐私风险。

英文摘要:

This study develops a question-answering system based on Retrieval-Augmented Generation (RAG) using Chinese Wikipedia and Lawbank as retrieval sources. Using TTQA and TMMLU+ as evaluation datasets, the system employs BGE-M3 for dense vector retrieval to obtain highly relevant search results and BGE-reranker to reorder these results based on query relevance. The most pertinent retrieval outcomes serve as reference knowledge for a Large Language Model (LLM), enhancing its ability to answer questions and establishing a knowledge retrieval system grounded in generative AI. The system's effectiveness is assessed through a two-stage evaluation: automatic and assisted performance evaluations. The automatic evaluation calculates accuracy by comparing the model's auto-generated labels with ground truth answers, measuring performance under standardized conditions without human intervention. The assisted performance evaluation involves 20 finance-related multiple-choice questions answered by 20 participants without financial backgrounds. Initially, participants answer independently. Later, they receive system-generated reference information to assist in answering, examining whether the system improves accuracy when assistance is provided. The main contributions of this research are: (1) Enhanced LLM Capability: By integrating BGE-M3 and BGE-reranker, the system retrieves and reorders highly relevant results, reduces hallucinations, and dynamically accesses authorized or public knowledge sources. (2) Improved Data Privacy: A customized RAG architecture enables local operation of the LLM, eliminating the need to send private data to external servers. This approach enhances data security, reduces reliance on commercial services, lowers operational costs, and mitigates privacy risks.

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

↑