arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.10023cs.LGstat.ML
收藏

通过概率抽象解释循环神经网络

Towards Interpreting Recurrent Neural Networks through Probabilistic Abstraction

Zhejiang University(浙江大学);Singapore Management University(新加坡管理大学);Huawei International Pte Ltd(华为国际私人有限公司);National University of Singapore(新加坡国立大学)

Guoliang Dong, Jingyi Wang, Jun Sun, Yang Zhang, Xinyu Wang, Ting Dai, Jin Song Dong, Xingen Wang

摘要:

神经网络正成为解决许多现实问题的流行工具,如对象识别和机器翻译,这要归功于其作为端到端解决方案的卓越性能。然而,神经网络是复杂的黑箱模型,这阻碍了人类解释并因此信任它们做出关键决策。为了解释神经网络,已经提出了几种方法来从神经网络中提取简单的确定性模型。结果并不令人鼓舞(例如,低准确性和有限的可扩展性),这主要是由于这种简单模型的有限表现力。在这项工作中,我们提出了一种方法来提取概率自动机解释一类重要的神经网络,即,循环神经网络我们的工作在两个重要方面区别于现有的方法。一是概率被用来弥补表现力的损失。这是由于观察到人类的推理往往是“概率论的”。另一个是我们自适应地识别正确的抽象级别,以便以特定于请求的方式提取简单的模型。我们使用最先进的架构(包括GRU和LSTM)在几个真实世界的数据集上进行实验。结果表明,我们的方法显着提高了现有的方法在准确性或可扩展性。最后,我们通过检测对抗性文本来证明提取模型的有用性。

英文摘要:

Neural networks are becoming a popular tool for solving many real-world problems such as object recognition and machine translation, thanks to its exceptional performance as an end-to-end solution. However, neural networks are complex black-box models, which hinders humans from interpreting and consequently trusting them in making critical decisions. Towards interpreting neural networks, several approaches have been proposed to extract simple deterministic models from neural networks. The results are not encouraging (e.g., low accuracy and limited scalability), fundamentally due to the limited expressiveness of such simple models. In this work, we propose an approach to extract probabilistic automata for interpreting an important class of neural networks, i.e., recurrent neural networks. Our work distinguishes itself from existing approaches in two important ways. One is that probability is used to compensate for the loss of expressiveness. This is inspired by the observation that human reasoning is often `probabilistic'. The other is that we adaptively identify the right level of abstraction so that a simple model is extracted in a request-specific way. We conduct experiments on several real-world datasets using state-of-the-art architectures including GRU and LSTM. The result shows that our approach significantly improves existing approaches in terms of accuracy or scalability. Lastly, we demonstrate the usefulness of the extracted models through detecting adversarial texts.

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

↑