Multi-Source Knowledge Pruning for Retrieval-Augmented Generation: A Benchmark and Empirical Study
Shuo Yu, Mingyue Cheng, Qi Liu, Daoyu Wang, Jiqian Yang, Jie Ouyang, Yucong Luo, Chenyi Lei, Enhong Chen
TL;DR
The paper tackles multi-source knowledge integration in retrieval-augmented generation (RAG) by standardizing a benchmark that combines structured API data and unstructured web content. It introduces PruningRAG, a plug-and-play framework that uses coarse- and fine-grained pruning to filter both sources and content, with tailored retrieval for web and API sources and knowledge-enhanced reasoning via CoT and ICL. By organizing inputs so the query follows the retrieved context and evaluating with both exact-match and semantic checks, the approach reduces hallucinations while preserving accuracy. Empirical results show consistent improvements across diverse RAG baselines and model scales, and the authors release the dataset and code to accelerate future research in multi-source RAG.
Abstract
Retrieval-augmented generation (RAG) is increasingly recognized as an effective approach to mitigating the hallucination of large language models (LLMs) through the integration of external knowledge. While numerous efforts, most studies focus on a single type of external knowledge source. However, in real-world applications, most situations involve diverse knowledge from various sources, yet this area has been less explored. The main dilemma is the lack of a suitable dataset containing multiple knowledge sources and pre-exploration of the associated issues. To address these challenges, we standardize a benchmark dataset that combines structured and unstructured knowledge across diverse and complementary domains. Based on this dataset, we further develop a plug-and-play RAG framework, \textbf{PruningRAG}, whose main characteristic is the use of multi-granularity pruning strategies to optimize the integration of relevant information while minimizing misleading context. It consistently improves performance across various existing RAG variants, demonstrating its robustness and broad applicability. Building upon the standardized dataset and PruningRAG, we also report a series of experimental results, as well as insightful findings. Our dataset and code are publicly available\footnote{https://github.com/USTCAGI/PruningRAG}, with the aim of advancing future research in the RAG community.
