arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.16108cs.CVcs.AIcs.LG
收藏

通道视觉变换器:一幅图像等于 1 x 16 x 16 个词

Channel Vision Transformers: An Image Is Worth 1 x 16 x 16 Words

Accenture(埃森哲);Insitro;Chan Zuckerberg Initiative(陈·扎克伯格倡议)

Yujia Bao, Srinivasan Sivanandan, Theofanis Karaletsos

AI总结:

本文提出ChannelViT,一种改进的视觉变换器,通过独立处理每个输入通道并引入层次通道采样正则化,增强了多通道图像分类的鲁棒性和泛化能力。

摘要:

视觉变换器(ViT)已成为现代计算机视觉领域中一种强大的架构。然而,其在某些成像领域(如显微镜和卫星成像)的应用带来了独特的挑战。在这些领域中,图像通常包含多个通道,每个通道承载着语义上不同且独立的信息。此外,模型必须对输入通道的稀疏性表现出鲁棒性,因为在训练或测试期间,这些通道可能并非密集可用。在本文中,我们提出了一种对ViT架构的修改,以增强跨输入通道的推理能力,并引入了层次通道采样(HCS)作为额外的正则化技术,以确保在测试时仅呈现部分通道时的鲁棒性。我们提出的模型ChannelViT,独立地从每个输入通道构建补丁令牌,并利用一个可学习的通道嵌入,该嵌入被添加到补丁令牌中,类似于位置嵌入。我们在ImageNet、JUMP-CP(显微镜细胞成像)和So2Sat(卫星成像)上评估了ChannelViT的性能。我们的结果表明,ChannelViT在分类任务上优于ViT,并且即使在测试时使用输入通道的子集,也能很好地泛化。在我们的实验中,HCS被证明是一个强大的正则化器,与所采用的架构无关,这表明它是一种用于鲁棒ViT训练的简单技术。最后,我们发现,即使在训练期间对所有通道的访问有限的情况下,ChannelViT也能有效泛化,这突显了其在具有稀疏传感器的真实世界条件下进行多通道成像的潜力。我们的代码可在https://github.com/insitro/ChannelViT获取。

英文摘要:

Vision Transformer (ViT) has emerged as a powerful architecture in the realm of modern computer vision. However, its application in certain imaging fields, such as microscopy and satellite imaging, presents unique challenges. In these domains, images often contain multiple channels, each carrying semantically distinct and independent information. Furthermore, the model must demonstrate robustness to sparsity in input channels, as they may not be densely available during training or testing. In this paper, we propose a modification to the ViT architecture that enhances reasoning across the input channels and introduce Hierarchical Channel Sampling (HCS) as an additional regularization technique to ensure robustness when only partial channels are presented during test time. Our proposed model, ChannelViT, constructs patch tokens independently from each input channel and utilizes a learnable channel embedding that is added to the patch tokens, similar to positional embeddings. We evaluate the performance of ChannelViT on ImageNet, JUMP-CP (microscopy cell imaging), and So2Sat (satellite imaging). Our results show that ChannelViT outperforms ViT on classification tasks and generalizes well, even when a subset of input channels is used during testing. Across our experiments, HCS proves to be a powerful regularizer, independent of the architecture employed, suggesting itself as a straightforward technique for robust ViT training. Lastly, we find that ChannelViT generalizes effectively even when there is limited access to all channels during training, highlighting its potential for multi-channel imaging under real-world conditions with sparse sensors. Our code is available at https://github.com/insitro/ChannelViT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑