atlas

Research map / Large language models / Retrieval and knowledge

Beyond Graphs: Can Large Language Models Comprehend Hypergraphs?

ICLR 2025 · Large language models › Retrieval and knowledge · approach: Knowledge-augmented question answering · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces LLM4Hypergraph, a 21,500-problem benchmark of low-order, high-order, and isomorphism hypergraph tasks, and evaluates six LLMs under multiple prompting styles and seven hypergraph text encodings, proposing Hyper-BAG and Hyper-COT prompts.

Problem

Whether LLMs can comprehend hypergraphs, whose high-order (beyond-pairwise) correlations are not covered by existing graph benchmarks such as NLGraph and GraphQA.

Approach

A hypergraph-specific benchmark spanning low-order, high-order, and isomorphism tasks, paired with hypergraph text encodings (low-order and high-order languages) and prompt variants (Hyper-BAG, Hyper-COT) that are tested without any weight updates.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use few-shot examples with the N-Set high-order structure language instead of zero-shot N-SetQwen-Long · LLM4Hypergraph structure classificationaccuracy: 41.2% -> 82.7%Helped
Replace Naive COT with Hyper-COT v3 (ablation)Qwen-Long · LLM4Hypergraph structure classificationaccuracy: 24.3% -> 33.6%; 30.1% -> 36.7%; 27.0% -> 27.9%; 27.0% -> 36.0%; 25.2% -> 20.9%; 23.0% -> 29.2%; 32.3% -> 32.4%Mixed
Add Hyper-BAG prompting (ablation)Qwen-Long · Vertex Set Connectionaccuracy: 83.4% -> 86.2%Helped
Add Hyper-BAG prompting (ablation)Qwen-Long · Vertex-Set-in-Hyperedge Checkaccuracy: 87.2% -> 89.8%Helped
Add Hyper-BAG prompting (ablation)Qwen-Long · Vertex Connectionaccuracy: 94.0% -> 93.6%Hurt
Increase Hyper-COT example solutions from 0-shot to 3-shot (ablation)Qwen-Long · Vertex Set Connectionaccuracy: 84.4% -> 90.4%Helped
Increase Hyper-COT example solutions from 0-shot to 2-shot (ablation)Qwen-Long · Vertex-Set-in-Hyperedge Checkaccuracy: 84.4% -> 93.4%Helped
Use high-order rather than low-order structure languages for vertex-set correlationsQwen-Long · LLM4Hypergraph high-order tasksaccuracy: Overall Avg. high-order language results are reported as 79.8%, 65.9%, 63.3%, 56.9%, 40.1%; low-order averages are 31.3%Helped
Increase real-world citation hypergraph size from small to largeQwen-Long · Citation hypergraphs, Vertex-Set-in-Hyperedge Checkaccuracy: 94.0% -> 81.0%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: synthetic hypergraphs (dhg hypergraph_Gnm random and regular structures) real-world citation network hypergraphs protein structure hypergraphs

Benchmarks: LLM4Hypergraph

Metrics: accuracy

Baselines: ERNIE-Lite-8K ERNIE-Speed-128K LLaMA3-8B GPT-3.5-Turbo GPT-4o Naive CoT

Builds on: Chain-of-Thought prompting Build-a-Graph prompting NLGraph GraphQA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy