AI Innovations and Insights 16: ASSISTRAG
Author(s): Florian June
Originally published on Towards AI.
The Dual RAG Engine of Thinking and Memory
This member-only story is on us. Upgrade to access all of Medium.
This article is the 16th in this promising series. Today, we will explore the advancement of RAG.
The video contains a mind map:
Training code and data: https://github.com/smallporridge/AssistRAG.
ASSISTRAG works as a helpful assistant that helps organize your work materials and keeps track of whatβs important. When you have a difficult problem to solve, ASSISTRAG helps by breaking it into smaller, easier parts and finding the information you need.
Now, letβs dive into the detailed introduction.
Early RAG methods like the βRetrieve-Readβ framework were inadequate for complex reasoning tasks. While subsequent prompt-based RAG strategies and Supervised Fine-Tuning (SFT) methods improved performance, they required frequent retraining and risked altering foundational LLM capabilities.
Figure 1: Comparisons of Naive, Prompt-based, SFT-based and our Assistant-based RAG frameworks. Source: ASSISTRAG.By introducing an intelligent information assistant that integrates memory and knowledge management, ASSISTRAG compensates for LLMsβ shortcomings in information accuracy and reasoning depth. As shown in Figure 1, this approach consists of a trainable assistant that manages information and a static main LLM that handles task execution.
Figure 2: Overview of ASSISTRAG. ASSISTRAG enhances LLMs by providing an intelligent information assistant. Endowed with the ability of tool usage, action execution, memory building… Read the full blog for free on Medium.Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.
Published via Towards AI