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

基于大语言模型的多智能体图推理方法

Scalable and Accurate Graph Reasoning with LLM-based Multi-Agents

Yuwei Hu, Runlin Lei, Xinyi Huang, Zhewei Wei, Yongchao Liu

AI总结:

基于大语言模型的多智能体图推理方法,通过分解图问题为节点中心任务,提升图推理的准确性和扩展性。

摘要:

近期研究探索了使用大语言模型(LLMs)解决复杂图推理任务的应用。然而,由于图结构的复杂性和LLMs处理长文本的固有局限性,当前方法在小规模图和简单任务上也难以达到满意的准确性。为了解决这些挑战,我们引入了GraphAgent-Reasoner,一种无需微调的框架,利用多智能体协作策略进行显式和精确的图推理。受分布式图计算理论的启发,我们的框架将图问题分解为更小的、以节点为中心的任务,并将这些任务分布到多个智能体中。智能体协作解决整体问题,显著减少了单个LLM处理的信息和复杂性,从而提高图推理的准确性。通过简单增加智能体数量,GraphAgent-Reasoner可以高效扩展以处理超过1000个节点的更大图。在GraphInstruct数据集上评估,我们的框架在多项式时间图推理任务上表现出几乎完美的准确性,显著优于现有最佳模型,包括闭源和微调的开源变种。我们的框架还展示了处理现实世界图推理应用的能力,如网页重要性分析。

英文摘要:

Recent research has explored the use of Large Language Models (LLMs) for tackling complex graph reasoning tasks. However, due to the intricacies of graph structures and the inherent limitations of LLMs in handling long text, current approaches often fail to deliver satisfactory accuracy, even on small-scale graphs and simple tasks. To address these challenges, we introduce GraphAgent-Reasoner, a fine-tuning-free framework that utilizes a multi-agent collaboration strategy for explicit and precise graph reasoning. Inspired by distributed graph computation theory, our framework decomposes graph problems into smaller, node-centric tasks that are distributed among multiple agents. The agents collaborate to solve the overall problem, significantly reducing the amount of information and complexity handled by a single LLM, thus enhancing the accuracy of graph reasoning. By simply increasing the number of agents, GraphAgent-Reasoner can efficiently scale to accommodate larger graphs with over 1,000 nodes. Evaluated on the GraphInstruct dataset, our framework demonstrates near-perfect accuracy on polynomial-time graph reasoning tasks, significantly outperforming the best available models, both closed-source and fine-tuned open-source variants. Our framework also demonstrates the capability to handle real-world graph reasoning applications such as webpage importance analysis.

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

↑