Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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.

Yujia Bao, Srinivasan Sivanandan, Theofanis Karaletsos• 2023

Related benchmarks

TaskDatasetResultRank
Multi-channel Image ClassificationSo2Sat Full channels (test)
Accuracy61.03
17
Image ClassificationJUMP-CP (test)
Accuracy67.51
12
Image ClassificationSo2Sat city-split (test)
Accuracy61.03
12
Multi-channel Image ClassificationCHAMMI Allen (test)
Accuracy67.66
9
Multi-channel Image ClassificationJUMP-CP Full channels (test)
Accuracy67.51
9
Multi-channel Image ClassificationJUMP-CP Partial channels (test)
Accuracy56.49
9
Multi-channel Image ClassificationSo2Sat Partial channels (test)
Accuracy46.16
9
Multi-channel Image ClassificationCHAMMI CP (test)
Accuracy27.62
9
Multi-channel Image ClassificationCHAMMI HPA (test)
Accuracy62.14
9
Image ClassificationCHAMMI (test)
Average Score64.9
6
Showing 10 of 10 rows

Other info

Follow for update