Captum: A unified and generic model interpretability library for PyTorch

09/16/2020
by   Narine Kokhlikyan, et al.
21

In this paper we introduce a novel, unified, open-source model interpretability library for PyTorch [12]. The library contains generic implementations of a number of gradient and perturbation-based attribution algorithms, also known as feature, neuron and layer importance algorithms, as well as a set of evaluation metrics for these algorithms. It can be used for both classification and non-classification models including graph-structured models built on Neural Networks (NN). In this paper we give a high-level overview of supported attribution algorithms and show how to perform memory-efficient and scalable computations. We emphasize that the three main characteristics of the library are multimodality, extensibility and ease of use. Multimodality supports different modality of inputs such as image, text, audio or video. Extensibility allows adding new algorithms and features. The library is also designed for easy understanding and use. Besides, we also introduce an interactive visualization tool called Captum Insights that is built on top of Captum library and allows sample-based model debugging and visualization using feature importance metrics.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/05/2023

Time Interpret: a Unified Model Interpretability Library for Time Series

We introduce , a library designed as an extension of Captum, with a spec...
research
06/24/2016

A Taxonomy and Library for Visualizing Learned Features in Convolutional Neural Networks

Over the last decade, Convolutional Neural Networks (CNN) saw a tremendo...
research
08/24/2022

Ai4EComponentLib.jl: A Component-base Model Library in Julia

Ai4EComponentLib.jl(Ai4EComponentLib) is a component-base model library ...
research
06/17/2023

FuzzyLogic.jl: a Flexible Library for Efficient and Productive Fuzzy Inference

This paper introduces FuzzyLogic.jl, a Julia library to perform fuzzy in...
research
10/18/2019

Understanding Deep Networks via Extremal Perturbations and Smooth Masks

The problem of attribution is concerned with identifying the parts of an...
research
08/31/2023

VisAhoi: Towards a Library to Generate and Integrate Visualization Onboarding Using High-level Visualization Grammars

Visualization onboarding supports users in reading, interpreting, and ex...
research
01/26/2022

IMACS: Image Model Attribution Comparison Summaries

Developing a suitable Deep Neural Network (DNN) often requires significa...

Please sign up or login with your details

Forgot password? Click here to reset