Which Modality should I use -- Text, Motif, or Image? : Understanding Graphs with Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Das, Debarati, Gupta, Ishaan, Srivastava, Jaideep, Kang, Dongyeop
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910366641946624
author Das, Debarati
Gupta, Ishaan
Srivastava, Jaideep
Kang, Dongyeop
author_facet Das, Debarati
Gupta, Ishaan
Srivastava, Jaideep
Kang, Dongyeop
contents Our research integrates graph data with Large Language Models (LLMs), which, despite their advancements in various fields using large text corpora, face limitations in encoding entire graphs due to context size constraints. This paper introduces a new approach to encoding a graph with diverse modalities, such as text, image, and motif, coupled with prompts to approximate a graph's global connectivity, thereby enhancing LLMs' efficiency in processing complex graph structures. The study also presents GraphTMI, a novel benchmark for evaluating LLMs in graph structure analysis, focusing on homophily, motif presence, and graph difficulty. Key findings indicate that the image modality, especially with vision-language models like GPT-4V, is superior to text in balancing token limits and preserving essential information and outperforms prior graph neural net (GNN) encoders. Furthermore, the research assesses how various factors affect the performance of each encoding modality and outlines the existing challenges and potential future developments for LLMs in graph understanding and reasoning tasks. All data will be publicly available upon acceptance.
format Preprint
id arxiv_https___arxiv_org_abs_2311_09862
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Which Modality should I use -- Text, Motif, or Image? : Understanding Graphs with Large Language Models
Das, Debarati
Gupta, Ishaan
Srivastava, Jaideep
Kang, Dongyeop
Computation and Language
Social and Information Networks
Our research integrates graph data with Large Language Models (LLMs), which, despite their advancements in various fields using large text corpora, face limitations in encoding entire graphs due to context size constraints. This paper introduces a new approach to encoding a graph with diverse modalities, such as text, image, and motif, coupled with prompts to approximate a graph's global connectivity, thereby enhancing LLMs' efficiency in processing complex graph structures. The study also presents GraphTMI, a novel benchmark for evaluating LLMs in graph structure analysis, focusing on homophily, motif presence, and graph difficulty. Key findings indicate that the image modality, especially with vision-language models like GPT-4V, is superior to text in balancing token limits and preserving essential information and outperforms prior graph neural net (GNN) encoders. Furthermore, the research assesses how various factors affect the performance of each encoding modality and outlines the existing challenges and potential future developments for LLMs in graph understanding and reasoning tasks. All data will be publicly available upon acceptance.
title Which Modality should I use -- Text, Motif, or Image? : Understanding Graphs with Large Language Models
topic Computation and Language
Social and Information Networks
url https://arxiv.org/abs/2311.09862