利用随机森林邻近度增强局部可解释性与信任分数
Enhanced Local Explainability and Trust Scores with Random Forest Proximities
AI总结:
本文利用随机森林可等价为加权K近邻模型的性质,提出基于RF邻近度的局部归因与预测可信度评估方法,并与SHAP互补,用于解释预测及样本外表现。
摘要:
我们提出了一种解释随机森林(RF)回归与分类模型的预测及样本外性能的新方法,其依据是任何RF在数学上都可表述为自适应加权K近邻模型。具体而言,我们采用一项近期成果:对于回归和分类任务,任何RF预测都可被精确改写为训练目标的加权和,其中权重是相应数据点对之间的RF邻近度。我们表明,这种线性关系促成了RF预测的局部可解释性概念,能够针对训练集中的观测为任意模型预测生成归因,从而补充SHAP等成熟的基于特征的方法——后者是跨输入特征为模型预测生成归因。我们展示了这种基于邻近度的可解释性方法如何与SHAP结合使用,不仅解释模型预测,还解释样本外性能,因为邻近度提供了一种新手段,用于评估给定模型预测在何种情况下更可能或更不可能正确。我们在美国公司债券价格与收益的回归和分类建模中演示了该方法。
英文摘要:
We initiate a novel approach to explain the predictions and out of sample performance of random forest (RF) regression and classification models by exploiting the fact that any RF can be mathematically formulated as an adaptive weighted K nearest-neighbors model. Specifically, we employ a recent result that, for both regression and classification tasks, any RF prediction can be rewritten exactly as a weighted sum of the training targets, where the weights are RF proximities between the corresponding pairs of data points. We show that this linearity facilitates a local notion of explainability of RF predictions that generates attributions for any model prediction across observations in the training set, and thereby complements established feature-based methods like SHAP, which generate attributions for a model prediction across input features. We show how this proximity-based approach to explainability can be used in conjunction with SHAP to explain not just the model predictions, but also out-of-sample performance, in the sense that proximities furnish a novel means of assessing when a given model prediction is more or less likely to be correct. We demonstrate this approach in the modeling of US corporate bond prices and returns in both regression and classification cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。