paper-with-me

홈 › Papers

How Do Large Language Models Understand Graph Patterns? A Benchmark for Graph Pattern Comprehension

2024-10-04 · Xinnan Dai, Haohao Qu, Yifen Shen, Bohang Zhang, Qihao Wen, Wenqi Fan, Dongsheng Li, Jiliang Tang, Caihua Shan

Benchmarking the capabilities and limitations of large language models (LLMs) in graph-related tasks is becoming an increasingly popular and crucial area of research. Recent studies have shown that LLMs exhibit a preliminary ability to understand graph structures and node features. However, the potential of LLMs in graph pattern mining remains largely unexplored. This is a key component in fields such as computational chemistry, biology, and social network analysis. To bridge this gap, this work introduces a comprehensive benchmark to assess LLMs' capabilities in graph pattern tasks. We have developed a benchmark that evaluates whether LLMs can understand graph patterns based on either terminological or topological descriptions. Additionally, our benchmark tests the LLMs' capacity to autonomously discover graph patterns from data. The benchmark encompasses both synthetic and real datasets, and a variety of models, with a total of 11 tasks and 7 models. Our experimental framework is designed for easy expansion to accommodate new models and datasets. Our findings reveal that: (1) LLMs have preliminary abilities to understand graph patterns, with O1-mini outperforming in the majority of tasks; (2) Formatting input data to align with the knowledge acquired during pretraining can enhance performance; (3) The strategies employed by LLMs may differ from those used in conventional algorithms.

📄 PDF Abstract BibTeX arXiv:2410.05298

Code (0)

등록된 구현이 없습니다.

Tasks

BenchmarkingComputational chemistry

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Detecting Differences Is Not Understanding Structure: Large Language Models Fail at Graph Isomorphism

2026-06-08 · Kumar Thushalika, Sukumar Kishanthan, Asela Hevapathige arxiv

Large language models (LLMs) have shown impressive performance on diverse reasoning tasks, yet their capacity for structural reasoning in graphs remains unclear. We investigate whether LLMs can genuinely understand graph…

Knowledge Graph Guided Semantic Evaluation of Language Models For User Trust

2023-05-08 · Kaushik Roy, Tarun Garg, Vedant Palit, Yuxin Zi 외

A fundamental question in natural language processing is - what kind of language structure and semantics is the language model capturing? Graph formats such as knowledge graphs are easy to evaluate as they explicitly exp…

Knowledge GraphsLanguage Modelling

AttackSeqBench: Benchmarking Large Language Models' Understanding of Sequential Patterns in Cyber Attacks

2025-03-05 · Javier Yong, Haokai Ma, Yunshan Ma, Anis Yusof 외

The observations documented in Cyber Threat Intelligence (CTI) reports play a critical role in describing adversarial behaviors, providing valuable insights for security practitioners to respond to evolving threats. Rece…

Benchmarkinggraph constructionQuestion Answering

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

2023-10-26 · Zeyang Zhang, Xin Wang, Ziwei Zhang, Haoyang Li 외

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…

BEACON: A Benchmark for Efficient and Accurate Counting of Subgraphs

2025-04-15 · Mohammad Matin Najafi, Xianju Zhu, Chrysanthi Kosyfaki, Laks V. S. Lakshmanan 외

Subgraph counting the task of determining the number of instances of a query pattern within a large graph lies at the heart of many critical applications, from analyzing financial networks and transportation systems to u…

BenchmarkingSubgraph Counting