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

ChatGraph:与你的图对话

ChatGraph: Chat with Your Graphs

Guangzhou University(广州大学);Hong Kong Baptist University(香港浸会大学);Zhengzhou University(郑州大学)

Yun Peng, Sen Lin, Qian Chen, Lyu Xu, Xiaojun Ren, Yafei Li, Jianliang Xu

AI总结:

本文提出基于大语言模型的 ChatGraph 框架,通过 API 检索、图感知 LLM 和 API 链微调三个模块,使用户能用自然语言灵活完成图分析任务。

摘要:

图分析在现实应用中具有基础性地位。传统方法依赖类 SPARQL 语言或点击拖拽界面来与图数据交互。然而,这些方法要么要求用户具备较高的编程技能,要么仅支持有限的图分析功能。为解决这些局限,我们提出一个基于大语言模型(LLM)的框架,名为 ChatGraph。借助 ChatGraph,用户可以通过自然语言与图交互,使其比传统方法更易用、更灵活。ChatGraph 的核心在于基于对用户提示中输入的文本和图的理解,生成图分析 API 链。为实现这一目标,ChatGraph 包含三个主要模块:一个用于检索相关 API 的 API 检索模块,一个使 LLM 能够理解图的图感知 LLM 模块,以及一个面向 API 链的微调模块,用于引导 LLM 生成 API 链。

英文摘要:

Graph analysis is fundamental in real-world applications. Traditional approaches rely on SPARQL-like languages or clicking-and-dragging interfaces to interact with graph data. However, these methods either require users to possess high programming skills or support only a limited range of graph analysis functionalities. To address the limitations, we propose a large language model (LLM)-based framework called ChatGraph. With ChatGraph, users can interact with graphs through natural language, making it easier to use and more flexible than traditional approaches. The core of ChatGraph lies in generating chains of graph analysis APIs based on the understanding of the texts and graphs inputted in the user prompts. To achieve this, ChatGraph consists of three main modules: an API retrieval module that searches for relevant APIs, a graph-aware LLM module that enables the LLM to comprehend graphs, and an API chain-oriented finetuning module that guides the LLM in generating API chains.

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

↑