OmniXAI: A Library for Explainable AI

Wenzhuo Yang, Hung Le, Tanmay Laud, Silvio Savarese, Steven C. H. Hoi
6/1/2022
58 citations
cs.LGcs.AIcs.CV

Official code: salesforce/OmniXAI (975 stars, Jupyter Notebook, BSD-3-Clause, last commit 2026-06-02).

Abstract

We introduce OmniXAI (short for Omni eXplainable AI), an open-source Python library of eXplainable AI (XAI), which offers omni-way explainable AI capabilities and various interpretable machine learning techniques to address the pain points of understanding and interpreting the decisions made by machine learning (ML) in practice. OmniXAI aims to be a one-stop comprehensive library that makes explainable AI easy for data scientists, ML researchers and practitioners who need explanation for various types of data, models and explanation methods at different stages of ML process (data exploration, feature engineering, model development, evaluation, and decision-making, etc).

Show full abstract

In particular, our library includes a rich family of explanation methods integrated in a unified interface, which supports multiple data types (tabular data, images, texts, time-series), multiple types of ML models (traditional ML in Scikit-learn and deep learning models in PyTorch/TensorFlow), and a range of diverse explanation methods including "model-specific" and "model-agnostic" ones (such as feature-attribution explanation, counterfactual explanation, gradient-based explanation, etc). For practitioners, the library provides an easy-to-use unified interface to generate the explanations for their applications by only writing a few lines of codes, and also a GUI dashboard for visualization of different explanations for more insights about decisions. In this technical report, we present OmniXAI's design principles, system architectures, and major functionalities, and also demonstrate several example use cases across different types of data, tasks, and models.

View on arXivView PDF

Code Implementations(1)

salesforce/OmniXAIOfficial100%
BSD-3-Clause

OmniXAI: A Library for eXplainable AI

975108Jupyter Notebook, PythonFeb 17, 20226 months agoBSD-3-Clause
explainable-aiexplainable-mlexplanationinterpretable-machine-learningmachine-learning

Similar Papers

Cite this paper

@article{yang2022omnixai,
  title  = {OmniXAI: A Library for Explainable AI},
  author = {Wenzhuo Yang and Hung Le and Tanmay Laud and Silvio Savarese and Steven C. H. Hoi},
  year   = {2022},
  eprint = {2206.01612},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.01612}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.01612.svg)](https://codeofpaper.com/paper/2206.01612)

Discussion