TL;DR
This paper introduces TAGLAS, a comprehensive atlas of text-attributed graph (TAG) datasets designed to bridge the gap between graph learning and large language models. By unifying over 23 diverse datasets into a consistent text-feature format, TAGLAS enables simultaneous training and evaluation of graph-language foundation models, addressing the current fragmentation and specialization in graph ML research.
What Problem Does This Paper Address?
The field of graph machine learning has seen rapid advancements, particularly with graph neural networks (GNNs). However, existing graph datasets and benchmarks are highly diverse and inconsistent. They span various domains (e.g., citation networks, molecular graphs) and feature spaces (e.g., bag-of-words, sentence embeddings), making it difficult to train and evaluate models across different datasets. This fragmentation hinders the development of large-scale, versatile foundation models for graphs, similar to the progress seen in natural language processing. Researchers need a unified, standardized resource to facilitate the training and benchmarking of models that can handle text-rich graph data.
Methods
TAGLAS addresses this by creating a unified framework for text-attributed graphs (TAGs). The core idea is to represent node and edge features as plain text, allowing a single model to be trained and evaluated across diverse datasets and domains. Key methodological contributions include:
- Unified Text Feature Format: All datasets are processed to have node and edge features represented as text. This enables models to learn from textual descriptions directly.
- Standardized Data Loading: A simplified API is provided to load datasets and tasks, making it easy for researchers to access and use the data.
- Task Construction: TAGLAS supports various task levels (node, link, graph) and types (default, subgraph, question-answering), with options for both text and non-text versions.
- Text-to-Embedding Conversion: Utilities are provided to convert raw text features into embeddings using various large language models (LLMs), facilitating evaluation of GNNs in conjunction with LLMs.
- Advanced Subgraph Sampling: For large graphs, TAGLAS offers subgraph sampling techniques, including personalized PageRank, to manage memory constraints and improve expressivity.
- Evaluation Utilities: Standardized evaluation metrics and APIs are included to facilitate model assessment.
Datasets
TAGLAS integrates over 23 text-attributed graph datasets from diverse domains, including:
- Citation Networks: Cora, PubMed, Arxiv, WikiCS, MAG240M-subset
- Knowledge Graphs: FB15K237, WN18RR, Wikikg90m
- Molecular Graphs: Chembl (including sub-datasets like PCBA, HIV, BBBP, BACE, toxcast, esol, freesolv, lipo, cyp450, tox21, muv), molproperties
- E-commerce/Recommendation: Product-subset, MovieLens-1m
- Other: ExplaGraphs, SceneGraphs, Ultrachat200k
These datasets cover tasks such as node classification, link prediction, graph classification, and graph question-answering. The key innovation is the unified text-based feature representation across all these datasets.
Key Insights and Ideas
- The Power of Textual Features: Representing graph features as text unlocks the potential for graph-language models, allowing them to leverage the rich semantic information present in node and edge descriptions.
- Unification is Crucial for Foundation Models: The current fragmentation of graph datasets is a major bottleneck for developing general-purpose graph foundation models. TAGLAS's unified approach is a significant step towards overcoming this.
- Subgraph Sampling for Scalability: For massive graphs, subgraph-based approaches are essential for efficient training and evaluation, and TAGLAS provides advanced sampling methods to improve this process.
- Bridging GNNs and LLMs: The integration of text-to-embedding conversion and support for question-answering tasks highlights the growing synergy between graph neural networks and large language models.
Key Results
The paper primarily focuses on presenting the TAGLAS framework and its components rather than reporting specific quantitative results from model training. However, it highlights the following:
- Comprehensive Dataset Collection: Over 23 diverse datasets are collected and unified.
- Standardized API: A simplified API for loading datasets, tasks, and evaluation metrics is provided.
- Support for Various Tasks: TAGLAS accommodates node, link, and graph-level tasks, including a novel question-answering format.
- Text-to-Embedding Functionality: Integration with multiple LLMs for text feature embedding is implemented.
- Advanced Subgraph Sampling: Techniques like personalized PageRank are incorporated for efficient subgraph generation.
Limitations and Future Work
- Ongoing Development: The authors explicitly state that TAGLAS is still under construction and more datasets and features are expected in the future.
- Dataset Size: While TAGLAS aims to address large graphs, some of the original datasets are massive (e.g., MAG240M, Wikikg90m), and the subsets provided might still pose computational challenges for some users.
- Task Conversion: The conversion of existing classification/regression tasks to question-answering format is a novel approach, and its effectiveness across all scenarios might require further validation.
Future work will likely involve expanding the dataset collection, refining the task construction and evaluation methodologies, and further integrating with state-of-the-art graph and language models.
Summary updated