arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.01238cs.CL
收藏

EffiQA:基于知识图谱上策略性多模型协作的高效问答

EffiQA: Efficient Question-Answering with Strategic Multi-Model Collaboration on Knowledge Graphs

National University of Defense Technology(国防科技大学)

Zixuan Dong, Baoyun Peng, Yufei Wang, Jia Fu, Xiaodong Wang, Yongxue Shan, Xin Zhou

AI总结:

提出EffiQA框架,通过全局规划、高效KG探索和自我反思的迭代范式,在LLMs与知识图谱整合中实现推理准确性与计算成本的最优平衡。

摘要:

尽管大型语言模型(LLMs)在自然语言处理中展现了卓越的能力,但它们在处理涉及知识图谱(KGs)的复杂、多步推理任务时仍面临挑战。现有的整合LLMs与KGs的方法要么未能充分利用LLMs的推理能力,要么因紧密耦合而产生高昂的计算成本。为解决这些局限性,我们提出了一种名为EffiQA的新型协作框架,该框架通过迭代范式在性能与效率之间取得平衡。EffiQA包含三个阶段:全局规划、高效KG探索和自我反思。具体而言,EffiQA利用LLMs的常识能力,通过全局规划探索潜在的推理路径。随后,它将语义剪枝卸载到一个小的插件模型上,以实现高效的KG探索。最后,探索结果被反馈给LLMs进行自我反思,从而进一步改进全局规划和高效KG探索。在多个KBQA基准上的实证证据表明了EffiQA的有效性,在推理准确性与计算成本之间达到了最优平衡。我们希望所提出的新框架能通过重新定义LLMs与KGs的整合,为高效、知识密集型查询铺平道路,促进未来基于知识的问答研究。

英文摘要:

While large language models (LLMs) have shown remarkable capabilities in natural language processing, they struggle with complex, multi-step reasoning tasks involving knowledge graphs (KGs). Existing approaches that integrate LLMs and KGs either underutilize the reasoning abilities of LLMs or suffer from prohibitive computational costs due to tight coupling. To address these limitations, we propose a novel collaborative framework named EffiQA that can strike a balance between performance and efficiency via an iterative paradigm. EffiQA consists of three stages: global planning, efficient KG exploration, and self-reflection. Specifically, EffiQA leverages the commonsense capability of LLMs to explore potential reasoning pathways through global planning. Then, it offloads semantic pruning to a small plug-in model for efficient KG exploration. Finally, the exploration results are fed to LLMs for self-reflection to further improve the global planning and efficient KG exploration. Empirical evidence on multiple KBQA benchmarks shows EffiQA's effectiveness, achieving an optimal balance between reasoning accuracy and computational costs. We hope the proposed new framework will pave the way for efficient, knowledge-intensive querying by redefining the integration of LLMs and KGs, fostering future research on knowledge-based question answering.

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

↑