Understanding Hidden Memories of Recurrent Neural Networks

By Yao Ming, Shaozu Cao, Ruixiang Zhang, Z. Li, Yuanzhe Chen, Yangqiu Song, Huamin Qu. 2017

223 citations recorded by the source corpus.

Recurrent neural networks (RNNs) have been successfully applied to various natural language processing (NLP) tasks and achieved better results than conventional methods. However, the lack of understanding of the mechanisms behind their effectiveness limits further improvements on their architectures. In this paper, we present a visual analytics method for understanding and comparing RNN models for NLP tasks. We propose a technique to explain the function of individual hidden state units based on their expected response to input texts. We then co-cluster hidden state units and words based on the expected response and visualize co-clustering results as memory chips and word clouds to provide more structured knowledge on RNNs’ hidden states. We also propose a glyph-based sequence visualization based on aggregate information to analyze the behavior of an RNN’s hidden state at the sentence-level. The usability and effectiveness of our method are demonstrated through case studies and reviews from domain experts.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Representation & Self-Supervised Learning, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Sebastian Gehrmann
  2. Hinrich Schütze
  3. Alexander M. Rush
  4. Chaopeng Shen
  5. Hendrik Strobelt
  6. Mohit Bansal
  7. Graham Neubig
  8. Huamin Qu

In Computer Vision and Pattern Recognition

  1. Sebastian Gehrmann
  2. Chaopeng Shen
  3. Alexander M. Rush
  4. Hendrik Strobelt
  5. Huamin Qu
  6. Yao Ming
  7. Niloofar Zarei
  8. Eric D. Ragan

In Representation & Self-Supervised Learning

  1. Eric D. Ragan
  2. Niloofar Zarei
  3. Sina Mohseni
  4. Hanspeter Pfister
  5. Hinrich Schütze
  6. Sana Tonekaboni
  7. Alexander M. Rush
  8. Hendrik Strobelt

In Model Architectures

  1. Chaopeng Shen
  2. Sebastian Gehrmann
  3. Hanspeter Pfister
  4. Hinrich Schütze
  5. Enrico Bertini
  6. Eric D. Ragan
  7. Yao Ming
  8. Huamin Qu

Citations in the corpus