paper-with-me

Papers

Can Large Language Models Analyze Graphs like Professionals? A Benchmark, Datasets and Models

2024-09-29 · Xin Li, Weize Chen, Qizhi Chu, Haopeng Li, Zhaojun Sun, Ran Li, Chen Qian, Yiwei Wei, Zhiyuan Liu, Chuan Shi, Maosong Sun, Cheng Yang

The need to analyze graphs is ubiquitous across various fields, from social networks to biological research and recommendation systems. Therefore, enabling the ability of large language models (LLMs) to process graphs is an important step toward more advanced general intelligence. However, current LLM benchmarks on graph analysis require models to directly reason over the prompts describing graph topology, and are thus limited to small graphs with only a few dozens of nodes. In contrast, human experts typically write programs based on popular libraries for task solving, and can thus handle graphs with different scales. To this end, a question naturally arises: can LLMs analyze graphs like professionals? In this paper, we introduce ProGraph, a manually crafted benchmark containing 3 categories of graph tasks. The benchmark expects solutions based on programming instead of directly reasoning over raw inputs. Our findings reveal that the performance of current LLMs is unsatisfactory, with the best model achieving only 36% accuracy. To bridge this gap, we propose LLM4Graph datasets, which include crawled documents and auto-generated codes based on 6 widely used graph libraries. By augmenting closed-source LLMs with document retrieval and fine-tuning open-source ones on the codes, we show 11-32% absolute improvements in their accuracies. Our results underscore that the capabilities of LLMs in handling structured data are still under-explored, and show the effectiveness of LLM4Graph in enhancing LLMs' proficiency of graph analysis. The benchmark, datasets and enhanced open-source models are available at https://github.com/BUPT-GAMMA/ProGraph.

📄 PDF Abstract BibTeX arXiv:2409.19667

Code (2)

bupt-gamma/prograph 공식 구현
bupt-gamma/graphteam

Tasks

Recommendation Systems

Similar Papers 제목 키워드 기반

Can ChatGPT Perform Reasoning Using the IRAC Method in Analyzing Legal Scenarios Like a Lawyer?

2023-10-23 · Xiaoxi Kang, Lizhen Qu, Lay-Ki Soon, Adnan Trakic 외

Large Language Models (LLMs), such as ChatGPT, have drawn a lot of attentions recently in the legal domain due to its emergent ability to tackle a variety of legal tasks. However, it is still unknown if LLMs are able to …

Legal Reasoning

Using Retriever Augmented Large Language Models for Attack Graph Generation

2024-08-11 · Renascence Tarafder Prapty, Ashish Kundu, Arun Iyengar

As the complexity of modern systems increases, so does the importance of assessing their security posture through effective vulnerability management and threat modeling techniques. One powerful tool in the arsenal of cyb…

Graph GenerationManagement

Enhancing Knowledge Graph Construction Using Large Language Models

2023-05-08 · Milena Trajanoska, Riste Stojanov, Dimitar Trajanov

The growing trend of Large Language Models (LLM) development has attracted significant attention, with models for various applications emerging consistently. However, the combined application of Large Language Models wit…

graph constructionJoint Entity and Relation ExtractionKnowledge GraphsRelation Extraction

Performance of Large Language Models in Supporting Medical Diagnosis and Treatment

2025-04-14 · Diogo Sousa, Guilherme Barbosa, Catarina Rocha, Dulce Oliveira

The integration of Large Language Models (LLMs) into healthcare holds significant potential to enhance diagnostic accuracy and support medical treatment planning. These AI-driven systems can analyze vast datasets, assist…

Decision MakingDiagnosticMedical DiagnosisPredicting Patient Outcomes

SynGraphy: Succinct Summarisation of Large Networks via Small Synthetic Representative Graphs

2023-02-15 · Jérôme Kunegis, Pawan Kumar, Jun Sun, Anna Samoilenko 외

We describe SynGraphy, a method for visually summarising the structure of large network datasets that works by drawing smaller graphs generated to have similar structural properties to the input graphs. Visualising compl…

Graph MiningGraph Sampling