arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.10708cs.NEcs.LG
收藏

基于门控RNN的可解释结构学习

Learning with Interpretable Structure from Gated RNN

Nanjing University(南京大学)

Bo-Jian Hou, Zhi-Hua Zhou

摘要:

近年来,深度学习模型的可解释性引起了广泛的关注。如果我们能够从深度学习模型中学习到可解释的结构,这将是有益的。本文主要研究递归神经网络,特别是门控递归神经网络,其内部机制至今仍不清楚。根据可解释性的定义,我们发现处理序列数据的有限状态自动机FSA具有更强的可解释性内在机制,可以从RNN中学习到可解释性结构。基于两种不同的聚类方法,我们提出了两种从RNN学习FSA的方法。通过学习FSA,并通过对人工和真实数据集的实验,我们发现FSA比它学习的RNN更可信,这使FSA有机会在涉及人类生命或危险设施的应用中取代RNN。此外,我们还分析了门数对RNN性能的影响。我们的研究结果表明,在RNN中,门是重要的,但越少越好,这可能是一个指导设计其他RNN。最后,我们观察到从RNN学习的FSA给出了语义聚合状态,其转换图向我们展示了RNN如何内在地处理文本分类任务的一个非常有趣的愿景。

英文摘要:

The interpretability of deep learning models has raised extended attention these years. It will be beneficial if we can learn an interpretable structure from deep learning models. In this paper, we focus on Recurrent Neural Networks~(RNNs) especially gated RNNs whose inner mechanism is still not clearly understood. We find that Finite State Automaton~(FSA) that processes sequential data has more interpretable inner mechanism according to the definition of interpretability and can be learned from RNNs as the interpretable structure. We propose two methods to learn FSA from RNN based on two different clustering methods. With the learned FSA and via experiments on artificial and real datasets, we find that FSA is more trustable than the RNN from which it learned, which gives FSA a chance to substitute RNNs in applications involving humans' lives or dangerous facilities. Besides, we analyze how the number of gates affects the performance of RNN. Our result suggests that gate in RNN is important but the less the better, which could be a guidance to design other RNNs. Finally, we observe that the FSA learned from RNN gives semantic aggregated states and its transition graph shows us a very interesting vision of how RNNs intrinsically handle text classification tasks.

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

↑