Skip to main content
QUICK REVIEW

[Paper Review] Quantus: An Explainable AI Toolkit for Responsible Evaluation of Neural Network Explanations and Beyond

Anna Karin Hedström, Leander Weber|arXiv (Cornell University)|Feb 14, 2022
Explainable Artificial Intelligence (XAI)Computer Science118 citations
TL;DR

Quantus is an open-source Python toolkit that provides a large collection of evaluation metrics to quantitatively assess neural network explanations, promoting reproducibility and responsible XAI.

ABSTRACT

The evaluation of explanation methods is a research topic that has not yet been explored deeply, however, since explainability is supposed to strengthen trust in artificial intelligence, it is necessary to systematically review and compare explanation methods in order to confirm their correctness. Until now, no tool with focus on XAI evaluation exists that exhaustively and speedily allows researchers to evaluate the performance of explanations of neural network predictions. To increase transparency and reproducibility in the field, we therefore built Quantus -- a comprehensive, evaluation toolkit in Python that includes a growing, well-organised collection of evaluation metrics and tutorials for evaluating explainable methods. The toolkit has been thoroughly tested and is available under an open-source license on PyPi (or on https://github.com/understandable-machine-intelligence-lab/Quantus/).

Motivation & Objective

  • Address the lack of standardized, quantitative evaluation procedures for XAI methods.
  • Provide a comprehensive, extensible toolkit to automate evaluation of explanations.
  • Improve transparency and reproducibility in XAI by offering many metrics and guidelines.

Proposed method

  • Curate and implement 30+ reference metrics spanning faithfulness, robustness, localisation, complexity, randomisation, and axiomatic categories.
  • Organize metrics into six evaluation categories and document their use and pitfalls.
  • Provide an abstract API layer that bridges deep learning frameworks (e.g., PyTorch, TensorFlow) to evaluation routines.
  • Offer tutorials, examples, and a design that supports easy extension and metric creation.
  • Incorporate quality controls (tests, CI, flake8, mypy, black) to ensure code reliability.

Experimental results

Research questions

  • RQ1How can XAI explanations be quantitatively evaluated in a standardized, extensible way?
  • RQ2What metrics best capture different properties of explanations (faithfulness, robustness, localisation, etc.)?
  • RQ3How does parameterization of evaluation metrics affect outcomes and comparisons of explanation methods?

Key findings

  • Quantus aggregates a wide range of metrics (27+ in initial claims) across multiple evaluation categories to enable holistic comparison of explanations.
  • The toolkit provides guidance on metric use, potential pitfalls, and sensitivity analyses to illustrate how parameter choices affect rankings.
  • Quantus features an abstract, user-friendly API enabling one-line evaluation of pre-computed explanations and easy integration with model training workflows.
  • Documentation and tutorials support diverse use cases, data domains, and tasks, highlighting reproducibility and accessibility.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.