Skip to main content
QUICK REVIEW

[Paper Review] Landscape of R packages for eXplainable Artificial Intelligence

Szymon Maksymiuk, Alicja Gosiewska|arXiv (Cornell University)|Sep 24, 2020
Explainable Artificial Intelligence (XAI)Computer Science47 references33 citations
TL;DR

The paper presents a taxonomy for XAI methods, surveys 27 R packages for XAI, compares their capabilities and interoperability, and provides examples and trends with cross-language context (Python).

ABSTRACT

The growing availability of data and computing power fuels the development of predictive models. In order to ensure the safe and effective functioning of such models, we need methods for exploration, debugging, and validation. New methods and tools for this purpose are being developed within the eXplainable Artificial Intelligence (XAI) subdomain of machine learning. In this work (1) we present the taxonomy of methods for model explanations, (2) we identify and compare 27 packages available in R to perform XAI analysis, (3) we present an example of an application of particular packages, (4) we acknowledge recent trends in XAI. The article is primarily devoted to the tools available in R, but since it is easy to integrate the Python code, we will also show examples for the most popular libraries from Python.

Motivation & Objective

  • Introduce two taxonomies of XAI methods (model-centric and explanation-domain focused).
  • Identify and catalog 27 popular CRAN/R packages implementing XAI methods.
  • Compare package capabilities in terms of method coverage, interoperability, and runtime.
  • Provide knitr examples illustrating package usage for practical XAI tasks.
  • Discuss trends and provide guidance for applying XAI tools safely and effectively.

Proposed method

  • Propose a model-oriented and an explanation-domain taxonomy for XAI methods.
  • Systematically review CRAN/R packages and extend to relevant Python libraries for context.
  • Compare packages on method diversity, interoperability with ML frameworks, and runtime performance.
  • Create knitr reports with illustrative examples for each package.
  • Discuss implications, trends, and best practices for applying XAI tools.

Experimental results

Research questions

  • RQ1What taxonomies best categorize XAI methods and their applications?
  • RQ2Which R packages implement XAI methods and how do their capabilities differ?
  • RQ3How interoperable are the identified XAI packages with common ML frameworks and languages?
  • RQ4What practical guidance and examples can help researchers start using XAI tools in R (and Python)?

Key findings

  • 27 R packages implementing XAI methods were identified and reviewed.
  • Two taxonomies of XAI methods were introduced: model-oriented and domain-oriented explanations.
  • Most packages focus on Model Parts or Predict Parts explanations, with varying coverage of global vs. local explanations.
  • Interoperability with ML frameworks varies; some packages support multiple frameworks, while others are framework-specific.
  • Python libraries provide comparable capabilities, and cross-language integration adds complexity.
  • An example gallery and practical recommendations were provided to help researchers begin using XAI tools.

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.