用于视觉识别的动态图消息传递网络
Dynamic Graph Message Passing Networks for Visual Recognition
摘要:
在计算机视觉中,对长距离相关性进行建模对于场景理解任务至关重要。尽管卷积神经网络(CNN)在许多视觉任务中表现出色,但它们在捕获远程结构化关系方面仍然受到限制,因为它们通常由局部内核层组成。全连接图,例如Transformers中的自注意操作,对于这样的建模是有益的,然而,其计算开销是禁止的。在本文中,我们提出了一个动态的图形消息传递网络,显着降低了计算复杂性相比,相关作品建模的全连接图。这是通过自适应地采样图中的节点来实现的,以输入为条件,用于消息传递。基于采样的节点,我们动态地预测节点相关的过滤器权重和它们之间传播信息的亲和矩阵。这个公式使我们能够设计一个自我注意模块,更重要的是一个新的基于transformer的骨干网络,我们将其用于图像分类预训练,并用于解决各种下游任务(目标检测,实例和语义分割)。使用这个模型,我们在四个不同的任务上显示了强大的,最先进的基线方面的显着改进。我们的方法也优于全连接图,同时使用更少的浮点运算和参数。代码和模型将在https://github.com/fudan-zvg/DGMN2上公开提供
英文摘要:
Modelling long-range dependencies is critical for scene understanding tasks in computer vision. Although convolution neural networks (CNNs) have excelled in many vision tasks, they are still limited in capturing long-range structured relationships as they typically consist of layers of local kernels. A fully-connected graph, such as the self-attention operation in Transformers, is beneficial for such modelling, however, its computational overhead is prohibitive. In this paper, we propose a dynamic graph message passing network, that significantly reduces the computational complexity compared to related works modelling a fully-connected graph. This is achieved by adaptively sampling nodes in the graph, conditioned on the input, for message passing. Based on the sampled nodes, we dynamically predict node-dependent filter weights and the affinity matrix for propagating information between them. This formulation allows us to design a self-attention module, and more importantly a new Transformer-based backbone network, that we use for both image classification pretraining, and for addressing various downstream tasks (object detection, instance and semantic segmentation). Using this model, we show significant improvements with respect to strong, state-of-the-art baselines on four different tasks. Our approach also outperforms fully-connected graphs while using substantially fewer floating-point operations and parameters. Code and models will be made publicly available at https://github.com/fudan-zvg/DGMN2
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。