本文提出基于大语言模型的 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.
ChatGraph: Interpretable Text Classification by Converting ChatGPT Knowledge to Graphs
University of Georgia(佐治亚大学);University of Texas at Arlington(德克萨斯大学阿灵顿分校);New York University Shanghai(上海纽约大学);Massachusetts General Hospital(麻省总医院);Harvard Medical School(哈佛医学院)
AGENTiGraph: An Interactive Knowledge Graph Platform for LLM-based Chatbots Utilizing Private Data
The University of Tokyo(东京大学);Universität Bielefeld(比勒费尔德大学);Duke-NUS Medical School(杜克-新加坡国立大学医学院);Universidad de Alicante(阿利坎特大学);Yale University(耶鲁大学);Xiamen University(厦门大学);Weill Cornell Medicine(威尔康奈尔医学院);Henan University(河南大学)
Knowledge Graph Question Answering for Materials Science (KGQA4MAT): Developing Natural Language Interface for Metal-Organic Frameworks Knowledge Graph (MOF-KG) Using LLM
College of Computing and Informatics(计算与信息学院);Drexel University(德雷塞尔大学);University of Central Florida(中佛罗里达大学);Colorado School of Mines(科罗拉多矿业学院)
Solving the multiplication problem of a large language model system using a graph-based method
Firat University(菲拉特大学);Erzurum Technical University(埃尔祖鲁姆技术大学);University of Southern Queensland(南昆士兰大学);National Heart Centre Singapore(新加坡国家心脏中心);Duke-NUS Medical School(杜克-新加坡国立大学医学院);University of New England(新英格兰大学);University of Technology Sydney(悉尼科技大学)
ChatPD: An LLM-driven Paper-Dataset Networking System
Key Lab of High Confidence Software Technologies (Peking University), Ministry of Education(高可信软件技术重点实验室(北京大学));School of Computer Science, Peking University(计算机学院);Key Laboratory of Process Optimization and Intelligent Decision-making, Ministry of Education(过程优化与智能决策重点实验室);School of Management, Hefei University of Technology(管理学院)
ChatKBQA: A Generate-then-Retrieve Framework for Knowledge Base Question Answering with Fine-tuned Large Language Models
School of Computer Science, Beijing University of Posts and Telecommunications(北京邮电大学计算机学院);School of Artificial Intelligence, Beijing University of Posts and Telecommunications(北京邮电大学人工智能学院);Beijing Institute of Computer Technology and Application(北京计算机技术及应用研究所);Inspur Group Co., Ltd.(浪潮集团有限公司);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院)
Synergizing LLMs and Knowledge Graphs: A Novel Approach to Software Repository-Related Question Answering
Data-driven Analysis of Software (DAS) Lab Department of Computer Science \& Software Engineering Concordia University Montreal QC Canada;Concordia University
Unlocking the Power of Large Language Models for Entity Alignment
Institute of Computing Technology, CAS(中国科学院计算技术研究所);School of Computer Science and Technology, University of Chinese Academy of Science(中国科学院大学计算机科学与技术学院);IDEA Research, International Digital Economy Academy(国际数字经济学院IDEA研究院)
Hey Chat, Can You Teach Me? Structuring Socratic Dialogue for Human Learning in the Wild
School of Computing and Information Systems, Singapore Management University(新加坡管理大学计算与信息系统学院);Department of Management Science and Information Systems, Rutgers Business School(罗格斯大学商学院管理科学与信息系统系)
A Comprehensive Survey on Pretrained Foundation Models: A History from BERT to ChatGPT
Michigan State University(密歇根州立大学);Lehigh University(理海大学);Beihang University(北京航空航天大学);Macquarie University(麦考瑞大学);Nanyang Technological University(南洋理工大学);University of California San Diego(加利福尼亚大学圣地亚哥分校);Salesforce AI Research(Salesforce人工智能研究院);Duke University(杜克大学);University of Illinois at Chicago(伊利诺伊大学芝加哥分校)
Traceable Knowledge Graph Reasoning Enables LLM-Assisted Decision Support for Industrial VOCs in the Steel Industry
Hunan Key Laboratory of Carbon Neutrality and Intelligent Energy, School of New Energy and Environment, Hunan University of Technology and Business(湖南碳中和与智能能源重点实验室,新能环境学院,湖南科技商务大学);Aerospace Kaitian Environmental Technology Co., Ltd.(航天凯天环境科技有限公司);School of Energy Science and Engineering, Central South University(能源科学与工程学院,中南大学)
Supporting Student Decisions on Learning Recommendations: An LLM-Based Chatbot with Knowledge Graph Contextualization for Conversational Explainability and Mentoring