Skip to main content
QUICK REVIEW

[论文解读] dalex: Responsible Machine Learning with Interactive Explainability and Fairness in Python

Hubert Baniecki, Wojciech Kretowicz|arXiv (Cornell University)|Dec 28, 2020
Explainable Artificial Intelligence (XAI)Computer Science被引用 73
一句话总结

dalex 提供一个统一的 Python 包,具有模型不可知界面的交互式可解释性与公正性,统一多种方法并为端到端负责任的 ML 启用仪表板。

ABSTRACT

The increasing amount of available data, computing power, and the constant pursuit for higher performance results in the growing complexity of predictive models. Their black-box nature leads to opaqueness debt phenomenon inflicting increased risks of discrimination, lack of reproducibility, and deflated performance due to data drift. To manage these risks, good MLOps practices ask for better validation of model performance and fairness, higher explainability, and continuous monitoring. The necessity of deeper model transparency appears not only from scientific and social domains, but also emerging laws and regulations on artificial intelligence. To facilitate the development of responsible machine learning models, we showcase dalex, a Python package which implements the model-agnostic interface for interactive model exploration. It adopts the design crafted through the development of various tools for responsible machine learning; thus, it aims at the unification of the existing solutions. This library's source code and documentation are available under open license at https://python.drwhy.ai/.

研究动机与目标

  • 解决不透明的 ML 模型及其相关风险,如歧视、可重复性问题和数据漂移。
  • 在 Python 中提供一个统一的、模型不可知的可解释性与公正性接口。
  • 促进交互式分析和模型比较,以支持负责任的 ML 实践。

提出的方法

  • Introduce the dalex.Explainer class as a uniform abstraction over diverse model and data APIs.
  • Provide model-level and predict-level explanations and enable integration of external explanations (e.g., SHAP, LIME) through a common interface.
  • Incorporate fairness checks via a fairness object and a fairness_check method with textual and visual outputs.
  • Offer an interactive Arena dashboard for live model comparison incorporating explanations and fairness analyses.
  • Plotly-based visualizations and a consistent result structure (DataFrame) across explanation objects.

实验结果

研究问题

  • RQ1如何在单一接口下,将对多样化 Python ML 框架的可解释性和公平性方法统一起来?
  • RQ2交互式仪表板是否能够在公平性和准确性方面提升对模型的端到端理解与比较?
  • RQ3使用通用指标和可视化来评估和传达模型公平性的机制是什么?
  • RQ4模型不可知架构在多大程度上能够促进对外部可解释性工具的整合?
  • RQ5为提升负责任的 ML 的问责性、鲁棒性和安全性,需要哪些未来的扩展?

主要发现

  • 一个名为 dalex 的 Python 包提供了一个统一抽象层(Explainer),将模型、数据和解释连接起来。
  • Dalex 支持模型级和预测级解释,并且可以通过一个通用 API 将外部解释工具(如 SHAP 和 LIME)整合进来。
  • 公平性检查已经实现,可以通过 fairness 对象和 fairness_check 方法调用,输出文本和可视化结果。
  • 一个互动式 Arena 仪表板支持带有可解释性与公平性分析的实时模型比较,并且可以保存以实现可重复性。
  • 该包通过在一个框架内统一解释、公平性和交互性,强调端到端的负责任 ML。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。