arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2310.17110cs.LG
收藏

LLM4DyG:大型语言模型能否解决动态图上的时空问题?

LLM4DyG: Can Large Language Models Solve Spatial-Temporal Problems on Dynamic Graphs?

Tsinghua University(清华大学)

Zeyang Zhang, Xin Wang, Ziwei Zhang, Haoyang Li, Yijian Qin, Wenwu Zhu

AI总结:

提出LLM4DyG基准,从时空维度系统评估LLM的动态图推理能力,并设计DST2提示方法以提升其表现。

摘要:

在大型语言模型(LLM)越来越多地被用于各种任务的时代,探索LLM处理网络数据(尤其是图数据)的能力正受到越来越多关注。动态图捕捉网络随时间演化的模式,在真实世界网络数据中无处不在。评估LLM理解动态图上时空信息的能力,对于其在网络应用中的采用至关重要,而这在现有文献中仍未得到探索。本文通过提出评估LLM在动态图上的时空理解能力来弥合这一空白;据我们所知,这是首次开展此类研究。具体而言,我们提出LLM4DyG基准,包含九个专门设计的任务,从时间和空间两个维度评估LLM的能力。随后,我们进行大量实验,分析不同数据生成器、数据统计特征、提示技术和LLM对模型性能的影响。最后,我们为动态图上的LLM提出解耦时空思维(Disentangled Spatial-Temporal Thoughts,DST2),以增强LLM的时空理解能力。我们的主要观察包括:1)LLM在动态图上具备初步的时空理解能力;2)随着图规模和密度增加,动态图任务对LLM而言难度上升,但任务对时间跨度和数据生成机制并不敏感;3)所提出的DST2提示方法能够在大多数任务上帮助提升LLM在动态图上的时空理解能力。数据和代码已在GitHub公开发布。

英文摘要:

In an era marked by the increasing adoption of Large Language Models (LLMs) for various tasks, there is a growing focus on exploring LLMs' capabilities in handling web data, particularly graph data. Dynamic graphs, which capture temporal network evolution patterns, are ubiquitous in real-world web data. Evaluating LLMs' competence in understanding spatial-temporal information on dynamic graphs is essential for their adoption in web applications, which remains unexplored in the literature. In this paper, we bridge the gap via proposing to evaluate LLMs' spatial-temporal understanding abilities on dynamic graphs, to the best of our knowledge, for the first time. Specifically, we propose the LLM4DyG benchmark, which includes nine specially designed tasks considering the capability evaluation of LLMs from both temporal and spatial dimensions. Then, we conduct extensive experiments to analyze the impacts of different data generators, data statistics, prompting techniques, and LLMs on the model performance. Finally, we propose Disentangled Spatial-Temporal Thoughts (DST2) for LLMs on dynamic graphs to enhance LLMs' spatial-temporal understanding abilities. Our main observations are: 1) LLMs have preliminary spatial-temporal understanding abilities on dynamic graphs, 2) Dynamic graph tasks show increasing difficulties for LLMs as the graph size and density increase, while not sensitive to the time span and data generation mechanism, 3) the proposed DST2 prompting method can help to improve LLMs' spatial-temporal understanding abilities on dynamic graphs for most tasks. The data and codes are publicly available at Github.

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

↑