GraphAgent用智能体自动构建知识图谱并完成复杂任务
GraphAgent: Agentic Graph Language Assistant
- 三智能体协同:生成图、规划任务、执行操作
- 在节点分类与文本生成任务中表现优异,支持多场景
- 适合需要理解复杂关系的智能问答与数据生成应用
现实世界数据以结构化(如图连接)和非结构化(如文本、视觉信息)形式存在,包含显式关联(如社交关系、用户行为)和隐式语义实体依赖,常通过知识图谱展现。本文提出GraphAgent,一种自动化智能体流程,同时处理显式图依赖与隐式图增强语义依赖,适用于预测任务(如节点分类)和生成任务(如文本生成)。GraphAgent包含三个核心组件:(i) 图生成智能体,构建反映复杂语义依赖的知识图;(ii) 任务规划智能体,通过智能体自规划解析多样用户查询并制定任务;(iii) 任务执行智能体,高效执行计划任务,自动匹配并调用工具响应查询。各智能体协同工作,融合语言模型与图语言模型,挖掘深层关系信息与数据语义依赖。在多个异构数据集上的广泛实验验证了GraphAgent在各类图相关预测与文本生成任务中的有效性。代码已开源:https://github.com/HKUDS/GraphAgent。
原文摘要 · Abstract (English)
Real-world data is represented in both structured (e.g., graph connections) and unstructured (e.g., textual, visual information) formats, encompassing complex relationships that include explicit links (such as social connections and user behaviors) and implicit interdependencies among semantic entities, often illustrated through knowledge graphs. In this work, we propose GraphAgent, an automated agent pipeline that addresses both explicit graph dependencies and implicit graph-enhanced semantic inter-dependencies, aligning with practical data scenarios for predictive tasks (e.g., node classification) and generative tasks (e.g., text generation). GraphAgent comprises three key components: (i) a Graph Generator Agent that builds knowledge graphs to reflect complex semantic dependencies; (ii) a Task Planning Agent that interprets diverse user queries and formulates corresponding tasks through agentic self-planning; and (iii) a Task Execution Agent that efficiently executes planned tasks while automating tool matching and invocation in response to user queries. These agents collaborate seamlessly, integrating language models with graph language models to uncover intricate relational information and data semantic dependencies. Through extensive experiments on various graph-related predictive and text generative tasks on diverse datasets, we demonstrate the effectiveness of our GraphAgent across various settings. We have made our proposed GraphAgent open-source at: https://github.com/HKUDS/GraphAgent.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。