超越分块与图:基于三元组驱动的检索增强生成
Beyond Chunks and Graphs: Retrieval-Augmented Generation through Triplet-Driven Thinking
AI总结:
提出T$^2$RAG框架,利用三元组知识库和迭代检索,在六数据集上平均性能提升11%,检索成本降低45%。
摘要:
检索增强生成(RAG)对于减少大语言模型(LLM)的幻觉和引入外部知识至关重要。然而,高级RAG系统面临性能与效率之间的权衡。多轮RAG方法实现了强推理能力,但导致过多的LLM调用和令牌成本,而图RAG方法则因计算昂贵、易错的图构建和检索冗余而受到影响。为解决这些挑战,我们提出T$^2$RAG,一种新颖的框架,它在简单的、无图的原子三元组知识库上运行。T$^2$RAG利用LLM将问题分解为带有占位符的可搜索三元组,然后通过从三元组数据库中检索证据来迭代地解析这些三元组。实验结果表明,T$^2$RAG显著优于最先进的多轮和图RAG方法,在六个数据集上平均性能提升高达11%,同时检索成本降低高达45%。我们的代码可在此https URL获取。
英文摘要:
Retrieval-augmented generation (RAG) is critical for reducing hallucinations and incorporating external knowledge into Large Language Models (LLMs). However, advanced RAG systems face a trade-off between performance and efficiency. Multi-round RAG approaches achieve strong reasoning but incur excessive LLM calls and token costs, while Graph RAG methods suffer from computationally expensive, error-prone graph construction and retrieval redundancy. To address these challenges, we propose T$^2$RAG, a novel framework that operates on a simple, graph-free knowledge base of atomic triplets. T$^2$RAG leverages an LLM to decompose questions into searchable triplets with placeholders, which it then iteratively resolves by retrieving evidence from the triplet database. Empirical results show that T$^2$RAG significantly outperforms state-of-the-art multi-round and Graph RAG methods, achieving an average performance gain of up to 11\% across six datasets while reducing retrieval costs by up to 45\%. Our code is available at https://github.com/rockcor/T2RAG
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。