跳到正文
arXiv (AI + Vision + Imaging)· Khalil Sabri, Guillaume-Alexandre Bilodeau, Nicolas Saunier, Wassim Bouachir·· 12 天前AI 评分30

视觉Transformer注意力中的实例绑定:以注意力地址区分物体实例

Objects as Addresses: Instance Binding in Vision Transformer Attention

AI 导读

研究者在8个预训练ViT中发现,实例分离更多体现在注意力路由而非token内容上,同一物体的patch倾向于从共同图像区域读取信息,即"注意力地址"。在DINOv2等骨干网络中编辑选定注意力头的query分量可将注意力地址重定向至另一实例,按该query分量对patch聚类得到.615 FG-ARI,而末层特征聚类仅为.289。

正文 · 原文

arXiv:2611.17240v1 Announce Type: new Abstract: Humans naturally parse visual scenes into coherent individual objects rather than scattered features, a capability cognitive science calls object binding. While recent work shows that pretrained Vision Transformers (ViTs) intrinsically acquire this ability, how native self-attention computations mechanistically keep object instances separate remains unresolved. By studying this across eight pretrained ViTs, we found that instance separation is expressed more strongly in attention routing than in token content: selected query-key relations distinguish individual objects more reliably than value similarity or residual representations. Inside heads, patches belonging to one individual tend to read from a common image region, which we term their attention address. Visually distinct parts of one person share an address, whereas identical duplicated instances receive separate, movable addresses. These shared destinations arise in part because query interactions with the spatial structure of keys direct attention toward consistent regions for one object and elsewhere for another. In DINOv2 and most other backbones we tested, editing this query component at the selected head redirects its attention address toward another individual. Grouping patches by this query component separates same-category instances, reaching .615 FG-ARI versus .289 for the same clustering of final-layer features, which tend to merge them.

来源:arXiv (AI + Vision + Imaging) · arxiv.org