https://github.com/annahedstroem/gef
Code and notebooks to paper "Evaluating Interpretable Methods via Geometric Alignment of Functional Distortions" (TMLR, 2025)
Science Score: 13.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
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.6%) to scientific vocabulary
Repository
Code and notebooks to paper "Evaluating Interpretable Methods via Geometric Alignment of Functional Distortions" (TMLR, 2025)
Basic Info
Statistics
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Task-agnostic Interpretability Evaluator
PyTorch
This repository contains the code and experiments for the paper "Evaluating Interpretable Methods via Geometric Alignment of Functional Distortions" by Hedström et al., 2025 (with Survey Certification!).
<!--
-->
<!--
-->
<!--
-->
<!--
-->
<!--
-->
Please note that this repository is under active development!
Citation
If you find this work interesting or useful in your research, use the following Bibtex annotation to cite us:
bibtex
@article{hedstrom2025explanation,
title={Evaluating Interpretable Methods via Geometric Alignment of Functional Distortions},
author={
Hedstr{\"o}m, Anna and
Bommer, Philine Lou and
Tom, Burns and
Lapuschkin, Sebastian and
Samek, Wojciech and
H{\"o}hne, Marina M-C
},
journal={Transactions on Machine Learning Research},
year={2025},
url={https://openreview.net/forum?id=ukLxqA8zXj},
}
Repository overview
The repository is organised as follows:
- The src/ folder contains all necessary functions.
- The nbs/ folder includes notebooks for generating the plots in the paper and for benchmarking experiments.
- The assets/ folder contains all files to reproduce the experiments.
- The tests/ folder contains the tests.
All evaluation metrics used in these experiments are implemented in Quantus, a widely-used toolkit for metric-based XAI evaluation. Benchmarking is performed with tools from MetaQuantus, a specialised framework for meta-evaluating metrics in interpretability.
Installation
Install the necessary packages using the provided requirements.txt:
bash
pip install -r requirements.txt
Package requirements
Required packages are:
setup
python>=3.10.1
torch>=2.0.0
quantus>=0.5.0
metaquantus>=0.0.5
captum>=0.6.0
Thank you
We hope our repository is beneficial to your work and research. If you have any feedback, questions, or ideas, please feel free to raise an issue in this repository. Alternatively, you can reach out to us directly via email for more in-depth discussions or suggestions.
📧 Contact us: - Anna Hedström: hedstroem.anna@gmail.com
Thank you for your interest and support!
Owner
- Name: Anna Hedström
- Login: annahedstroem
- Kind: user
- Location: Berlin, Germany
- Twitter: anna_hedstroem
- Repositories: 29
- Profile: https://github.com/annahedstroem
ML PhD student @TU-Berlin
GitHub Events
Total
- Watch event: 5
- Push event: 6
- Public event: 1
Last Year
- Watch event: 5
- Push event: 6
- Public event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- captum ==0.7.0
- datasets ==2.17.1
- horama *
- matplotlib ==3.8.3
- medmnist *
- nltk *
- numpy ==1.26.4
- pandas ==2.2.1
- scipy ==1.12.0
- shap *
- torch ==2.2.1
- transformers ==4.38.1
- zennit ==0.5.1