mlsanityData to 7 Oct 2026

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

arXiv 2310.00149 ↗First posted 29 Sep 2023cs.LGcited by 239

Not on the map. Why?

Abstract (arXiv)

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 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.

Key facts. Cited by 239 papers in the map (data through 7 Oct 2026). Builds on 54 of its 72 references that are in the map. First posted on arXiv 29 Sep 2023.

Builds on

54 of 72 references.

References · 54

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2017Graph Attention Networkscited by 8,854
  6. 2017Inductive Representation Learning on Large Graphscited by 6,284
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  8. 2018How Powerful are Graph Neural Networks?cited by 4,355
  9. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  10. 2017Neural Message Passing for Quantum Chemistrycited by 3,460
  11. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  12. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
38 more
  1. 2016Convolutional Neural Networks on Graphs with Fast Localized Spectral Filteringcited by 2,085
  2. 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
  3. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
  4. 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,037
  5. 2018Pitfalls of Graph Neural Network Evaluationcited by 994
  6. 2016Revisiting Semi-Supervised Learning with Graph Embeddingscited by 970
  7. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
  8. 2018Link Prediction Based on Graph Neural Networkscited by 829
  9. 2022Galactica: A Large Language Model for Sciencecited by 736
  10. 2017Convolutional 2D Knowledge Graph Embeddingscited by 729
  11. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
  12. 2020Benchmarking Graph Neural Networkscited by 672
  13. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
  14. 2020Adaptive Universal Generalized PageRank Graph Neural Networkcited by 592
  15. 2021OGB-LSC: A Large-Scale Challenge for Machine Learning on Graphscited by 328
  16. 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 273
  17. 2023Exploring the Potential of Large Language Models (LLMs) in Learning on Graphscited by 271
  18. 2020Wiki-CS: A Wikipedia-Based Benchmark for Graph Neural Networkscited by 253
  19. 2023Can Language Models Solve Graph Problems in Natural Language?cited by 249
  20. 2023GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarkingcited by 209
  21. 2021Identity-aware Graph Neural Networkscited by 197
  22. 2021BernNet: Learning Arbitrary Graph Spectral Filters via Bernstein Approximationcited by 195
  23. 2023GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networkscited by 166
  24. 2021Pretrained Transformers as Universal Computation Enginescited by 162
  25. 2022Learning on Large-scale Text-attributed Graphs via Variational Inferencecited by 153
  26. 2020Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation Learningcited by 148
  27. 2023All in One: Multi-task Prompting for Graph Neural Networkscited by 147
  28. 2021Node Feature Extraction by Self-Supervised Multi-scale Neighborhood Predictioncited by 137
  29. 2021Nested Graph Neural Networkscited by 136
  30. 2023PRODIGY: Enabling In-context Learning Over Graphscited by 97
  31. 2020Graph Prototypical Networks for Few-shot Learning on Attributed Networkscited by 90
  32. 2022How Powerful are K-hop Message Passing Graph Neural Networkscited by 90
  33. 2023GIMLET: A Unified Graph-Text Model for Instruction-Based Molecule Zero-Shot Learningcited by 70
  34. 2023A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Testscited by 64
  35. 2023Virtual Node Tuning for Few-shot Node Classificationcited by 46
  36. 2022Task-Adaptive Few-shot Node Classificationcited by 43
  37. 2023Can Large Language Models Empower Molecular Property Prediction?cited by 43
  38. 2022Graph Few-shot Learning with Task-specific Structurescited by 26

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 5; 2024: 72; 2025: 76; 2026: 86.

239 papers.

Sort:

By area:

  1. 2024LightRAG: Simple and Fast Retrieval-Augmented Generationcited by 310
  2. 2024G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answeringcited by 217
  3. 2023Graph Foundation Models: Concepts, Opportunities and Challengescited by 101
  4. 2023A Survey of Graph Meets Large Language Model: Progress and Future Directionscited by 84
  5. 2024Position: Graph Foundation Models are Already Herecited by 84
  6. 2024All in One and One for All: A Simple yet Effective Method towards Cross-domain Graph Pretrainingcited by 84
  7. 2024ZeroG: Investigating Cross-dataset Zero-shot Transferability in Graphscited by 83
  8. 2024GFT: Graph Foundation Model with Transferable Tree Vocabularycited by 82
  9. 2023Label-free Node Classification on Graphs with Large Language Models (LLMS)cited by 72
  10. 2024A Survey of Large Language Models for Graphscited by 71
  11. 2023Graph Prompt Learning: A Comprehensive Survey and Beyondcited by 61
  12. 2025SAMGPT: Text-free Graph Foundation Model for Multi-domain Pre-training and Cross-domain Adaptationcited by 61
38 more
  1. 2024UniGraph: Learning a Unified Cross-Domain Foundation Model for Text-Attributed Graphscited by 60
  2. 2024LLMs as Zero-shot Graph Learners: Alignment of GNN Representations with LLM Token Embeddingscited by 60
  3. 2024GraphCLIP: Enhancing Transferability in Graph Foundation Models for Text-Attributed Graphscited by 58
  4. 2024GOFA: A Generative One-For-All Model for Joint Graph Language Modelingcited by 56
  5. 2024AnyGraph: Graph Foundation Model in the Wildcited by 51
  6. 2024GraphArena: Evaluating and Exploring Large Language Models on Graph Computationcited by 48
  7. 2025UniGraph2: Learning a Unified Embedding Space to Bind Multimodal Graphscited by 47
  8. 2024ARC: A Generalist Graph Anomaly Detector with In-Context Learningcited by 46
  9. 2024Text-space Graph Foundation Models: Comprehensive Benchmarks and New Insightscited by 44
  10. 2025Griffin: Towards a Graph-Centric Relational Database Foundation Modelcited by 41
  11. 2024Fully-inductive Node Classification on Arbitrary Graphscited by 36
  12. 2024GLBench: A Comprehensive Benchmark for Graph with Large Language Modelscited by 36
  13. 2024Graph Machine Learning in the Era of Large Language Models (LLMs)cited by 33
  14. 2025RiemannGFM: Learning a Graph Foundation Model from Riemannian Geometrycited by 32
  15. 2024Towards Graph Foundation Models: Learning Generalities Across Graphs via Task-Treescited by 30
  16. 2025Turning Tabular Foundation Models into Graph Foundation Modelscited by 30
  17. 2025G-Refer: Graph Retrieval-Augmented Large Language Model for Explainable Recommendationcited by 26
  18. 2024Unifying Generation and Prediction on Graphs with Latent Graph Diffusioncited by 24
  19. 2025Graphs Meet AI Agents: Taxonomy, Progress, and Future Opportunitiescited by 23
  20. 2025TSPO: Temporal Sampling Policy Optimization for Long-form Video Language Understandingcited by 23
  21. 2024Can Large Language Models Improve the Adversarial Robustness of Graph Neural Networks?cited by 22
  22. 2025When Do LLMs Help With Node Classification? A Comprehensive Analysiscited by 21
  23. 2025LLM as GNN: Graph Vocabulary Learning for Text-Attributed Graph Foundation Modelscited by 21
  24. 2024Graph-oriented Instruction Tuning of Large Language Models for Generic Graph Miningcited by 20
  25. 2024GraphLand: Evaluating Graph Machine Learning Models on Diverse Industrial Datacited by 20
  26. 2025GraphPFN: A Prior-Data Fitted Graph Foundation Modelcited by 20
  27. 2024Can LLMs Convert Graphs to Text-Attributed Graphs?cited by 19
  28. 2024A Survey of Large Language Models on Generative Graph Analytics: Query, Learning, and Applicationscited by 17
  29. 2024HIGHT: Hierarchical Graph Tokenization for Molecule-Language Alignmentcited by 17
  30. 2025GNNs as Predictors of Agentic Workflow Performancescited by 17
  31. 2024Advancing Graph Representation Learning with Large Language Models: A Comprehensive Survey of Techniquescited by 16
  32. 2024GraphAlign: Pretraining One Graph Neural Network on Multiple Graphs via Feature Alignmentcited by 15
  33. 2024GraphFM: A generalist graph transformer that learns transferable representations across diverse domainscited by 14
  34. 2025Towards Effective Federated Graph Foundation Model via Mitigating Knowledge Entanglementcited by 14
  35. 2025Graph World Modelcited by 14
  36. 2024Towards Neural Scaling Laws on Graphscited by 13
  37. 2024LangGFM: A Large Language Model Alone Can be a Powerful Graph Foundation Modelcited by 13
  38. 2024UniGAD: Unifying Multi-level Graph Anomaly Detectioncited by 13

50 most cited of 239 All 239 (JSON)