arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.22689cs.CL
收藏

基于规则的检索增强型大语言模型解释

Rule-Based Explanations for Retrieval-Augmented LLM Systems

University of Waterloo(滑铁卢大学);York University(约克大学);AT&T Chief Data Office(AT&T首席数据办公室)

Joel Rorseth, Parke Godfrey, Lukasz Golab, Divesh Srivastava, Jarek Szlichta

AI总结:

本文提出用规则解释检索增强型大语言模型,通过优化方法提高规则生成效率,通过实验验证其有效性。

摘要:

If-then规则广泛用于解释机器学习模型;例如,"如果未被使用,则贷款申请被拒绝"。我们首次提出将规则应用于解释新兴的大语言模型(LLM)类别,即检索增强型生成(RAG)。由于RAG使LLM系统能够在推理时整合检索的信息源,链接信息源存在或缺失的规则可以解释输出来源;例如,"如果检索到一篇Times Higher Education排名文章,则LLM将牛津大学列为第一"。为了生成此类规则,一种暴力方法会将LLM与所有源组合进行探测,并检查任何源的存在或缺失是否导致相同输出。我们提出优化方法以加快规则生成,灵感来自频繁项集挖掘中的Apriori-like剪枝,但重新定义在我们新的问题范围内。我们最后通过定性和定量实验证明了我们解决方案的价值和效率。

英文摘要:

If-then rules are widely used to explain machine learning models; e.g., "if employed = no, then loan application = rejected." We present the first proposal to apply rules to explain the emerging class of large language models (LLMs) with retrieval-augmented generation (RAG). Since RAG enables LLM systems to incorporate retrieved information sources at inference time, rules linking the presence or absence of sources can explain output provenance; e.g., "if a Times Higher Education ranking article is retrieved, then the LLM ranks Oxford first." To generate such rules, a brute force approach would probe the LLM with all source combinations and check if the presence or absence of any sources leads to the same output. We propose optimizations to speed up rule generation, inspired by Apriori-like pruning from frequent itemset mining but redefined within the scope of our novel problem. We conclude with qualitative and quantitative experiments demonstrating our solutions' value and efficiency.

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

↑