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

artificial-intelligence bioinformatics explainability graph-networks
Last synced: 5 months ago · JSON representation

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
  • Host: GitHub
  • Owner: baldassarreFe
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage:
  • Size: 6.48 MB
Statistics
  • Stars: 122
  • Watchers: 6
  • Forks: 16
  • Open Issues: 3
  • Releases: 0
Topics
artificial-intelligence bioinformatics explainability graph-networks
Created almost 7 years ago · Last pushed over 6 years ago
Metadata Files
Readme

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:

Sucrose solubility LRP

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

Sucrose solubility LRP nodes Sucrose solubility LRP edges

Code structure

  • src, config, data contain code, configuration files and data for the experiments
    • infection, solubility contain the code for the two experiments in the paper
    • torchgraphs contain the core graph network library
    • guidedbackrprop, relevance contain the code to run Guided Backpropagation and Layer-wise Relevance Propagation on top of PyTorch's autograd
  • notebooks, models contain a visualization of the datasets, the trained models and the results of our experiments
  • test contains unit tests for the torchgraphs module (core GN library)
  • conda.yaml contains 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

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)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels