InterpretDL: Interpretation of Deep Learning Models,基于『飞桨』的模型可解释性算法库。
We release the version 0.8.0 of InterpretDL, with new features as follows:
Depreciation:
use_cuda
is removed. Use device
._paddle_prepare
is removed. Use _build_predict_fn
.We have two more papers got accepted by AAAI'23 and Artificial Intelligence respectively. See implementations at G-LIME and TrainingDynamics.
We release the version 0.7.0 of InterpretDL, with new features as follows:
examples/
. Tutorials are still kept in the previous directory tutorials
.bidirectional_transformer
is implemented.We also would like to brag about ourselves that our paper with InterpretDL is accepted by Journal of Machine Learning Research (JMLR).
Xuhong Li, Haoyi Xiong, Xingjian Li, Xuanyu Wu, Zeyu Chen, and Dejing Dou. “InterpretDL: Explaining Deep Models in PaddlePaddle.” Journal of Machine Learning Research, 2022. https://jmlr.org/papers/v23/21-0738.html.
One survey paper is accepted by Knowledge and Information Systems (KAIS):
Xuhong Li, Haoyi Xiong, Xingjian Li, Xuanyu Wu, Xiao Zhang, Jiang Bian, and Dejing Dou. “Interpretable Deep Learning: Interpretations, Interpretability, Trustworthiness, and Beyond.” Knowledge and Information Systems, 2022, Springer. https://arxiv.org/abs/2103.10689.
And two research works got accepted by ECML'22 and Machine Learning Journal:
Xuhong Li, Haoyi Xiong, Siyu Huang, Shilei Ji, Dejing Dou. Cross-Model Consensus of Explanations and Beyond for Image Classification Models: An Empirical Study. ECML'22, Machine Learning Journal Track. https://arxiv.org/abs/2109.00707.
Xuhong Li, Haoyi Xiong, Yi Liu, Dingfu Zhou, Zeyu Chen, Yaqing Wang, and Dejing Dou. "Distilling ensemble of explanations for weakly-supervised pre-training of image segmentation models." Machine Learning (2022): 1-17. https://arxiv.org/abs/2207.03335.
We have also released a dataset containing 1.2M+ pseudo semantic segmentation images of ImageNet. Refer to PaddleSeg:PSSL for downloading the dataset and the pretrained models.
We release the version 0.6.2 of InterpretDL, with new features as follows:
We release the version 0.6.1 of InterpretDL, with new features as follows:
We release the version 0.6.0 of InterpretDL, with new features as follows:
GAInterpreter
has been implemented, with a corresponding usage example. This implementation is suitable for models with self-attention in each modality, like CLIP.Methods | Representation | Model Type | Example |
---|---|---|---|
LIME | Input Features | Model-Agnostic | link1 | link2 |
LIME with Prior | Input Features | Model-Agnostic | link |
NormLIME/FastNormLIME | Input Features | Model-Agnostic | link1 | link2 |
LRP | Input Features | Differentiable | link |
SmoothGrad | Input Features | Differentiable | link |
IntGrad | Input Features | Differentiable | link |
GradSHAP | Input Features | Differentiable | link |
Occlusion | Input Features | Model-Agnostic | link |
GradCAM/CAM | Intermediate Features | Specific: CNNs | link |
ScoreCAM | Intermediate Features | Specific: CNNs | link |
Rollout | Intermediate Features | Specific: Transformers | link |
TAM | Intermediate Features | Specific: Transformers | link |
ForgettingEvents | Dataset-Level | Differentiable | link |
TIDY (Training Data Analyzer) | Dataset-Level | Differentiable | link |
Consensus | Features | Cross-Model | link |
Generic Attention | Input Features | Specific: Bi-Modal Transformers | link (nblink)* |
* For text visualizations, NBViewer gives better and colorful rendering results.
We release the version 0.5.3 of InterpretDL, with improvements of code styles and documentation.
We release the version 0.5.2 of InterpretDL, with improvements in NormLIME. The tutorial of NormLIME is modified accordingly too.
Besides, the argument of use_cuda
has been removed from tutorials and unit tests. use_cuda
would be removed in the next version.
We release the version 0.5.1 of InterpretDL, with small fixes:
IntermediateLayerInterpreter
.Thanks @Wgm-Inspur for correcting the parameter of GradShapNLPInterpreter
used in tutorials.
We would also like to mention that the arguments use_cuda
is deprecated. Use device
directly.
We release the version 0.5.0 of InterpretDL, with new features as following:
use_cuda
is on the way. Use device
directly.We release the version 0.4.0 of InterpretDL, with new features as following: