mlsanityData to 7 Oct 2026

Investigating Instruction Tuning Large Language Models on Graphs

arXiv 2408.05457 ↗First posted 10 Aug 2024cs.CL cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

Inspired by the recent advancements of Large Language Models (LLMs) in NLP tasks, there's growing interest in applying LLMs to graph-related tasks. This study delves into the capabilities of instruction-following LLMs for engaging with real-world graphs, aiming to offer empirical insights into how LLMs can effectively interact with graphs and generalize across graph tasks. We begin by constructing a dataset designed for instruction tuning, which comprises a diverse collection of 79 graph-related tasks from academic and e-commerce domains, featuring 44,240 training instances and 18,960 test samples. Utilizing this benchmark, our initial investigation focuses on identifying the optimal graph representation that serves as a conduit for LLMs to understand complex graph structures. Our findings indicate that JSON format for graph representation consistently outperforms natural language and code formats across various LLMs and graph types. Furthermore, we examine the key factors that influence the generalization abilities of instruction-tuned LLMs by evaluating their performance on both in-domain and out-of-domain graph tasks.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 29 of its 32 references that are in the map. First posted on arXiv 10 Aug 2024.

Builds on

29 of 32 references.

References · 29

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2023Mistral 7Bcited by 3,065
  4. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
  5. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  6. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
  7. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
  8. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  9. 2023Instruction Tuning for Large Language Models: A Surveycited by 617
  10. 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 559
  11. 2023Orca: Progressive Learning from Complex Explanation Traces of GPT-4cited by 369
  12. 2023Exploring the Potential of Large Language Models (LLMs) in Learning on Graphscited by 271
17 more
  1. 2023Can Language Models Solve Graph Problems in Natural Language?cited by 249
  2. 2023Language is All a Graph Needscited by 219
  3. 2023GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarkingcited by 209
  4. 2023Large Language Models on Graphs: A Comprehensive Surveycited by 190
  5. 2021GraphFormers: GNN-nested Transformers for Representation Learning on Textual Graphcited by 143
  6. 2021Node Feature Extraction by Self-Supervised Multi-scale Neighborhood Predictioncited by 137
  7. 2023Harnessing Explanations: LLM-to-LM Interpreter for Enhanced Text-Attributed Graph Representation Learningcited by 132
  8. 2023GraphText: Graph Reasoning in Text Spacecited by 110
  9. 2024UniGraph: Learning a Unified Cross-Domain Foundation Model for Text-Attributed Graphscited by 60
  10. 2024GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capabilitycited by 57
  11. 2024InstructGraph: Boosting Large Language Models via Graph-centric Instruction Tuning and Preference Alignmentcited by 56
  12. 2021TextGNN: Improving Text Encoder via Graph Neural Network in Sponsored Searchcited by 54
  13. 2023Patton: Language Model Pretraining on Text-Rich Networkscited by 49
  14. 2023Instruct and Extract: Instruction Tuning for On-Demand Information Extractioncited by 35
  15. 2022Heterformer: Transformer-based Deep Node Representation Learning on Heterogeneous Text-Rich Networkscited by 24
  16. 2023Edgeformers: Graph-Empowered Transformers for Representation Learning on Textual-Edge Networkscited by 23
  17. 2023The Effect of Metadata on Scientific Literature Tagging: A Cross-Field Cross-Model Studycited by 17

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 4.

5 papers.