arXiv cs.AI· Anastasia Orlova, Nina Gubina, Aleksei Dmitrenko, Arsen Sarkisyan, Nikita Vetoshkin, Anastasiia Gorbunova, Ivan Dubrovsky, Julia Razlivina, Bogdan Neterebskii, Andrei Dmitrenko·· 2 小时前AI 评分43
用机器学习代理模型优化 RAG 系统设计
Machine Learning-Driven RAG System Design
AI 导读
一项研究将 RAG 优化视为预测问题,用代理模型逼近配置参数与性能指标间的依赖关系。研究在三个化学问答域各评估 648 种配置,训练出的代理模型预测精度达 R²≥0.84,并在 10% 目标域数据下实现跨域迁移;在 61,152 个候选配置中数秒内找回最优配置,关键检索与生成指标最高提升 +0.09,相关数据集已公开。
正文 · 原文
Abstract:Retrieval-Augmented Generation (RAG) has become a standard approach for grounding large language models in external knowledge, yet its performance depends critically on a large number of interacting design choices. Systematic optimization of these choices remains costly, as each configuration must be evaluated through full pipeline execution. In this work, we propose to treat RAG optimization as a prediction problem, using surrogate models to approximate the functional dependencies between configuration parameters and performance metrics. Using a stage-wise configurable RAG framework, we conduct large-scale experiments across three chemistry QA domains, systematically evaluating 648 configurations per domain and publicly releasing the resulting datasets of configurations and evaluation metrics. Surrogate models trained on this data achieve strong predictive accuracy ($R^2 \geq 0.84$ across all metrics and domains), and SHAP-IQ-based analysis of the learned models reveals consistent parameter interaction patterns across domains, despite substantial differences in corpus characteristics. We exploit this cross-domain regularity in transfer experiments: surrogate predictions generalize to unseen domains without target-domain training data on two transfer-robust metrics, and achieve full transfer across all six metrics with as little as 10% of target-domain data for selected domain pairs. Finally, we apply surrogate models to optimize RAG configurations over an expanded search space of 61,152 candidates, recovering top-performing configurations in seconds rather than days, with gains of up to +0.09 in key retrieval and generation evaluation metrics. Together, these results demonstrate that RAG design spaces are structured, transferable, and efficiently optimizable via surrogate modeling.
| Subjects: | Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2611.36150 [cs.AI] |
| (or arXiv:2611.36150v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.36150 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Anastasia Orlova [view email]
[v1]
Thu, 26 Nov 2026 14:24:27 UTC (2,293 KB)
来源:arXiv cs.AI · arxiv.org