IDEAS home Printed from https://ideas.repec.org/p/qsh/wpaper/413341.html
   My bibliography  Save this paper

Visual Analysis of Hidden State Dynamics in Recurrent Neural Networks

Author

Listed:
  • Hendrik Strobelt
  • Sebastian Gehrmann
  • Bernd Huber
  • Pfister, Hanspeter
  • Alexander M. Rush

Abstract

Recurrent neural networks, and in particular long short-term memory networks (LSTMs), are a remarkably effective tool for sequence modeling that learn a dense black-box hidden representation of their sequential input. Researchers interested in better understanding these models have studied the changes in hidden state representations over time and noticed some interpretable patterns but also significant noise. In this work, we present LSTMVis a visual analysis tool for recurrent neural networks with a focus on understanding these hidden state dynamics. The tool allows a user to select a hypothesis input range to focus on local state changes, to match these states changes to similar patterns in a large data set, and to align these results with domain specific structural annotations. We further show several use cases of the tool for analyzing specific hidden state properties on datasets containing nesting, phrase structure, and chord progressions, and demonstrate how the tool can be used to isolate patterns for further statistical analysis.

Suggested Citation

  • Hendrik Strobelt & Sebastian Gehrmann & Bernd Huber & Pfister, Hanspeter & Alexander M. Rush, 2016. "Visual Analysis of Hidden State Dynamics in Recurrent Neural Networks," Working Paper 413341, Harvard University OpenScholar.
  • Handle: RePEc:qsh:wpaper:413341
    as

    Download full text from publisher

    File URL: http://scholar.harvard.edu/gehrmann/node/413341
    Download Restriction: no
    ---><---

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:qsh:wpaper:413341. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Richard Brandon (email available below). General contact details of provider: https://edirc.repec.org/data/cbrssus.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.