arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.07896cs.LGcs.AIstat.ML
收藏

Captum:一个通用的PyTorch模型解释库

Captum: A unified and generic model interpretability library for PyTorch

Facebook AI(Facebook 人工智能研究院)
Narine Kokhlikyan, Vivek Miglani, Miguel Martin, Edward Wang, Bilal Alsallakh, Jonathan Reynolds, Alexander Melnikov, Natalia Kliushkina, Carlos Araya, Siqi Yan… 展开作者

Narine Kokhlikyan, Vivek Miglani, Miguel Martin, Edward Wang, Bilal Alsallakh, Jonathan Reynolds, Alexander Melnikov, Natalia Kliushkina, Carlos Araya, Siqi Yan, Orion Reblitz-Richardson

摘要:

在本文中,我们为PyTorch引入了一个新颖的,统一的,开源的模型可解释性库[12]。该库包含许多基于梯度和扰动的归因算法的通用实现,也称为特征、神经元和层重要性算法,以及这些算法的一组评估指标。它可以用于分类和非分类模型,包括建立在神经网络(NN)上的图结构模型。在本文中,我们给出了一个高层次的概述支持的属性算法,并显示如何执行内存效率和可扩展的计算。我们强调,图书馆的三个主要特点是多模态,可扩展性和易用性。多模态支持不同模态的输入,例如图像、文本、音频或视频。可扩展性允许添加新的算法和功能。该库还旨在易于理解和使用。此外,我们还介绍了一个名为Captum Insights的交互式可视化工具,该工具构建在Captum库之上,允许基于样本的模型调试和使用特征重要性度量的可视化。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑