可视化解析器:用Transformers表示部分-整体层次
Visual Parser: Representing Part-whole Hierarchies with Transformers
摘要:
人类视觉能够从整个场景中捕捉到部分-整体的层次信息。本文介绍了可视化解析器(VIP),明确地构造这样一个层次结构的Transformers器。ViP将视觉表征分为两个层次,部分层次和整体层次。每个部分的信息代表了整体中几个独立向量的组合。为了对这两个层次的表示进行建模,我们首先通过注意力机制将整体信息编码为部分向量,然后将部分向量中的全局信息解码回整体表示。通过迭代地解析两个级别的编码器-解码器交互,模型可以逐渐细化两个级别上的特征。实验结果表明,ViP在分类、检测和实例分割三个主要任务上都具有很好的性能。特别是,它可以在目标检测上大大超过以前最先进的CNN骨干。具有较少$7.2\times$参数和较少$10.9\times$ FLOPS的ViP系列的微小模型可以与ResNe(X)t系列的最大模型ResNeXt-101-64 $\times$ 4d进行并行计算。可视化结果还表明,学习的部分是高度信息化的预测类,使VIP比以前的基本架构更容易解释。代码可在https://github.com/kevin-ssy/ViP上获得。
英文摘要:
Human vision is able to capture the part-whole hierarchical information from the entire scene. This paper presents the Visual Parser (ViP) that explicitly constructs such a hierarchy with transformers. ViP divides visual representations into two levels, the part level and the whole level. Information of each part represents a combination of several independent vectors within the whole. To model the representations of the two levels, we first encode the information from the whole into part vectors through an attention mechanism, then decode the global information within the part vectors back into the whole representation. By iteratively parsing the two levels with the proposed encoder-decoder interaction, the model can gradually refine the features on both levels. Experimental results demonstrate that ViP can achieve very competitive performance on three major tasks e.g. classification, detection and instance segmentation. In particular, it can surpass the previous state-of-the-art CNN backbones by a large margin on object detection. The tiny model of the ViP family with $7.2\times$ fewer parameters and $10.9\times$ fewer FLOPS can perform comparably with the largest model ResNeXt-101-64$\times$4d of ResNe(X)t family. Visualization results also demonstrate that the learnt parts are highly informative of the predicting class, making ViP more explainable than previous fundamental architectures. Code is available at https://github.com/kevin-ssy/ViP.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。