arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.19481cs.LG
收藏

基于机器学习算法的RAG检索质量分析与评估预测

Quality analysis and evaluation prediction of RAG retrieval based on machine learning algorithms

Rice University(莱斯大学);University of California, Los Angeles(加州大学洛杉矶分校);Duke University(杜克大学)

Ruoxin Zhang, Zhizhao Wen, Chao Wang, Chenchen Tang, Puyang Xu, Yifan Jiang

AI总结:

本文提出基于XGBoost和粒子群优化的模型,通过分析文档相关性与答案质量的正相关性,改进RAG系统的检索质量与生成效果。

摘要:

随着大语言模型的快速发展,检索增强生成技术因其能够整合外部知识以提高输出准确性而被广泛应用。然而,系统的性能高度依赖于检索模块的质量。如果检索结果与用户需求的相关性低或包含噪声信息,将直接导致生成内容的扭曲。针对现有模型在处理表格特征时的性能瓶颈,本文提出了一种基于特征工程和粒子群优化的XGBoost机器学习回归模型。相关性分析显示,答案质量与文档相关性呈正相关(0.66),表明文档相关性对答案质量有显著的正向影响,提高文档相关性可能增强答案质量;语义相似性、冗余性和多样性之间的强负相关性分别为-0.89和-0.88,表明在语义相似性、冗余性和多样性之间存在权衡。换句话说,随着前两者增加,多样性显著下降。与决策树、AdaBoost等模型的实验结果相比,VMD PSO BiLSTM模型在所有评估指标上均表现更优,其MSE、RMSE、MAE和MAPE显著低于对比模型。R2值更高,表明其预测准确性、稳定性和数据解释能力更突出。这一成果为优化检索质量、提升RAG系统生成效果提供了有效路径,对推动相关技术的实施和应用具有重要价值。

英文摘要:

With the rapid evolution of large language models, retrieval enhanced generation technology has been widely used due to its ability to integrate external knowledge to improve output accuracy. However, the performance of the system is highly dependent on the quality of the retrieval module. If the retrieval results have low relevance to user needs or contain noisy information, it will directly lead to distortion of the generated content. In response to the performance bottleneck of existing models in processing tabular features, this paper proposes an XGBoost machine learning regression model based on feature engineering and particle swarm optimization. Correlation analysis shows that answer_quality is positively correlated with doc_delevance by 0.66, indicating that document relevance has a significant positive effect on answer quality, and improving document relevance may enhance answer quality; The strong negative correlations between semantic similarity, redundancy, and diversity were -0.89 and -0.88, respectively, indicating a tradeoff between semantic similarity, redundancy, and diversity. In other words, as the former two increased, diversity significantly decreased. The experimental results comparing decision trees, AdaBoost, etc. show that the VMD PSO BiLSTM model is superior in all evaluation indicators, with significantly lower MSE, RMSE, MAE, and MAPE compared to the comparison model. The R2 value is higher, indicating that its prediction accuracy, stability, and data interpretation ability are more outstanding. This achievement provides an effective path for optimizing the retrieval quality and improving the generation effect of RAG system, and has important value in promoting the implementation and application of related technologies.

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

↑