https://github.com/baldassarrefe/graph-network-explainability
Explainability techniques for Graph Networks, applied to a synthetic dataset and an organic chemistry task. Code for the workshop paper "Explainability Techniques for Graph Convolutional Networks" (ICML19)
https://github.com/baldassarrefe/graph-network-explainability
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.3%) to scientific vocabulary
Keywords
Repository
Explainability techniques for Graph Networks, applied to a synthetic dataset and an organic chemistry task. Code for the workshop paper "Explainability Techniques for Graph Convolutional Networks" (ICML19)
Basic Info
Statistics
- Stars: 122
- Watchers: 6
- Forks: 16
- Open Issues: 3
- Releases: 0
Topics
Metadata Files
README.md
Explainability Techniques for Graph Convolutional Networks
Code and notebooks for the paper "Explainability Techniques for Graph Convolutional Networks" accepted at the ICML 2019 Workshop "Learning and Reasoning with Graph-Structured Data".
Overview
A Graph Network trained to predict the solubility of organic molecules is applied to sucrose, the prediction is explained using Layer-wise Relevance Propagation that assigns positive and negative relevance to the nodes and edges of the molecular graph:

The predicted solubility can be broken down to the individual features of the atoms and their bonds:

Code structure
src,config,datacontain code, configuration files and data for the experimentsinfection,solubilitycontain the code for the two experiments in the papertorchgraphscontain the core graph network libraryguidedbackrprop,relevancecontain the code to run Guided Backpropagation and Layer-wise Relevance Propagation on top of PyTorch'sautograd
notebooks,modelscontain a visualization of the datasets, the trained models and the results of our experimentstestcontains unit tests for thetorchgraphsmodule (core GN library)conda.yamlcontains the conda environment for the project
Setup
The project is build on top of Python 3.7, PyTorch 1.1+, torchgraphs 0.0.1 and many other open source projects.
A Conda environment for the project can be installed as:
bash
conda env create -n gn-exp -f conda.yaml
conda activate gn-exp
python setup.py develop
pytest
Training
Detailed instructions for data processing, training and hyperparameter search can be found in the respective subfolders:
- Infection: infection/notes.md
- Solubility: solubility/notes.md
Experimental results
The results of our experiments are visualized through the notebooks in notebooks:
bash
conda activate gn-exp
cd notebooks
jupyter lab
Owner
- Name: Federico Baldassarre
- Login: baldassarreFe
- Kind: user
- Location: Stockholm
- Company: KTH
- Website: baldassarrefe.github.io
- Twitter: baldassarreFe
- Repositories: 45
- Profile: https://github.com/baldassarreFe
Passionate about AI, data science, and SW Engineering, BSc in Computer Engineering @unibo Bologna, MSc in Machine Learning + PhD candidate at @KTH Stockholm
GitHub Events
Total
- Watch event: 6
Last Year
- Watch event: 6
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 4
- Total pull requests: 0
- Average time to close issues: 4 months
- Average time to close pull requests: N/A
- Total issue authors: 4
- Total pull request authors: 0
- Average comments per issue: 1.25
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- srkm009 (1)
- xavierallem (1)
- Danelrf (1)
- lacendre (1)