[论文解读] Enhancing LLM Intelligence with ARM-RAG: Auxiliary Rationale Memory for Retrieval Augmented Generation
该论文提出 ARM-RAG,一种检索增强方法,存储并重用推理理由以提升LLM的问题求解能力,在 GSM8K 数学题目上对基线显示出适度增益。
Large Language Models (LLMs) are smart but forgetful. Recent studies, (e.g., (Bubeck et al., 2023)) on modern LLMs have shown that they are capable of performing amazing tasks typically necessitating human-level intelligence. However, unlike humans, frozen LLMs do not improve over time; they neither acquire new knowledge nor learn from their successes or failures. Some approaches to improving the intelligence of LLMs include fine-tuning models based on problem-solving performance (Zelikman et al., 2022), and building bigger and more sophisticated models (Bubeck et al., 2023). However, these methods have the drawback of requiring substantial data and computational resources to retrain existing models. In this paper, we explore the use of Retrieval Augmented Generation, also known as RAG (Lewis et al., 2021) to improve problem-solving performance. We propose ARM-RAG (Auxiliary Rationale Memory for Retrieval Augmented Generation), a system that learns from its successes without incurring high training costs. We demonstrate that the storage and subsequent retrieval of reasoning chains have a positive influence on performance in grade-school math problems.
研究动机与目标
- 在不进行成本高昂的重新训练或微调的情况下,激发改进LLM的问题求解能力。
- 引入 ARM-RAG,以保存并从过去的成功中检索辅助推理。
- 展示推理记忆如何影响后续问题求解的性能。
提出的方法
- 使用 Retrieval Augmented Generation (RAG) 将语言模型与神经IR检索器结合。
- 将解决问题时正确的推理链(rationales)存储于基于 Pyserini/FAISS 的索引中。
- 在查询时检索推理链,并构造包含这些链的提示用于生成。
- 使用 GSM8K 在 GPT-J 基线及 GPT-3.5-turbo 上进行评估,比较有无 ARM-RAG 的情况。
实验结果
研究问题
- RQ1存储和检索推理链(rationales)是否会提升后续LLM的问题求解性能?
- RQ2ARM-RAG 对数学题解的训练集与测试集准确率有何影响?
- RQ3在检索中对目标查询进行混淆将如何影响检索和性能?
- RQ4在该场景下基于RAG的推理 recollection 的局限性与失败模式是什么?
主要发现
- ARM-RAG 相较非 RAG 基线有稳定的小幅准确率提升(75.3% 对 73.2%)。
- 在检索中对目标查询进行混淆可带来更大相对增益(77.4% 对基线 73.2%)。
- 对示例推理链的强提示在单题准确率上有显著提升(实验2 可达 80%)。
- 在训练数据上进行多次提问的准确率为 91.9%,高于单次通过的基线。
- 检索命中往往是对目标问题的完全匹配(约 78%),表明表层相似性主导了一些检索结果。
- ARM-RAG 的表现显示潜在增益,但受检索质量和题目结构匹配的限制。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。