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

UrbanKGent:面向城市知识图谱构建的统一大语言模型智能体框架

UrbanKGent: A Unified Large Language Model Agent Framework for Urban Knowledge Graph Construction

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学)

Yansong Ning, Hao Liu

AI总结:

针对城市知识图谱构建依赖人工的问题,本文提出统一大语言模型智能体框架UrbanKGent,通过异质性地理空间指令生成、工具增强迭代轨迹优化及混合微调得到多规格智能体,在更低成本下性能显著优于现有基线与GPT-4,可高效构建更丰富的城市知识图谱。

摘要:

城市知识图谱作为一种新兴的基础组件,近年来被用于从多源城市数据中提炼关键知识,以支撑各类城市应用场景。尽管其应用前景广阔,但城市知识图谱构建(UrbanKGC)仍高度依赖人工工作,制约了其发展潜力。本文提出了UrbanKGent,一种用于城市知识图谱构建的统一大语言模型智能体框架。具体而言,我们首先通过异质性感知且融合地理空间信息的指令生成方法,为城市知识图谱构建任务(如关系三元组抽取、知识图谱补全)构建了富含知识的指令集。此外,我们提出了一个工具增强的迭代轨迹优化模块,用于优化和精炼从GPT-4中提取的轨迹。通过在Llama 2和Llama 3系列模型上使用增强后的轨迹进行混合指令微调,我们得到了城市知识图谱构建智能体系列,包含UrbanKGent-7/8/13B版本。我们在两个真实世界数据集上开展了综合评估,同时采用人工评估与GPT-4自评两种方式。实验结果表明,UrbanKGent系列不仅在城市知识图谱构建任务上显著优于31个基线模型,还以约低20倍的成本超越了当前最先进的大语言模型GPT-4,性能提升超过10%。与现有基准相比,UrbanKGent系列仅需五分之一的数据,就能构建出关系丰富度达数百倍的城市知识图谱。我们的数据和代码可在https://github.com/usail-hkust/UrbanKGent获取。

英文摘要:

Urban knowledge graph has recently worked as an emerging building block to distill critical knowledge from multi-sourced urban data for diverse urban application scenarios. Despite its promising benefits, urban knowledge graph construction (UrbanKGC) still heavily relies on manual effort, hindering its potential advancement. This paper presents UrbanKGent, a unified large language model agent framework, for urban knowledge graph construction. Specifically, we first construct the knowledgeable instruction set for UrbanKGC tasks (such as relational triplet extraction and knowledge graph completion) via heterogeneity-aware and geospatial-infused instruction generation. Moreover, we propose a tool-augmented iterative trajectory refinement module to enhance and refine the trajectories distilled from GPT-4. Through hybrid instruction fine-tuning with augmented trajectories on Llama 2 and Llama 3 family, we obtain UrbanKGC agent family, consisting of UrbanKGent-7/8/13B version. We perform a comprehensive evaluation on two real-world datasets using both human and GPT-4 self-evaluation. The experimental results demonstrate that UrbanKGent family can not only significantly outperform 31 baselines in UrbanKGC tasks, but also surpass the state-of-the-art LLM, GPT-4, by more than 10% with approximately 20 times lower cost. Compared with the existing benchmark, the UrbanKGent family could help construct an UrbanKG with hundreds of times richer relationships using only one-fifth of the data. Our data and code are available at https://github.com/usail-hkust/UrbanKGent.

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

↑