Skip to main content
QUICK REVIEW

[Paper Review] GeminiFusion: Efficient Pixel-wise Multimodal Fusion for Vision Transformer

Jia Ding, Jianyuan Guo|arXiv (Cornell University)|Jun 3, 2024
CCD and CMOS Imaging SensorsEngineering7 citations
TL;DR

GeminiFusion introduces a pixel-wise, linear-complexity multimodal fusion module that tightly integrates aligned modalities (e.g., RGB, depth, LiDAR, event) by performing cross-modal attention at corresponding pixel locations, outperforming exchange-based and full cross-attention methods across segmentation, translation, and 3D detection tasks.

ABSTRACT

Cross-modal transformers have demonstrated superiority in various vision tasks by effectively integrating different modalities. This paper first critiques prior token exchange methods which replace less informative tokens with inter-modal features, and demonstrate exchange based methods underperform cross-attention mechanisms, while the computational demand of the latter inevitably restricts its use with longer sequences. To surmount the computational challenges, we propose GeminiFusion, a pixel-wise fusion approach that capitalizes on aligned cross-modal representations. GeminiFusion elegantly combines intra-modal and inter-modal attentions, dynamically integrating complementary information across modalities. We employ a layer-adaptive noise to adaptively control their interplay on a per-layer basis, thereby achieving a harmonized fusion process. Notably, GeminiFusion maintains linear complexity with respect to the number of input tokens, ensuring this multimodal framework operates with efficiency comparable to unimodal networks. Comprehensive evaluations across multimodal image-to-image translation, 3D object detection and arbitrary-modal semantic segmentation tasks, including RGB, depth, LiDAR, event data, etc. demonstrate the superior performance of our GeminiFusion against leading-edge techniques. The PyTorch code is available at https://github.com/JiaDingCN/GeminiFusion

Motivation & Objective

  • Motivate and analyze limitations of existing multimodal fusion methods (interaction-based and exchange-based) in vision transformers.
  • Propose GeminiFusion, a pixel-wise fusion module with linear complexity that preserves unimodal information while enabling cross-modal interaction.
  • Demonstrate GeminiFusion's effectiveness across multimodal segmentation, image-to-image translation, and 3D object detection tasks.

Proposed method

  • Critique exchange-based token pruning and full cross-attention; show trade-offs in information preservation and efficiency.
  • Introduce GeminiFusion: pixel-wise fusion at corresponding spatial positions to fuse X1[i] and X2[i] via a constrained cross-attention with shared/unimodal preservation.
  • Use a relation discriminator and layer-adaptive noise to stabilize cross-modal attention and balance self- and cross-modal cues.
  • Achieve linear complexity with respect to input tokens, reducing FLOPs dramatically compared to full attention (from ~17G to ~0.14G per fusion step).
  • Integrate GeminiFusion into a SegFormer-like encoder-decoder with shared parameters across modalities (RGB, depth, event, LiDAR) and an MLP-based decoder for segmentation.
Figure 2: (a) Overall architecture of GeminiFusion: our proposed GeminiFusion model is designed to be plug and play, allowing it to be seamlessly integrated into various vision backbones. (b) GeminiFusion module: performing pixel-wise fusion to enrich multimodal feature by utilizing aligned features
Figure 2: (a) Overall architecture of GeminiFusion: our proposed GeminiFusion model is designed to be plug and play, allowing it to be seamlessly integrated into various vision backbones. (b) GeminiFusion module: performing pixel-wise fusion to enrich multimodal feature by utilizing aligned features

Experimental results

Research questions

  • RQ1Can pixel-wise, spatially aligned fusion outperform prune-then-substitute exchange methods and full cross-attention in multimodal vision transformers?
  • RQ2What is the achievable trade-off between fusion accuracy and computational efficiency when using GeminiFusion in segmentation, translation, and 3D detection tasks?
  • RQ3How do the proposed relation discriminator and layer-adaptive noise affect cross-modal interaction and learning dynamics?
  • RQ4To what extent can unimodal pre-training be leveraged in a multimodal GeminiFusion framework without performance loss?

Key findings

  • GeminiFusion consistently improves over TokenFusion across NYUDv2, SUN RGB-D, and DeLiVER in multimodal semantic segmentation with gains up to 3.4% mIoU in some settings.
  • On NYUDv2 and SUN RGB-D, GeminiFusion achieves higher Pixel Acc., mAcc, and mIoU compared to TokenFusion when fusing RGB+D (and other modalities), with notable mIoU gains (e.g., +2.6% on NYUDv2, +1.3% on SUN RGB-D).
  • In image-to-image translation on Taskonomy, GeminiFusion yields better FID/KID and MAE/MSE metrics than TokenFusion in multiple modality-pair tasks (e.g., Shade+Texture→RGB: 41.32 FID vs 47.31; Depth+Normal→RGB: 96.98 vs 103.87).
  • In 3D object detection on KITTI, GeminiFusion provides small but consistent improvements over MVX-Net, e.g., 3D APR11/ AP40 improvements across easy/medium/hard settings when fused with GeminiFusion.
  • Ablation studies show an effective relation discriminator (1x1 conv + Softmax) and learnable, layer-specific noise improve cross-modal attention balance and performance.
  • GeminiFusion enables near-unimodal efficiency by preserving unimodal skip connections and achieving linear complexity relative to token count, with substantial FLOPs reductions over full cross-attention.
Figure 4: Image-to-image translation results on the validation split of Taskonomy. Best view in color and zoom in.
Figure 4: Image-to-image translation results on the validation split of Taskonomy. Best view in color and zoom in.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.