HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Multimodal Token Fusion for Vision Transformers

Yikai Wang Xinghao Chen Lele Cao Wenbing Huang Fuchun Sun Yunhe Wang

Multimodal Token Fusion for Vision Transformers

Abstract

Many adaptations of transformers have emerged to address the single-modal vision tasks, where self-attention modules are stacked to handle input sources like images. Intuitively, feeding multiple modalities of data to vision transformers could improve the performance, yet the inner-modal attentive weights may also be diluted, which could thus undermine the final performance. In this paper, we propose a multimodal token fusion method (TokenFusion), tailored for transformer-based vision tasks. To effectively fuse multiple modalities, TokenFusion dynamically detects uninformative tokens and substitutes these tokens with projected and aggregated inter-modal features. Residual positional alignment is also adopted to enable explicit utilization of the inter-modal alignments after fusion. The design of TokenFusion allows the transformer to learn correlations among multimodal features, while the single-modal transformer architecture remains largely intact. Extensive experiments are conducted on a variety of homogeneous and heterogeneous modalities and demonstrate that TokenFusion surpasses state-of-the-art methods in three typical vision tasks: multimodal image-to-image translation, RGB-depth semantic segmentation, and 3D object detection with point cloud and images. Our code is available at https://github.com/yikaiw/TokenFusion.

Benchmarks

BenchmarkMethodologyMetrics
3d-object-detection-on-scannetv2TokenFusion
mAP@0.25: 70.8
mAP@0.5: 54.2
3d-object-detection-on-sun-rgbd-valTokenFusion
mAP@0.25: 64.9
mAP@0.5: 48.3
semantic-segmentation-on-deliverTokenFusion (RGB-Depth)
mIoU: 60.25
semantic-segmentation-on-deliverTokenFusion (RGB-Event)
mIoU: 45.63
semantic-segmentation-on-deliverTokenFusion (RGB-LiDAR)
mIoU: 53.01
semantic-segmentation-on-kitti-360TokenFusion (RGB-LiDAR)
mIoU: 54.55
semantic-segmentation-on-kitti-360TokenFusion (RGB-Depth)
mIoU: 57.44
semantic-segmentation-on-llrgbd-syntheticTokenFusion (SegFormer-B2)
mIoU: 64.75
semantic-segmentation-on-nyu-depth-v2TokenFusion (Ti)
Mean IoU: 53.3%
semantic-segmentation-on-nyu-depth-v2TokenFusion (S)
Mean IoU: 54.2%
semantic-segmentation-on-sun-rgbdTokenFusion (S)
Mean IoU: 53.0%
semantic-segmentation-on-sun-rgbdTokenFusion (Ti)
Mean IoU: 51.4%

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Multimodal Token Fusion for Vision Transformers | Papers | HyperAI