Visual analytics tool for the interpretation of hidden states in recurrent neural networks

被引:6
作者
Garcia, Rafael [1 ]
Munz, Tanja [1 ]
Weiskopf, Daniel [1 ]
机构
[1] Univ Stuttgart, VISUS, D-70569 Stuttgart, Germany
关键词
Visual analytics; Visualization; Machine learning; Classification; Recurrent neural networks; Long short-term memory; Hidden states; Interpretability; Natural language processing; Nonlinear projection;
D O I
10.1186/s42492-021-00090-0
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
In this paper, we introduce a visual analytics approach aimed at helping machine learning experts analyze the hidden states of layers in recurrent neural networks. Our technique allows the user to interactively inspect how hidden states store and process information throughout the feeding of an input sequence into the network. The technique can help answer questions, such as which parts of the input data have a higher impact on the prediction and how the model correlates each hidden state configuration with a certain output. Our visual analytics approach comprises several components: First, our input visualization shows the input sequence and how it relates to the output (using color coding). In addition, hidden states are visualized through a nonlinear projection into a 2-D visualization space using t-distributed stochastic neighbor embedding to understand the shape of the space of the hidden states. Trajectories are also employed to show the details of the evolution of the hidden state configurations. Finally, a time-multi-class heatmap matrix visualizes the evolution of the expected predictions for multi-class classifiers, and a histogram indicates the distances between the hidden states within the original space. The different visualizations are shown simultaneously in multiple views and support brushing-and-linking to facilitate the analysis of the classifications and debugging for misclassified input sequences. To demonstrate the capability of our approach, we discuss two typical use cases for long short-term memory models applied to two widely used natural language processing datasets.
引用
收藏
页数:13
相关论文
共 50 条
[21]   Recurrent Neural Networks and Their Memory Behavior: A Survey [J].
Su, Yuanhang ;
Kuo, C. -C. Jay .
APSIPA TRANSACTIONS ON SIGNAL AND INFORMATION PROCESSING, 2022, 11 (01)
[22]   INTERPRETABILITY OF RECURRENT NEURAL NETWORKS IN REMOTE SENSING [J].
Perez-Suay, Adrian ;
Adsuara, Jose E. ;
Piles, Maria ;
Martinez-Ferrer, Laura ;
Diaz, Emiliano ;
Moreno-Martinez, Alvaro ;
Camps-Valls, Gustau .
IGARSS 2020 - 2020 IEEE INTERNATIONAL GEOSCIENCE AND REMOTE SENSING SYMPOSIUM, 2020, :3991-3994
[23]   VAC-CNN: A Visual Analytics System for Comparative Studies of Deep Convolutional Neural Networks [J].
Xuan, Xiwei ;
Zhang, Xiaoyu ;
Kwon, Oh-Hyun ;
Ma, Kwan-Liu .
IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2022, 28 (06) :2326-2337
[24]   A review of Hidden Markov models and Recurrent Neural Networks for event detection and localization in biomedical signals [J].
Khalifa, Yassin ;
Mandic, Danilo ;
Sejdic, Ervin .
INFORMATION FUSION, 2021, 69 :52-72
[25]   NEVA: Visual Analytics to Identify Fraudulent Networks [J].
Leite, Roger A. ;
Gschwandtner, Theresia ;
Miksch, Silvia ;
Gstrein, Erich ;
Kuntner, Johannes .
COMPUTER GRAPHICS FORUM, 2020, 39 (06) :344-359
[26]   Integrated Visual Analytics Tool for Heterogeneous Text Data [J].
Park, Jihyoun .
2014 IEEE CONFERENCE ON VISUAL ANALYTICS SCIENCE AND TECHNOLOGY (VAST), 2014, :325-326
[27]   DPVis: Visual Analytics With Hidden Markov Models for Disease Progression Pathways [J].
Kwon, Bum Chul ;
Anand, Vibha ;
Severson, Kristen A. ;
Ghosh, Soumya ;
Sun, Zhaonan ;
Frohnert, Brigitte, I ;
Lundgren, Markus ;
Ng, Kenney .
IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2021, 27 (09) :3685-3700
[28]   Audio Visual Speech Recognition with Multimodal Recurrent Neural Networks [J].
Feng, Weijiang ;
Guan, Naiyang ;
Li, Yuan ;
Zhang, Xiang ;
Luo, Zhigang .
2017 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2017, :681-688
[29]   exploRNN: teaching recurrent neural networks through visual exploration [J].
Bauerle, Alex ;
Albus, Patrick ;
Stork, Raphael ;
Seufert, Tina ;
Ropinski, Timo .
VISUAL COMPUTER, 2023, 39 (09) :4323-4338
[30]   exploRNN: teaching recurrent neural networks through visual exploration [J].
Alex Bäuerle ;
Patrick Albus ;
Raphael Störk ;
Tina Seufert ;
Timo Ropinski .
The Visual Computer, 2023, 39 :4323-4338