Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A PyTorch implementation of "SimGNN: A Neural Network Approach to Fast Graph Similarity Computation" (WSDM 2019).
| Date | Stars |
|---|---|
| 2026-07-24 | 814 |
| 2026-07-25 | 814 |
| 2026-07-28 | 814 |
| 2026-07-30 | 814 |
| 2026-07-31 | 814 |
| 2026-08-06 | 814 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
SimGNN ======================= [](https://paperswithcode.com/sota/graph-similarity-on-imdb?p=graph-edit-distance-computation-via-graph) [](https://codebeat.co/projects/github-com-benedekrozemberczki-simgnn-master) [](https://github.com/benedekrozemberczki/SimGNN/archive/master.zip)⠀[](https://twitter.com/intent/follow?screen_name=benrozemberczki)⠀⠀ A **PyTorch** implementation of *SimGNN: A Neural Network Approach to Fast Graph Similarity Computation (WSDM 2019)*. <p align="center"> <img width="800" src="simgnn.jpg"> </p> ### Abstract <p align="justify"> Graph similarity search is among the most important graph-based applications, e.g. finding the chemical compounds that are most similar to a query compound. Graph similarity/distance computation, such as Graph Edit Distance (GED) and Maximum Common Subgraph (MCS), is the core operation of graph similarity search and many other applications, but very costly to compute in practice. Inspired by the recent success of neural network approaches to several graph applications, such as node or graph classification, we propose a novel neural network based approach to address this classic yet challenging graph problem, aiming to alleviate the computational burden while preserving a good performance. The proposed approach, called SimGNN, combines two strategies. First, we design a learnable embedding function that maps every graph into an embedding vector, which provides a global summary of a graph. A novel attention mechanism is proposed to emphasize the important nodes with respect to a specific similarity metric. Second, we design a pairwise node comparison method to sup plement the graph-level embeddings with fine-grained node-level information. Our model achieves better generalization on unseen graphs, and in the worst case runs in quadratic time with respect to the number of nodes in two graphs. Taking GED computation as an example, experimental results on three real graph datasets demonstrate the effectiveness and efficiency of our approach. Specifically, our model achieves smaller error rate and great time reduction compared against a series of baselines, including several approximation algorithms on GED computation, and many existing graph neural network based models. Our study suggests SimGNN provides a new direction for future research on graph similarity computation and graph similarity search.</p> This repository provides a PyTorch implementation of SimGNN as described in the paper: > SimGNN: A Neural Network Approach to Fast Graph Similarity Computation. > Yunsheng Bai, Hao Ding, Song Bian, Ting Chen, Yizhou Sun, Wei Wang. > WSDM, 2019. > [[Paper]](http://web.cs.ucla.edu/~yzsun/papers/2019_WSDM_SimGNN.pdf) A reference Tensorflow implementation is accessible [[here]](https://github.com/yunshengb/SimGNN) and another implementation is [[here]](https://github.com/NightlyJourney/SimGNN). ### Requirements The codebase is implemented in Python 3.5.2. package versions used for development are just below. ``` networkx 2.4 tqdm 4.28.1 numpy 1.15.4 pandas 0.23.4 texttable 1.5.0 scipy 1.1.0 argparse 1.1.0 torch 1.1.0 torch-scatter 1.4.0 torch-sparse 0.4.3 torch-cluster 1.4.5 torch-geometric 1.3.2 torchvision 0.3.0 scikit-learn 0.20.0 ``` ### Datasets <p align="justify"> The code takes pairs of graphs for training from an input folder where each pair of graph is stored as a JSON. Pairs of graphs used for testing are also stored as JSON files. Every node id
Excerpt of 7,477 characters
Read on GitHubBenedek Rozemberczki · @google · United Kingdom
163
3
3
2
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:9209e14c7e0ace32, topic:deep-learning, topic:neural-network, topic:pytorch