Skip to main content
QUICK REVIEW

[Paper Review] Enhancing LLM Intelligence with ARM-RAG: Auxiliary Rationale Memory for Retrieval Augmented Generation

Eric Melz|arXiv (Cornell University)|Nov 7, 2023
Topic ModelingComputer Science9 citations
TL;DR

The paper proposes ARM-RAG, a retrieval-augmented approach that stores and reuses reasoning rationales to improve problem-solving in LLMs, showing modest gains over a baseline on GSM8K math problems.

ABSTRACT

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.

Motivation & Objective

  • Motivate improving LLM problem-solving without costly retraining or fine-tuning.
  • Introduce ARM-RAG to preserve and retrieve auxiliary rationales from past successes.
  • Demonstrate how rationale memory affects subsequent problem-solving performance.

Proposed method

  • Use Retrieval Augmented Generation (RAG) to combine a language model with a neural IR retriever.
  • Store correct reasoning chains (rationales) for solved problems in a Pyserini/FAISS-based index.
  • At query time, retrieve rationales, and construct prompts that include these chains for generation.
  • Evaluate on GSM8K using GPT-J baseline and GPT-3.5-turbo with and without ARM-RAG.

Experimental results

Research questions

  • RQ1Does storing and retrieving reasoning chains (rationales) improve subsequent problem-solving performance of LLMs?
  • RQ2What is the impact of ARM-RAG on training vs. test set accuracy in math problem solving?
  • RQ3How does obfuscating the target query influence retrieval and performance?
  • RQ4What are the limitations and failure modes of RAG-based rationale recollection in this setting?

Key findings

  • ARM-RAG provides a small but consistent accuracy improvement over a non-RAG baseline (75.3% vs 73.2%).
  • Obfuscating the target query during retrieval yields a larger relative gain (77.4% vs baseline 73.2%).
  • Strong prompting with example rationales dramatically improves single-question accuracy (up to 80% in Experiment 2).
  • Multi-attempt questioning on training data yields 91.9% accuracy, higher than single-pass baselines.
  • Retrieved hits are often exact matches to target questions (about 78%), indicating surface-level similarity dominates some retrievals.
  • ARM-RAG performances suggest potential gains but are limited by retrieval quality and problem-structure matching.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.