Back to Search Start Over

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

Authors :
Garcia, Rafael
Munz, Tanja
Weiskopf, Daniel
Source :
Visual Computing for Industry, Biomedicine & Art; 12/13/2021, Vol. 4 Issue 1, p1-13, 13p
Publication Year :
2021

Abstract

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. 3AkgHYPUvew9RocThgM64- Video abstract. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
25244442
Volume :
4
Issue :
1
Database :
Complementary Index
Journal :
Visual Computing for Industry, Biomedicine & Art
Publication Type :
Academic Journal
Accession number :
154097584
Full Text :
https://doi.org/10.1186/s42492-021-00090-0