AssistRAG adds a smart assistant to LLMs that handles memory and knowledge, making responses more accurate.
https://arxiv.org/abs/2411.06805
Original Problem π€:
LLMs often generate incorrect information (hallucinations). Previous retrieval-augmented generation methods were inadequate for complex reasoning. While prompt-based RAG and supervised fine-tuning improved performance, they required frequent retraining and risked altering core LLM capabilities.
-----
Solution in this Paper π§:
β AssistRAG integrates an intelligent information assistant as a plugin within LLMs, with a frozen main LLM for generating answers and a trainable assistant LLM for information management
β The assistant handles memory management (storing/retrieving past interactions) and knowledge management (retrieving/processing external information)
β It employs four core capabilities: tool usage for retrieving information, action execution for processing data, memory building for recording knowledge, and plan specification for determining assistance needs
β Training uses a two-phase approach: Curriculum Assistant Learning for progressive skill development and Reinforced Preference Optimization for aligning with main LLM's needs
-----
Key Insights from this Paper π―:
β Integration of an assistant LLM can enhance performance without modifying the main LLM
β Memory management and knowledge management can work together synergistically
β Progressive training through curriculum learning proves more effective than direct training
β The assistant's capabilities can be optimized based on the main LLM's feedback
-----
Results π:
β Outperformed existing benchmarks across three complex question-answering datasets
β Showed more benefits for less advanced LLMs - improvements of 78%, 51%, and 40% for LLaMA, ChatGLM, and ChatGPT respectively
β Ablation studies confirmed all components (memory management, knowledge management, planning) contributed to performance










