视觉依赖Transformer:依赖树从反向注意力中涌现
Visual Dependency Transformers: Dependency Tree Emerges from Reversed Attention
AI总结:
提出视觉依赖Transformer(DependencyViT),通过反向注意力机制无监督地捕捉图像块间长距离视觉依赖,使依赖树自然涌现,支持部分划分、动态视觉池化,并在自/弱监督预训练及多任务上表现优异。
摘要:
人类拥有一种多功能的机制来提取视觉世界的结构化表示。在观察图像时,我们能够将场景分解为实体及其组成部分,并获取它们之间的依赖关系。为了模仿这种能力,我们提出了视觉依赖Transformer(DependencyViT),它可以在没有任何标签的情况下诱导出视觉依赖。我们通过一种名为反向注意力(reversed attention)的新型神经算子实现了这一点,该算子能够自然地捕捉图像块之间的长距离视觉依赖关系。具体而言,我们将其表述为一个依赖图,其中反向注意力中的子代token被训练为关注其父代token,并遵循归一化概率分布发送信息,而不是像传统自注意力那样收集信息。通过这种设计,层次结构自然地从反向注意力层中涌现,并且依赖树从叶节点到根节点以无监督方式逐步诱导出来。DependencyViT提供了几个吸引人的优势。(i)图像中的实体及其组成部分由不同的子树表示,从而能够基于依赖关系进行部分划分;(ii)动态视觉池化成为可能。很少发送消息的叶节点可以被剪枝而不会阻碍模型性能,基于此我们提出了轻量级的DependencyViT-Lite以减少计算和内存占用;(iii)DependencyViT在ImageNet上的自监督和弱监督预训练范式中均表现良好,并在8个数据集和5个任务(如无监督部分和显著性分割、识别与检测)上证明了其有效性。
英文摘要:
Humans possess a versatile mechanism for extracting structured representations of our visual world. When looking at an image, we can decompose the scene into entities and their parts as well as obtain the dependencies between them. To mimic such capability, we propose Visual Dependency Transformers (DependencyViT) that can induce visual dependencies without any labels. We achieve that with a novel neural operator called \emph{reversed attention} that can naturally capture long-range visual dependencies between image patches. Specifically, we formulate it as a dependency graph where a child token in reversed attention is trained to attend to its parent tokens and send information following a normalized probability distribution rather than gathering information in conventional self-attention. With such a design, hierarchies naturally emerge from reversed attention layers, and a dependency tree is progressively induced from leaf nodes to the root node unsupervisedly. DependencyViT offers several appealing benefits. (i) Entities and their parts in an image are represented by different subtrees, enabling part partitioning from dependencies; (ii) Dynamic visual pooling is made possible. The leaf nodes which rarely send messages can be pruned without hindering the model performance, based on which we propose the lightweight DependencyViT-Lite to reduce the computational and memory footprints; (iii) DependencyViT works well on both self- and weakly-supervised pretraining paradigms on ImageNet, and demonstrates its effectiveness on 8 datasets and 5 tasks, such as unsupervised part and saliency segmentation, recognition, and detection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。