可视化与理解循环网络

Visualizing and Understanding Recurrent Networks

安德烈·卡帕西 Andrej Karpathy · Stanford · 2015-06-05 · arXiv:1506.02078 ↗ · 被引 1142

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

循环神经网络(RNN),特别是带有长短期记忆(LSTM)的变体,由于在涉及序列数据的广泛机器学习问题中的成功应用,正重新引起人们的兴趣。然而,尽管 LSTM 在实践中提供了出色的结果,但其性能的来源和局限性仍然相当不明确。使用字符级语言模型作为可解释的测试平台,我们旨在通过分析其表示、预测和错误类型来弥合这一差距。特别是,我们的实验揭示了可解释细胞的存在,这些细胞跟踪长距离依赖,如行长度、引号和括号。此外,我们与有限视野 n-gram 模型的比较分析将 LSTM 改进的来源追溯到长距离结构依赖。最后,我们分析了剩余的错误,并提出了进一步研究的领域。

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.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 13)

阅读逐段中英对照全文 →