What DINO saw: ALiBi 位置编码减少视觉变换器中的位置偏差
What DINO saw: ALiBi positional encoding reduces positional bias in Vision Transformers
AI总结:
本文研究了视觉变换器中的位置偏差问题,通过线性探测发现其普遍存在,并通过微调使用ALiBi相对位置编码来减少偏差,证明了无偏特征在复杂显微图像分割中的有效性。
摘要:
视觉变换器(ViTs)——特别是像DINOv2这样的特征基础模型——学习了丰富的表示,对许多下游任务都很有用。然而,架构选择(如位置编码)可能导致这些模型在无关语义内容的情况下显示位置偏差和伪影。这使得在材料科学等领域进行零样本适应变得困难,因为在这些领域,图像通常是同质微结构的横截面(即没有首选方向)。在本文中,我们通过线性探测研究了ViTs中的位置偏差,发现其在各种目标和位置编码中普遍存在,并随后通过微调模型使用ALiBi相对位置编码来减少它。我们证明这些模型保留了有益的一般语义,其无偏特征可以成功用于可训练的复杂显微图像分割。
英文摘要:
Vision transformers (ViTs) - especially feature foundation models like DINOv2 - learn rich representations useful for many downstream tasks. However, architectural choices (such as positional encoding) can lead to these models displaying positional biases and artefacts independent of semantic content. This makes zero-shot adaption difficult in fields like material science, where images are often cross-sections of homogeneous microstructure (i.e. having no preferred direction). In this work, we investigate the positional bias in ViTs via linear probing, finding it present across a range of objectives and positional encodings, and subsequently reduce it by finetuning models to use ALiBi relative positional encoding. We demonstrate that these models retain desirable general semantics and their unbiased features can be used successfully in trainable segmentation of complex microscopy images.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。