-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[Explainability]: explain
support for heterogenous graphs.
#6014
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Explainer
interface to support heterogenous graphs.explain
suppor for heterogenous graphs.
Do you think we can just share the |
The type hints for the Maybe we can have two classes of |
explain
suppor for heterogenous graphs.explain
support for heterogenous graphs.
Yeah having
If we are unifying everything behind the |
Do we need the new config type (apart from checking if the |
Yes, we don‘t need new configs for this IMO. |
Starts heterogeneous explanations using the new `Explainer` framework. Creates `HeterogeneousExplanation` and extends `Explainer`, `ExplainerAlgorithm`, and `DummyExplainer` to handle heterogeneous graphs. Tests and functionalities are partially complete, looking to get some initial validation before continuing. Todo - Heterogeneous explanation tests - Add and test thresholding for heterogeneous explanations - Finish some heterogeneous explanation methods - Extend GNNExplainer (maybe in separate PR) Closes #6014 Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
🚀 The feature, motivation and pitch
Add a new class
HeteroExplainer
that supports explaining heterogenous graphs. This will involve the following changes toexplain
moduleBaseExplainer
which will have common functions bothHeteroExplainer
andExplainer
needs.Explainer
class will inherit fromBaseExplainer
. Note: TheExplainer
class will have the same interface the only change is that it inherits formBaseExplainer
HeteroExplanation(HeteroData)
to hold heterogenous explanations.HeteroExplainer
inherits fromBaseExplainer
. BothHeteroExplainer
andExplainer
can use the same config files as input.cc: @dufourc1 @RexYing for thoughts
Alternatives
An alternative will be for
Explainer
to handle both hetero and homo graphs. But I feel this makes the interface more cluttered because it has to accept both dictionary or tensors and the implementation more complicated.Additional context
This is part of the explainability roadmap: #5520, #5630
The text was updated successfully, but these errors were encountered: