Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

One for All: Towards Training One Graph Model for All Classification Tasks

About

Designing a single model to address multiple tasks has been a long-standing objective in artificial intelligence. Recently, large language models have demonstrated exceptional capability in solving different tasks within the language domain. However, a unified model for various graph tasks remains underexplored, primarily due to the challenges unique to the graph learning domain. First, graph data from different areas carry distinct attributes and follow different distributions. Such discrepancy makes it hard to represent graphs in a single representation space. Second, tasks on graphs diversify into node, link, and graph tasks, requiring distinct embedding strategies. Finally, an appropriate graph prompting paradigm for in-context learning is unclear. We propose \textbf{One for All (OFA)}, the first general framework that can use a single graph model to address the above challenges. Specifically, OFA proposes text-attributed graphs to unify different graph data by describing nodes and edges with natural language and uses language models to encode the diverse and possibly cross-domain text attributes to feature vectors in the same embedding space. Furthermore, OFA introduces the concept of nodes-of-interest to standardize different tasks with a single task representation. For in-context learning on graphs, OFA introduces a novel graph prompting paradigm that appends prompting substructures to the input graph, which enables it to address varied tasks without fine-tuning. We train the OFA model using graph data from multiple domains (including citation networks, molecular graphs, knowledge graphs, etc.) simultaneously and evaluate its ability in supervised, few-shot, and zero-shot learning scenarios. OFA performs well across different tasks, making it the first general-purpose across-domains classification model on graphs.

Hao Liu, Jiarui Feng, Lecheng Kong, Ningyue Liang, Dacheng Tao, Yixin Chen, Muhan Zhang• 2023

Related benchmarks

TaskDatasetResultRank
Node ClassificationPubmed
Accuracy46.6
742
Node ClassificationPubmed
Accuracy84.65
307
Node ClassificationCiteseer
Accuracy52.8
275
Node ClassificationwikiCS
Accuracy77.96
198
Node ClassificationOgbn-arxiv
Accuracy70.1
191
Graph ClassificationHIV
ROC-AUC0.6954
104
Node ClassificationOGBN-Products
Accuracy55.3
62
Node ClassificationCora
Accuracy67.7
38
Graph ClassificationPubmed
Accuracy67.2
31
Graph ClassificationCiteseer
Accuracy60
29
Showing 10 of 26 rows

Other info

Follow for update