atlas

Research map / Graph learning / Graph self-supervised learning

GOFA: A Generative One-For-All Model for Joint Graph Language Modeling

ICLR 2025 · Graph learning › Graph self-supervised learning · approach: LLMs and graph foundation models · 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.

Proposes GOFA, a generative graph language model that interleaves randomly initialized token-level GNN layers into a frozen ICAE-style LLM compressor/decoder, pre-trained on graph completion, QA, structural and retrieval tasks, then instruction-tuned for zero-shot graph tasks.

Problem

Existing general graph models either serialize graphs into text for LLMs (weak structural understanding) or use GNNs with LLM assistants (no free-form generation), so no model is both structure-aware and generative for zero-shot graph tasks.

Approach

Interleave randomly initialized token-level GNN layers between LLM layers, with memory-token compression (ICAE-style) so each node's text is summarized into K tokens that message-pass per token index; a tanh gate initialized at zero keeps the initial model equal to the pretrained LLM; pre-train with graph-level next-word prediction, QA chains, structural (shortest path, common neighbors) and retri

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Pre-train GOFA with graph structural and semantic informationMistral-7B · Cora, Product, WikiCSperplexity: 30.12 -> 21.34Helped
Add GNN layers for graph structure modelingMistral-7B · Cora and ProductSPD RMSE: 1.254 -> 0.634Helped
Add GNN layers for graph structure modelingMistral-7B · Cora and ProductCN RMSE: 1.035 -> 0.326Helped
Add graph information through GOFA rather than textualizing the same graph input for an LLMLLM-N · ExplaGraphsaccuracy: 74.13 -> 79.49Helped
Add graph information through GOFA rather than textualizing the same graph input for an LLMLLM-N · Cora-Linkaccuracy: 50.36 -> 85.10Helped
Add graph information through GOFA rather than textualizing the same graph input for an LLMLLM-N · FB15K237accuracy: 51.25 -> 73.49Helped
Add Wikipedia datasets during pre-training (ablation)GOFA · zero-shot downstream datasetsperformanceHelped
Add the information retrieval pre-training task (ablation)GOFA · knowledge graph tasksperformanceHelped
Increase the number of pre-training samples/tokensGOFA · zero-shot downstream tasksperformanceHelped
Use GOFA instead of a textualized-graph LLMLLM-N · WikiCSaccuracyHelped
Use GOFA instead of Mistral-7BMistral-7B · Arxiv node count taskaccuracy: 99.9 -> 86.3Hurt
Use GOFA instead of Mistral-7BMistral-7B · SceneGraphs QAaccuracy: 45.95 -> 34.06Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MAG240M PubMed ogbn-arxiv Wikikg90mv2 WikiGraph UltraChat200k Cora WikiCS Products FB15K237 ExplaGraphs SceneGraphs

Benchmarks: Cora WikiCS Products FB15K237 ExplaGraphs SceneGraphs BBBP HIV ogbn-arxiv

Metrics: accuracy perplexity RMSE AUROC

Baselines: LLaMA2-7B Mistral-7B OFA GraphGPT UniGraph ZeroG LLaGA GIMLET

Builds on: ICAE OFA TransformerConv LLaMA

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