Visual Analytics System for Hidden States in Recurrent Neural Networks

DOI

Source code of our visual analytics system for the interpretation of hidden states in recurrent neural networks. This project contains source code for preprocessing data and the visual analytics system. Additionally, we added precomputed data for immediate use in the visual analysis system.

The sub directories contain the following:

dataPreparation: Python scripts to prepare data for analysis. In these scripts, Long Short-Term Memory (LSTM) models are trained and data for our visual analytics system is exported.

visualAnalytics: The source code of our visual analytics system to explore hidden states. demonstrationData: Data files for the use with our visual analytics system. The same data can also be generated with the data preparation scripts.

We provide two scripts to generate data for analysis in our visual analytics system: for the IMDB and Reuters dataset as available in Keras. The output files can then be loaded into our visual analytics system; their locations have to be specified in userData.toml of the visual analytics system.

The output file of our data preparation scripts or the ones provided for demonstration can be loaded in our visual analytics system for visualization and analysis. Since we provide input files, you do not have to run the preprocessing steps and can use our visual analytics system immediately.

Please have a look at the respective README-files for more details.

IMDB and Reuters datasets: F. Chollet. Keras. GitHub. https://github.com/fchollet/keras. 2015.

You may find the most recent version of the source code on GitHub: https://github.com/MunzT/hiddenStatesVis

Identifier
DOI https://doi.org/10.18419/darus-2052
Related Identifier IsCitedBy https://doi.org/10.1186/s42492-021-00090-0
Metadata Access https://darus.uni-stuttgart.de/oai?verb=GetRecord&metadataPrefix=oai_datacite&identifier=doi:10.18419/darus-2052
Provenance
Creator Munz, Tanja ORCID logo; Garcia, Rafael; Weiskopf, Daniel ORCID logo
Publisher DaRUS
Contributor Munz, Tanja
Publication Year 2021
Funding Reference Deutsche Forschungsgemeinschaft EXC 2075 - 390740016 ; Deutsche Forschungsgemeinschaft TRR 161 - 251654672
Rights info:eu-repo/semantics/openAccess
OpenAccess true
Contact Munz, Tanja (University of Stuttgart)
Representation
Resource Type Dataset
Format application/zip
Size 28036503
Version 1.0
Discipline Other