mlsanityData to 13 Oct 2026

ONNXExplainer: an ONNX Based Generic Framework to Explain Neural Networks Using Shapley Values

arXiv 2309.16916 ↗First posted 29 Sep 2023cs.LG cs.AI cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Understanding why a neural network model makes certain decisions can be as important as the inference performance. Various methods have been proposed to help practitioners explain the prediction of a neural network model, of which Shapley values are most popular. SHAP package is a leading implementation of Shapley values to explain neural networks implemented in TensorFlow or PyTorch but lacks cross-platform support, one-shot deployment and is highly inefficient. To address these problems, we present the ONNXExplainer, which is a generic framework to explain neural networks using Shapley values in the ONNX ecosystem. In ONNXExplainer, we develop its own automatic differentiation and optimization approach, which not only enables One-Shot Deployment of neural networks inference and explanations, but also significantly improves the efficiency to compute explanation with less memory consumption. For fair comparison purposes, we also implement the same optimization in TensorFlow and PyTorch and measure its performance against the current state of the art open-source counterpart, SHAP. Extensive benchmarks demonstrate that the proposed optimization approach improves the explanation latency of VGG19, ResNet50, DenseNet201, and EfficientNetB0 by as much as 500%.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 27 of its 47 references that are in the map. First posted on arXiv 29 Sep 2023.

Builds on

27 of 47 references.

References · 27

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,950
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,223
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,321
  4. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,713
  5. 2016Densely Connected Convolutional Networkscited by 6,707
  6. 2017A Unified Approach to Interpreting Model Predictionscited by 6,515
  7. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,426
  8. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,055
  9. 2017Axiomatic Attribution for Deep Networkscited by 3,368
  10. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,360
  11. 2017Learning Important Features Through Propagating Activation Differencescited by 1,455
  12. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,088
15 more
  1. 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 614
  2. 2017Real Time Image Saliency for Black Box Classifierscited by 246
  3. 2019InterpretML: A Unified Framework for Machine Learning Interpretabilitycited by 246
  4. 2020A Survey on the Explainability of Supervised Machine Learningcited by 225
  5. 2016Visualizing the Effects of Predictor Variables in Black Box Supervised Learning Modelscited by 212
  6. 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 199
  7. 2019One Explanation Does Not Fit All: A Toolkit and Taxonomy of AI Explainability Techniquescited by 164
  8. 2019When Explanations Lie: Why Many Modified BP Attributions Failcited by 92
  9. 2018How Important Is a Neuron?cited by 73
  10. 2018Contrastive Explanation: A Structural-Model Approachcited by 64
  11. 2020dalex: Responsible Machine Learning with Interactive Explainability and Fairness in Pythoncited by 40
  12. 2018DALEX: explainers for complex predictive modelscited by 28
  13. 2022OmniXAI: A Library for Explainable AIcited by 21
  14. 2018Global Model Interpretation via Recursive Partitioningcited by 17
  15. 2023A Comparison of Decision Forest Inference Platforms from A Database Perspectivecited by 3

Built on by

Not cited yet.