arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.14358cs.LGcs.AIq-bio.BM
收藏

探索大型语言模型在图生成中的潜力

Exploring the Potential of Large Language Models in Graph Generation

Tsinghua University(清华大学);Peking University(北京大学)

Yang Yao, Xin Wang, Zeyang Zhang, Yijian Qin, Ziwei Zhang, Xu Chu, Yuekui Yang, Wenwu Zhu, Hong Mei

AI总结:

本文提出LLM4GraphGen框架,通过系统任务设计和广泛实验探索LLMs在图生成中的能力,发现GPT-4等模型展现初步生成能力,但少样本和思维链提示效果不稳定。

摘要:

大型语言模型(LLMs)在许多领域取得了巨大成功,近期的研究探索了将LLMs用于图判别任务,如节点分类。然而,LLMs在图生成方面的能力在文献中仍未被探索。图生成要求LLM生成具有给定属性的图,这在药物发现等现实世界应用中具有价值,但往往更具挑战性。在本文中,我们提出LLM4GraphGen,通过系统的任务设计和广泛的实验来探索LLMs在图生成方面的能力。具体而言,我们提出了若干量身定制的任务并进行了全面的实验,以解决关于LLMs理解不同图结构规则的能力、捕获结构类型分布的能力,以及利用领域知识进行基于属性的图生成的关键问题。我们的评估表明,LLMs,尤其是GPT-4,在图生成任务中展现出初步能力,包括基于规则和基于分布的生成。我们还观察到,流行的提示方法,如少样本和思维链提示,并不能持续提升性能。此外,LLMs在生成具有特定属性的分子方面显示出潜力。这些发现可作为设计良好的基于LLMs的图生成模型的基础,并提供有价值的见解和进一步研究。

英文摘要:

Large language models (LLMs) have achieved great success in many fields, and recent works have studied exploring LLMs for graph discriminative tasks such as node classification. However, the abilities of LLMs for graph generation remain unexplored in the literature. Graph generation requires the LLM to generate graphs with given properties, which has valuable real-world applications such as drug discovery, while tends to be more challenging. In this paper, we propose LLM4GraphGen to explore the ability of LLMs for graph generation with systematical task designs and extensive experiments. Specifically, we propose several tasks tailored with comprehensive experiments to address key questions regarding LLMs' understanding of different graph structure rules, their ability to capture structural type distributions, and their utilization of domain knowledge for property-based graph generation. Our evaluations demonstrate that LLMs, particularly GPT-4, exhibit preliminary abilities in graph generation tasks, including rule-based and distribution-based generation. We also observe that popular prompting methods, such as few-shot and chain-of-thought prompting, do not consistently enhance performance. Besides, LLMs show potential in generating molecules with specific properties. These findings may serve as foundations for designing good LLMs based models for graph generation and provide valuable insights and further research.

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

↑