Enhance Graph Alignment for Large Language Models

Haitong Luo, Xuying Meng, Suhang Wang, Tianxiang Zhao, Fali Wang +2 more
10/15/2024
cs.CLcs.IR

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Graph-structured data is prevalent in the real world. Recently, due to the powerful emergent capabilities, Large Language Models (LLMs) have shown promising performance in modeling graphs. The key to effectively applying LLMs on graphs is converting graph data into a format LLMs can comprehend. Graph-to-token approaches are popular in enabling LLMs to process graph information. They transform graphs into sequences of tokens and align them with text tokens through instruction tuning, where self-supervised instruction tuning helps LLMs acquire general knowledge about graphs, and supervised fine-tuning specializes LLMs for the downstream tasks on graphs. Despite their initial success, we find that existing methods have a misalignment between self-supervised tasks and supervised downstream tasks, resulting in negative transfer from self-supervised fine-tuning to downstream tasks. To address these issues, we propose Graph Alignment Large Language Models (GALLM) to benefit from aligned task templates. In the self-supervised tuning stage, we introduce a novel text matching task using templates aligned with downstream tasks. In the task-specific tuning stage, we propose two category prompt methods that learn supervision information from additional explanation with further aligned templates. Experimental evaluations on four datasets demonstrate substantial improvements in supervised learning, multi-dataset generalizability, and particularly in zero-shot capability, highlighting the model's potential as a graph foundation model.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{luo2024enhance,
  title  = {Enhance Graph Alignment for Large Language Models},
  author = {Haitong Luo and Xuying Meng and Suhang Wang and Tianxiang Zhao and Fali Wang and Hanyun Cao and Yujun Zhang},
  year   = {2024},
  eprint = {2410.11370},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.11370v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.11370.svg)](https://codeofpaper.com/paper/2410.11370)

Discussion