vix.ing · top · new · best · stats

Visualizing and Understanding Recurrent Networks

2015/06/05 by Andrej Karpathy, Justin Johnson, Karpathy, Andrej +3 · 2 voices · 27 citations
Computer Science · #Computation and Language (cs.CL) #FOS: Computer and information sciences #Machine Learning (cs.LG) #Multimodal Machine Learning Applications #Natural Language Processing Techniques #Neural and Evolutionary Computing (cs.NE) #Topic Modeling #cs.CL #cs.LG #cs.NE

paper · pdf · doi:10.48550/arxiv.1506.02078

changing style, adding references, minor changes to text

openalex publication_date 2015/06/05 · arxiv published 2015/06/05 · arxiv created 2015/11/17 · arxiv updated 2015/11/18 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

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.

Citations

Cited by

Discussions

Related