HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

graph2vec: Learning Distributed Representations of Graphs

Annamalai Narayanan; Mahinthan Chandramohan; Rajasekar Venkatesan; Lihui Chen; Yang Liu; Shantanu Jaiswal

graph2vec: Learning Distributed Representations of Graphs

Abstract

Recent works on representation learning for graph structured data predominantly focus on learning distributed representations of graph substructures such as nodes and subgraphs. However, many graph analytics tasks such as graph classification and clustering require representing entire graphs as fixed length feature vectors. While the aforementioned approaches are naturally unequipped to learn such representations, graph kernels remain as the most effective way of obtaining them. However, these graph kernels use handcrafted features (e.g., shortest paths, graphlets, etc.) and hence are hampered by problems such as poor generalization. To address this limitation, in this work, we propose a neural embedding framework named graph2vec to learn data-driven distributed representations of arbitrary sized graphs. graph2vec's embeddings are learnt in an unsupervised manner and are task agnostic. Hence, they could be used for any downstream task such as graph classification, clustering and even seeding supervised representation learning approaches. Our experiments on several benchmark and large real-world datasets show that graph2vec achieves significant improvements in classification and clustering accuracies over substructure representation learning approaches and are competitive with state-of-the-art graph kernels.

Code Repositories

benedekrozemberczki/graph2vec
tf
Mentioned in GitHub
paulmorio/geo2dr
pytorch
Mentioned in GitHub
MLDroid/graph2vec_tf
tf
Mentioned in GitHub
soumavaghosh/graph2vec
pytorch
Mentioned in GitHub
compnet/pang
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
graph-classification-on-mutaggraph2vec
Accuracy: 83.15% ± 9.25%
graph-classification-on-nci1graph2vec
Accuracy: 73.22% ± 1.81%
graph-classification-on-nci109Graph2Vec
Accuracy: 74.26
graph-classification-on-proteinsgraph2vec
Accuracy: 73.3% ± 2.05%
graph-classification-on-ptcgraph2vec
Accuracy: 60.17% ± 6.86%
malware-detection-on-android-malware-datasetGraph2Vec
Accuracy: 99.03

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
graph2vec: Learning Distributed Representations of Graphs | Papers | HyperAI