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

动态图:神经网络的实例感知连接学习

Dynamic Graph: Learning Instance-aware Connectivity for Neural Networks

SenseTime Research Institue(商汤科技研究院)

Kun Yuan, Quanquan Li, Dapeng Chen, Aojun Zhou, Junjie Yan

摘要:

采用深度神经网络的一种实践是将相同的架构应用于所有输入实例。然而,固定架构对于具有高多样性的数据可能不具有足够的代表性。为了提高模型容量,现有方法通常采用更大的卷积核或更深的网络结构,这可能会增加计算成本。在本文中,我们通过提出动态图网络(DG-Net)来解决这个问题。网络学习实例感知连接,为不同的实例创建不同的转发路径。具体来说,网络被初始化为一个完整的有向无环图,其中节点表示卷积块,边表示连接路径。通过可学习模块\textit{router}生成边权值,并选择权值大于阈值的边来调整神经网络结构的连通性。DG-Net不使用网络的相同路径,而是在每个节点上动态聚合特征,这使得网络具有更强的表示能力。为了便于训练,我们在邻接矩阵中表示每个样本的网络连通性。矩阵被更新以在前向传递中聚合特征,在内存中缓存,并在后向传递中用于梯度计算。我们用几种静态架构验证了我们的方法的有效性,包括MobileNetV 2,ResNet,ResNeXt和RegNet。在ImageNet分类和COCO目标检测上进行了大量的实验,实验结果表明了该方法的有效性和泛化能力。

英文摘要:

One practice of employing deep neural networks is to apply the same architecture to all the input instances. However, a fixed architecture may not be representative enough for data with high diversity. To promote the model capacity, existing approaches usually employ larger convolutional kernels or deeper network structure, which may increase the computational cost. In this paper, we address this issue by raising the Dynamic Graph Network (DG-Net). The network learns the instance-aware connectivity, which creates different forward paths for different instances. Specifically, the network is initialized as a complete directed acyclic graph, where the nodes represent convolutional blocks and the edges represent the connection paths. We generate edge weights by a learnable module \textit{router} and select the edges whose weights are larger than a threshold, to adjust the connectivity of the neural network structure. Instead of using the same path of the network, DG-Net aggregates features dynamically in each node, which allows the network to have more representation ability. To facilitate the training, we represent the network connectivity of each sample in an adjacency matrix. The matrix is updated to aggregate features in the forward pass, cached in the memory, and used for gradient computing in the backward pass. We verify the effectiveness of our method with several static architectures, including MobileNetV2, ResNet, ResNeXt, and RegNet. Extensive experiments are performed on ImageNet classification and COCO object detection, which shows the effectiveness and generalization ability of our approach.

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

↑