AU-RAG: Agent-based Universal Retrieval Augmented Generation
Open Access
- 8 December 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 2-11
Abstract
Retrieval Augmented Generation (RAG) has been effectively used to improve the accuracy of question-answering (Q&A) systems powered by Large Language Models (LLMs) by integrating local knowledge and more up-to-date content. However, traditional RAG methods, including those with re-ranking mechanisms, face challenges when dealing with large, frequently updated data sources or when accessing sources exclusively via APIs, as they require pre-encoding all content into embedding vectors. To address these limitations, we introduce Agent-based Universal RAG (AU-RAG), a novel approach that augments data sources with descriptive metadata, allowing an agent to dynamically search through diverse data pools. This agent-driven system can learn from examples to retrieve and consolidate data from various sources on the fly, functioning as a more flexible and adaptive RAG. We demonstrate AU-RAG's functionality with a financial analysis example and evaluate its performance using a multi-source QA dataset. The results show that AU-RAG performs comparably to RAG with re-ranking in data retrieval tasks while also demonstrating an enhanced ability to intelligently learn and access new data sources from examples, making it a robust solution for dynamic and complex information environments.Keywords
Funding Information
- National Research Foundation of Korea(NRF) (RS-2023-00222663, RS-2023-00262885)
- BK21 FOUR (Fostering Outstanding Universities for Research)
This publication has 8 references indexed in Scilit:
- A survey on large language model based autonomous agentsFrontiers of Computer Science, 2024
- Lost in the Middle: How Language Models Use Long ContextsTransactions of the Association for Computational Linguistics, 2024
- TAT-QA: A Question Answering Benchmark on a Hybrid of Tabular and Textual Content in Finance2021
- Billion-Scale Similarity Search with GPUsIEEE Transactions on Big Data, 2019
- The TSIMMIS Approach to Mediation: Data Models and LanguagesJournal of Intelligent Information Systems, 1997
- The Garlic projectACM SIGMOD Record, 1996
- Federated database systems for managing distributed, heterogeneous, and autonomous databasesACM Computing Surveys, 1990
- A federated architecture for information managementACM Transactions on Information Systems, 1985