Feature importance (FI) estimates are a popular form of explanation, and they are commonly created and evaluated by computing the change in model confidence caused by removing certain input features at test time. For example, in the standard Sufficiency metric, only the top-k most important tokens are kept. In this paper, we study several under-explored dimensions of FI explanations, providing conceptual and empirical improvements for this form of explanation. First, we advance a new argument for why it can be problematic to remove features from an input when creating or evaluating explanations: the fact that these counterfactual inputs are out-of-distribution (OOD) to models implies that the resulting explanations are socially misaligned. The crux of the problem is that the model prior and random weight initialization influence the explanations (and explanation metrics) in unintended ways. To resolve this issue, we propose a simple alteration to the model training process, which results in more socially aligned explanations and metrics. Second, we compare among five approaches for removing features from model inputs. We find that some methods produce more OOD counterfactuals than others, and we make recommendations for selecting a feature-replacement function. Finally, we introduce four search-based methods for identifying FI explanations and compare them to strong baselines, including LIME, Anchors, and Integrated Gradients. Through experiments with six diverse text classification datasets, we find that the only method that consistently outperforms random search is a Parallel Local Search (PLS) that we introduce. Improvements over the second-best method are as large as 5.4 points for Sufficiency and 17 points for Comprehensiveness. All supporting code for experiments in this paper is publicly available at https://github.com/peterbhase/ExplanationSearch.
翻译:地物重要性 (FI) 估算是一种流行的解释形式, 通常通过计算测试时去除某些输入特性而导致的模型信任度变化, 来创建和评估这些估算。 例如, 在标准量化标准中, 仅保留了最上至最重要的符号。 在本文中, 我们研究了FI解释中一些探索不足的层面, 为这种解释形式提供了概念和经验上的改进。 首先, 我们提出了一个新的论据, 说明为什么在创建或评价本地信息解释时从输入中去除特性会有问题 : 这些反事实投入在模型中超出分配( OOOD) 意味着由此产生的解释在社会上是错的。 问题的关键在于, 模型前和随机加权初始化会以意外的方式影响解释( 和解释指标) 。 为了解决这个问题, 我们建议对模型培训进程进行简单的修改, 其结果是在社会上更加一致的解释和衡量标准。 第二, 我们比较了从模型输入的特性中去除的五种方法, 我们发现OD比其他模型产生更多的事实性, 并且我们为选择一个宏的精确的精确的精确的精确的实验, 。 最后, 引入了一种方法, 包括精确的精确的计算方法 。