arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.00880cs.LG
收藏

重新思考循环与非循环神经网络之间的关系:一项稀疏性研究

Rethinking the Relationship between Recurrent and Non-Recurrent Neural Networks: A Study in Sparsity

Worcester Polytechnic Institute(伍斯特理工学院);Colorado State University(科罗拉多州立大学)

Quincy Hershey, Randy Paffenroth, Harsh Pathak, Simon Tavener

AI总结:

本文提出循环与非循环神经网络并非截然不同的算法家族,通过将RNN、MLP和深度Transformer统一表示为迭代映射,揭示它们在连续谱上的深层联系,从而为神经网络的理论与训练实践提供新见解。

摘要:

神经网络(NN)可分为两大类:循环神经网络和非循环神经网络。这两种神经网络都很流行且被广泛研究,但它们通常被视为不同的机器学习算法家族。在这篇立场论文中,我们认为这两类神经网络之间的关系比通常所认识到的更为密切。我们表明,许多常见的神经网络模型,如循环神经网络(RNN)、多层感知机(MLP),甚至深度多层Transformer,都可以表示为迭代映射。RNN与其他类型NN之间的密切关系不应令人惊讶。特别是,RNN已知是图灵完备的,因此能够表示任何可计算函数(例如任何其他类型的NN),但本文认为这种关系比这更深刻且更具实际意义。例如,RNN通常被认为比其他类型的NN更难训练,RNN饱受梯度消失或梯度爆炸等问题的困扰。然而,正如我们在本文中所展示的,MLP、RNN以及许多其他NN处于一个连续谱上,这一视角带来了若干见解,阐明了NN的理论和实践方面。

英文摘要:

Neural networks (NN) can be divided into two broad categories, recurrent and non-recurrent. Both types of neural networks are popular and extensively studied, but they are often treated as distinct families of machine learning algorithms. In this position paper, we argue that there is a closer relationship between these two types of neural networks than is normally appreciated. We show that many common neural network models, such as Recurrent Neural Networks (RNN), Multi-Layer Perceptrons (MLP), and even deep multi-layer transformers, can all be represented as iterative maps. The close relationship between RNNs and other types of NNs should not be surprising. In particular, RNNs are known to be Turing complete, and therefore capable of representing any computable function (such as any other types of NNs), but herein we argue that the relationship runs deeper and is more practical than this. For example, RNNs are often thought to be more difficult to train than other types of NNs, with RNNs being plagued by issues such as vanishing or exploding gradients. However, as we demonstrate in this paper, MLPs, RNNs, and many other NNs lie on a continuum, and this perspective leads to several insights that illuminate both theoretical and practical aspects of NNs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑