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

用于神经模型解释的标度符号方法

Scaling Symbolic Methods using Gradients for Neural Model Explanation

Google Research(谷歌研究院)

Subham Sekhar Sahoo, Subhashini Venugopalan, Li Li, Rishabh Singh, Patrick Riley

摘要:

基于可满足性模理论(SMT)求解器的符号技术已被提出用于分析和验证神经网络特性,但由于其在大型网络中的可扩展性差,其使用受到相当的限制。在这项工作中,我们提出了一种技术相结合的基于梯度的方法与符号技术来扩展这种分析,并展示其应用模型的解释。特别是,我们应用这种技术来识别输入中与神经网络的预测最相关的最小区域。我们的方法使用梯度信息(基于集成的神经元)来关注第一层中的神经元子集,这使得我们的技术可以扩展到大型网络。对应的SMT约束对最小输入掩码发现问题进行编码,使得在对输入进行掩码之后,所选神经元的激活仍然高于阈值。在求解最小掩码之后,我们的方法对掩码区域进行评分,以生成掩码内特征的相对排序。这会产生一个显着图,解释在进行预测时“模型在看什么”。我们在三个数据集上评估了我们的技术- MNIST,ImageNet和Beer Reviews,并在定量和定性上证明了我们的方法生成的区域比单独基于梯度的方法更稀疏,并且获得了更高的显着性分数。代码和示例在-https://github.com/google-research/google-research/tree/master/smug_saliency

英文摘要:

Symbolic techniques based on Satisfiability Modulo Theory (SMT) solvers have been proposed for analyzing and verifying neural network properties, but their usage has been fairly limited owing to their poor scalability with larger networks. In this work, we propose a technique for combining gradient-based methods with symbolic techniques to scale such analyses and demonstrate its application for model explanation. In particular, we apply this technique to identify minimal regions in an input that are most relevant for a neural network's prediction. Our approach uses gradient information (based on Integrated Gradients) to focus on a subset of neurons in the first layer, which allows our technique to scale to large networks. The corresponding SMT constraints encode the minimal input mask discovery problem such that after masking the input, the activations of the selected neurons are still above a threshold. After solving for the minimal masks, our approach scores the mask regions to generate a relative ordering of the features within the mask. This produces a saliency map which explains "where a model is looking" when making a prediction. We evaluate our technique on three datasets - MNIST, ImageNet, and Beer Reviews, and demonstrate both quantitatively and qualitatively that the regions generated by our approach are sparser and achieve higher saliency scores compared to the gradient-based methods alone. Code and examples are at - https://github.com/google-research/google-research/tree/master/smug_saliency

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

↑