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.
RETAIN: An Interpretable Predictive Model for Healthcare using Reverse Time Attention Mechanism
Georgia Institute of Technology(佐治亚理工学院);Sutter Health(萨特健康)
准确性和可解释性是成功的预测模型的两个主要特征。通常情况下,必须选择支持复杂的黑盒模型,如递归神经网络(RNN)的准确性,而不是准确性较低但更可解释的传统模型,如逻辑回归。这种权衡在准确性和可解释性都很重要的医学中提出了挑战。我们通过开发用于电子健康记录(EHR)数据的REverse Time AttentIoN模型(RETAIN)来应对这一挑战。RETAIN在保持临床可解释性的同时实现了高准确性,并且基于两级神经注意力模型,该模型检测有影响力的既往访视和这些访视中的重要临床变量(例如关键诊断)。RETAIN通过以相反的时间顺序关注EHR数据来模仿医生的实践,以便最近的临床访问可能会受到更高的关注。RETAIN在一个大型健康系统EHR数据集上进行了测试,在8年的时间里,263K名患者完成了1400万次访问,并证明了与RNN等最先进方法相媲美的预测准确性和计算可扩展性,以及与传统模型相媲美的可解释性。
Parallel Delayed Memory Units for Enhanced Temporal Modeling in Biomedical and Bioacoustic Signal Analysis
Department of Information Technology, WAVES Research Group, Ghent University(信息科技系、WAVES研究组、根特大学);Department of Electrical and Electronic Engineering, Imperial College London(电子与电气工程系、伦敦帝国学院)