voetberg / XNuGraph

MIT License
0 stars 0 forks source link

GNNExplainer Inference #5

Open voetberg opened 1 year ago

voetberg commented 1 year ago

reference paper - https://arxiv.org/pdf/1903.03894.pdf

integrate into existing framework

voetberg commented 1 year ago

Pytorch geometric has this already implemented https://pytorch-geometric.readthedocs.io/en/latest/generated/torch_geometric.explain.algorithm.GNNExplainer.html

voetberg commented 1 year ago

Needs to be tested on data, visuals iterated on

voetberg commented 11 months ago

Example Visuals

image
voetberg commented 11 months ago

Update to include the nexus node connections in the training - image

voetberg commented 11 months ago

Updated with filtering using topk hard thresholding

image

voetberg commented 10 months ago

Applied this method to the actual network image

Negative Fidelity metric is Miserable - so there are multiple courses of action

voetberg commented 10 months ago

image image

Updating the method to train for the top quartile instead of a topk. - Shows an improvement in characterization

voetberg commented 10 months ago

Modified to create a secondary method that only works on each class (optimized results for each class separately). Results are as follows:

MIP image

HIP image

Michel image

diffuse image

voetberg commented 8 months ago

Current updates - Targeting a class in the loss function for the mask optimizer, but not limiting the edges the filter can act on.

Showing fairly good positive and negative fidelity. Doing a full training run on the positive and negative examples. Loss curve and standard test sample below.

image

image

voetberg commented 8 months ago

Further investigation