Graph Generative Pre-trained Transformer

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Xiaohui, Wang, Yinkai, He, Jiaxing, Du, Yuanqi, Hassoun, Soha, Xu, Xiaolin, Liu, Li-Ping
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909635189932032
author Chen, Xiaohui
Wang, Yinkai
He, Jiaxing
Du, Yuanqi
Hassoun, Soha
Xu, Xiaolin
Liu, Li-Ping
author_facet Chen, Xiaohui
Wang, Yinkai
He, Jiaxing
Du, Yuanqi
Hassoun, Soha
Xu, Xiaolin
Liu, Li-Ping
contents Graph generation is a critical task in numerous domains, including molecular design and social network analysis, due to its ability to model complex relationships and structured data. While most modern graph generative models utilize adjacency matrix representations, this work revisits an alternative approach that represents graphs as sequences of node set and edge set. We advocate for this approach due to its efficient encoding of graphs and propose a novel representation. Based on this representation, we introduce the Graph Generative Pre-trained Transformer (G2PT), an auto-regressive model that learns graph structures via next-token prediction. To further exploit G2PT's capabilities as a general-purpose foundation model, we explore fine-tuning strategies for two downstream applications: goal-oriented generation and graph property prediction. We conduct extensive experiments across multiple datasets. Results indicate that G2PT achieves superior generative performance on both generic graph and molecule datasets. Furthermore, G2PT exhibits strong adaptability and versatility in downstream tasks from molecular design to property prediction. Code available at https://github.com/tufts-ml/G2PT,
format Preprint
id arxiv_https___arxiv_org_abs_2501_01073
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Graph Generative Pre-trained Transformer
Chen, Xiaohui
Wang, Yinkai
He, Jiaxing
Du, Yuanqi
Hassoun, Soha
Xu, Xiaolin
Liu, Li-Ping
Machine Learning
Artificial Intelligence
Graph generation is a critical task in numerous domains, including molecular design and social network analysis, due to its ability to model complex relationships and structured data. While most modern graph generative models utilize adjacency matrix representations, this work revisits an alternative approach that represents graphs as sequences of node set and edge set. We advocate for this approach due to its efficient encoding of graphs and propose a novel representation. Based on this representation, we introduce the Graph Generative Pre-trained Transformer (G2PT), an auto-regressive model that learns graph structures via next-token prediction. To further exploit G2PT's capabilities as a general-purpose foundation model, we explore fine-tuning strategies for two downstream applications: goal-oriented generation and graph property prediction. We conduct extensive experiments across multiple datasets. Results indicate that G2PT achieves superior generative performance on both generic graph and molecule datasets. Furthermore, G2PT exhibits strong adaptability and versatility in downstream tasks from molecular design to property prediction. Code available at https://github.com/tufts-ml/G2PT,
title Graph Generative Pre-trained Transformer
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2501.01073