arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.14300cs.AIcs.CLcs.LGcs.SI
收藏

快速图思考:大语言模型在知识图谱上的更宽、更深、更快推理

Fast Think-on-Graph: Wider, Deeper and Faster Reasoning of Large Language Model on Knowledge Graph

School of Cyberspace Security, Beijing University Of Posts And Telecommunications(北京邮电大学网络空间安全学院);Peng Cheng Laboratory(鹏城实验室);School of Computer Science and Technology, Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳)计算机科学与技术学院)

Xujian Liang, Zhaoquan Gu

AI总结:

针对现有图检索增强生成在复杂问题上的局限,提出FastToG范式,通过社区检测和两阶段剪枝实现更宽、更深、更快的知识图谱推理,实验证明其准确性、速度和可解释性均优于先前工作。

摘要:

图检索增强生成(GRAG)是一种新颖的范式,它通过将知识图谱(KG)等图信息整合到大规模语言模型(LLM)中,进一步推进了朴素的RAG系统,以缓解幻觉问题。然而,现有的GRAG仍存在局限性:1)简单的范式通常因从KG中捕获的关联狭窄且浅显而无法处理复杂问题;2)与KG强耦合的方法在图密集时往往计算成本高且耗时。在本文中,我们提出了快速图思考(FastToG),一种创新范式,使LLM能够在KG内进行“社区到社区”的思考。为此,FastToG采用社区检测以捕获更深层的关联,并采用两阶段社区剪枝——粗剪枝和细剪枝——以实现更快的检索。此外,我们还开发了两种社区到文本的方法,将社区的图结构转换为文本形式,以便LLM更好地理解。实验结果表明了FastToG的有效性,与先前工作相比,展示了更高的准确性、更快的推理速度和更好的可解释性。

英文摘要:

Graph Retrieval Augmented Generation (GRAG) is a novel paradigm that takes the naive RAG system a step further by integrating graph information, such as knowledge graph (KGs), into large-scale language models (LLMs) to mitigate hallucination. However, existing GRAG still encounter limitations: 1) simple paradigms usually fail with the complex problems due to the narrow and shallow correlations capture from KGs 2) methods of strong coupling with KGs tend to be high computation cost and time consuming if the graph is dense. In this paper, we propose the Fast Think-on-Graph (FastToG), an innovative paradigm for enabling LLMs to think ``community by community" within KGs. To do this, FastToG employs community detection for deeper correlation capture and two stages community pruning - coarse and fine pruning for faster retrieval. Furthermore, we also develop two Community-to-Text methods to convert the graph structure of communities into textual form for better understanding by LLMs. Experimental results demonstrate the effectiveness of FastToG, showcasing higher accuracy, faster reasoning, and better explainability compared to the previous works.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑