[论文解读] A Perspective on Explainable Artificial Intelligence Methods: SHAP and LIME
本评论分析 SHAP 和 LIME 作为表格数据的可解释性AI方法,讨论它们的假设、优势、弱点,并提供适当使用和解释的建议。
eXplainable artificial intelligence (XAI) methods have emerged to convert the black box of machine learning (ML) models into a more digestible form. These methods help to communicate how the model works with the aim of making ML models more transparent and increasing the trust of end-users into their output. SHapley Additive exPlanations (SHAP) and Local Interpretable Model Agnostic Explanation (LIME) are two widely used XAI methods, particularly with tabular data. In this perspective piece, we discuss the way the explainability metrics of these two methods are generated and propose a framework for interpretation of their outputs, highlighting their weaknesses and strengths. Specifically, we discuss their outcomes in terms of model-dependency and in the presence of collinearity among the features, relying on a case study from the biomedical domain (classification of individuals with or without myocardial infarction). The results indicate that SHAP and LIME are highly affected by the adopted ML model and feature collinearity, raising a note of caution on their usage and interpretation.
研究动机与目标
- 解释 XAI 的动机以及在高风险领域揭开黑箱模型神秘面的需求。
- 阐明 SHAP 和 LIME 如何生成解释以及它们声称代表的内容。
- 识别 SHAP 和 LIME 的优缺点,包括假设和潜在陷阱。
- 提供在实践中改进 SHAP 和 LIME 解释性和恰当使用的建议。
提出的方法
- 将 SHAP 描述为基于博弈论和特征贡献的模型不可知的事后方法。
- 将 Kernel SHAP 描述为处理大量特征的近似方法。
- 解释 SHAP 解释取决于模型,且可能受特征独立性假设和共线性的影响。
- 将 LIME 描述为模型无关的局部解释器,将复杂模型对单个实例转换为局部线性模型。
- 强调 LIME 也依赖于模型,可能在某些模型中错误表示非线性关系。
- 讨论当最终用户并非专家以及在处理共线特征时的可解释性挑战。
- 提供用简单语言报告 SHAP 输出并使用如 NMR 这样的稳定性度量来评估特征清单的指南。

实验结果
研究问题
- RQ1在解释模型预测时,SHAP 和 LIME 的核心假设是什么?
- RQ2对于表格数据,SHAP 和 LIME 的实际优点和局限性是什么?
- RQ3研究人员和最终用户应如何解释 SHAP 和 LIME 的输出以避免误解?
- RQ4有哪些建议可以改善 SHAP 和 LIME 解释的恰当使用和报告?
主要发现
- SHAP 的结果取决于所选模型,不同模型可能产生不同的特征重要性排序。
- SHAP 假设特征独立性,在存在共线性时可能导致偏见或不现实的解释。
- SHAP 可能受偏置分类器的影响,可能产生未能反映潜在偏见的解释。
- LIME 通过用局部线性模型近似复杂模型来解释局部预测,可能错过非线性关系。
- LIME 解释局部于特定实例,可能无法在整个模型中推广;解释会受到特征共线性的影响。
- 两种方法都需要谨慎沟通,可能有助于简化输出并使用稳定性度量。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。