about
Visualizing and understanding recurrent networks (arxiv.org)
3 points by DiabloD3 on Jan 7, 2016 | hide | past | pdf | discuss on HN

In plain words: By poking inside a character-by-character text predictor, the study found individual memory cells that track long-range patterns like line lengths, quotes, and brackets. Compared with models that only look back a fixed number of characters, these long-range cues explain the network's better predictions.

Abstract · Visualizing and Understanding Recurrent Networks

Recurrent Neural Networks (RNNs), and specifically a variant with Long Short-Term Memory (LSTM), are enjoying renewed interest as a result of successful applications in a wide range of machine learning problems that involve sequential data. However, while LSTMs provide exceptional results in practice, the source of their performance and their limitations remain rather poorly understood. Using character-level language models as an interpretable testbed, we aim to bridge this gap by providing an analysis of their representations, predictions and error types. In particular, our experiments reveal the existence of interpretable cells that keep track of long-range dependencies such as line lengths, quotes and brackets. Moreover, our comparative analysis with finite horizon n-gram models traces the source of the LSTM improvements to long-range structural dependencies. Finally, we provide analysis of the remaining errors and suggests areas for further study.

Andrej Karpathy, Justin Johnson, Li Fei-Fei
arXiv:1506.02078 · cs.LG, cs.CL, cs.NE · submitted Jun 5, 2015 · updated Nov 17, 2015
abstract · pdf · html · changing style, adding references, minor changes to text

add comment on HN
Also discussed: Jun 2015 (2 points, 0 comments)