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

残差网络基于其神经瞬态动力学对输入进行分类

Residual networks classify inputs based on their neural transient dynamics

University of Freiburg(弗莱堡大学);Department of Computer Science(计算机科学系)

Fereshteh Lagzi

摘要:

我们从动力系统的角度分析了剩余网络的输入-输出行为,通过在分类阶段之前将剩余动力学与输出活动分离开来。对于一个网络,每个连续层之间的简单跳跃连接,和逻辑激活函数,和层之间共享的权重,我们分析表明,有一个合作和竞争的动力学残差对应的每个输入维。将这些类型的网络解释为非线性滤波器,在吸引子网络的情况下,残差的稳态值表示网络在训练期间观察到的不同输入维度之间的共同特征,并已编码在这些组件中。在残差不收敛到吸引子状态的情况下,它们的内部动态对于每个输入类是可分离的,并且网络可以可靠地近似输出。我们带来了分析和经验证据,残差网络分类输入的基础上集成的瞬态动态的残差,并将显示网络如何响应输入扰动。我们比较了ResNet和多层感知器的网络动力学,并表明这些网络的内部动力学和噪声演化是根本不同的,ResNet对噪声输入更鲁棒。基于这些发现,我们还开发了一种新的方法来调整残差网络在训练过程中的深度。事实证明,在使用该算法修剪ResNet的深度之后,网络仍然能够以高精度对输入进行分类。

英文摘要:

We analyze the input-output behavior of residual networks from a dynamical system point of view by disentangling the residual dynamics from the output activities before the classification stage. For a network with simple skip connections between every successive layer, and for logistic activation function, and shared weights between layers, we show analytically that there is a cooperation and competition dynamics between residuals corresponding to each input dimension. Interpreting these kind of networks as nonlinear filters, the steady state value of the residuals in the case of attractor networks are indicative of the common features between different input dimensions that the network has observed during training, and has encoded in those components. In cases where residuals do not converge to an attractor state, their internal dynamics are separable for each input class, and the network can reliably approximate the output. We bring analytical and empirical evidence that residual networks classify inputs based on the integration of the transient dynamics of the residuals, and will show how the network responds to input perturbations. We compare the network dynamics for a ResNet and a Multi-Layer Perceptron and show that the internal dynamics, and the noise evolution are fundamentally different in these networks, and ResNets are more robust to noisy inputs. Based on these findings, we also develop a new method to adjust the depth for residual networks during training. As it turns out, after pruning the depth of a ResNet using this algorithm, the network is still capable of classifying inputs with a high accuracy.

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

↑