AB
AiBoss
project

AutoRAG - An open-source, self-iterable retrieval model developed by the Chinese Academy of Sciences.

AutoRAG is a novel autonomous iterative retrieval model jointly developed by researchers from the Institute of Computing Technology/CAS (ICT/CAS), the Key Laboratory of Artificial Intelligence Security of the Chinese Academy of Sciences, and the University of Chinese Academy of Sciences. It is specifically designed for large-scale...

What is AutoRAG?

AutoRAG is a novel autonomous iterative retrieval model jointly developed by researchers from the Institute of Computing Technology/CAS (ICT/CAS), the Key Laboratory of Artificial Intelligence Security of the Chinese Academy of Sciences, and the University of Chinese Academy of Sciences. Designed specifically for large language models (LLMs), it enhances performance in knowledge-intensive tasks. Based on multi-turn dialogue with the retrieval engine, AutoRAG systematically plans retrieval and refines queries, autonomously synthesizes reasoning-based decision instructions, and acquires and utilizes valuable external knowledge. AutoRAG dynamically adjusts the number of iterations according to the complexity of the problem and the relevance of the retrieved knowledge, without human intervention, thus improving performance and efficiency.

AutoRAG's main functions

  • Autonomous Iterative RetrievalAutoRAG can engage in multi-round dialogues with the search engine, autonomously plan and refine search queries, and acquire the external knowledge needed to solve problems.
  • Reasoning and DecisionThe model uses its internal reasoning capabilities to determine when new information needs to be retrieved and what specific information needs to be retrieved.
  • Dynamically adjust the number of iterationsBased on the complexity of the question and the relevance of the retrieved knowledge, the system can autonomously adjust the number of interactions with the search engine.
  • Performance improvementIt demonstrates superior performance across multiple benchmark tests, especially when handling complex and multi-hop question-answering tasks.
  • Enhance interpretabilityThe model uses natural language to express the iterative retrieval process, improving the model's interpretability and allowing users to understand the model's operation more intuitively.

AutoRAG's technical principles

  • LLM-based decision makingAutoRAG is built on the powerful decision-making capabilities of large language models, and achieves autonomous decision-making through fine-tuning and utilizing the model.
  • Multiple rounds of dialogueThe model interacts with the retrieval system in multiple rounds, simulating the information retrieval process that humans use when solving problems.
  • Iterative retrieval processIterative retrieval can be viewed as a dialogue process involving multiple iterations, each of which includes retrieval planning, information extraction, and answer inference.
  • Data Construction and TrainingAutomatically synthesize reasoning-based decision instructions, construct training datasets, and perform supervised fine-tuning of LLMs.
  • Reasoning typeIt incorporates three types of reasoning into iterative retrieval: retrieval planning, information extraction, and answer inference, simulating the human cognitive process.
  • Data filtering and formattingWhen generating data, filter and format the data to ensure the quality of reasoning and queries, as well as the accuracy of the final answer.

AutoRAG's project address

AutoRAG Application Scenarios

  • Intelligent question answering systemAs the core of an intelligent question-answering system, it processes user questions and retrieves accurate answers from a large amount of data.
  • Academic Research AssistantIt helps researchers quickly acquire knowledge in specific fields, supporting academic exploration and paper writing.
  • Enterprise Market AnalysisIt helps businesses extract insights from market data to support business strategy development.
  • Online education platformIt provides educational resources and automatically generates answers, enhancing the online learning experience.
  • Customer service automationProvide knowledge-based automated answers in customer service to improve response efficiency.