Beyond Graphs: Can Large Language Models Comprehend Hypergraphs?

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Feng, Yifan, Yang, Chengwu, Hou, Xingliang, Du, Shaoyi, Ying, Shihui, Wu, Zongze, Gao, Yue
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910652604350464
author Feng, Yifan
Yang, Chengwu
Hou, Xingliang
Du, Shaoyi
Ying, Shihui
Wu, Zongze
Gao, Yue
author_facet Feng, Yifan
Yang, Chengwu
Hou, Xingliang
Du, Shaoyi
Ying, Shihui
Wu, Zongze
Gao, Yue
contents Existing benchmarks like NLGraph and GraphQA evaluate LLMs on graphs by focusing mainly on pairwise relationships, overlooking the high-order correlations found in real-world data. Hypergraphs, which can model complex beyond-pairwise relationships, offer a more robust framework but are still underexplored in the context of LLMs. To address this gap, we introduce LLM4Hypergraph, the first comprehensive benchmark comprising 21,500 problems across eight low-order, five high-order, and two isomorphism tasks, utilizing both synthetic and real-world hypergraphs from citation networks and protein structures. We evaluate six prominent LLMs, including GPT-4o, demonstrating our benchmark's effectiveness in identifying model strengths and weaknesses. Our specialized prompting framework incorporates seven hypergraph languages and introduces two novel techniques, Hyper-BAG and Hyper-COT, which enhance high-order reasoning and achieve an average 4% (up to 9%) performance improvement on structure classification tasks. This work establishes a foundational testbed for integrating hypergraph computational capabilities into LLMs, advancing their comprehension. The source codes are at https://github.com/iMoonLab/LLM4Hypergraph.
format Preprint
id arxiv_https___arxiv_org_abs_2410_10083
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Beyond Graphs: Can Large Language Models Comprehend Hypergraphs?
Feng, Yifan
Yang, Chengwu
Hou, Xingliang
Du, Shaoyi
Ying, Shihui
Wu, Zongze
Gao, Yue
Artificial Intelligence
Existing benchmarks like NLGraph and GraphQA evaluate LLMs on graphs by focusing mainly on pairwise relationships, overlooking the high-order correlations found in real-world data. Hypergraphs, which can model complex beyond-pairwise relationships, offer a more robust framework but are still underexplored in the context of LLMs. To address this gap, we introduce LLM4Hypergraph, the first comprehensive benchmark comprising 21,500 problems across eight low-order, five high-order, and two isomorphism tasks, utilizing both synthetic and real-world hypergraphs from citation networks and protein structures. We evaluate six prominent LLMs, including GPT-4o, demonstrating our benchmark's effectiveness in identifying model strengths and weaknesses. Our specialized prompting framework incorporates seven hypergraph languages and introduces two novel techniques, Hyper-BAG and Hyper-COT, which enhance high-order reasoning and achieve an average 4% (up to 9%) performance improvement on structure classification tasks. This work establishes a foundational testbed for integrating hypergraph computational capabilities into LLMs, advancing their comprehension. The source codes are at https://github.com/iMoonLab/LLM4Hypergraph.
title Beyond Graphs: Can Large Language Models Comprehend Hypergraphs?
topic Artificial Intelligence
url https://arxiv.org/abs/2410.10083