Multimodal Pathway: Improve Transformers with Irrelevant Data from Other Modalities
Yiyuan Zhang, Xiaohan Ding, Kaixiong Gong, Yixiao Ge, Ying Shan, Xiangyu Yue
TL;DR
This work tackles improving a transformer trained on a specific modality by leveraging irrelevant data from other modalities, a setting where samples across modalities do not need to be aligned. It introduces Multimodal Pathway (M2PT) and an inference-free mechanism called Cross-Modal Re-parameterization to couple target and auxiliary transformers via learnable pathway scales. Across image, video, point cloud, and audio tasks, M2PT yields consistent gains, including improved ImageNet accuracy and downstream metrics on COCO and ADE20K, as well as better performance in 3D and audio recognition, even when trained from scratch. The study demonstrates modality-complementary knowledge in transformers and highlights potential for data-scarce domains, while noting the need for theoretical grounding and extensions to other architectures.
Abstract
We propose to improve transformers of a specific modality with irrelevant data from other modalities, e.g., improve an ImageNet model with audio or point cloud datasets. We would like to highlight that the data samples of the target modality are irrelevant to the other modalities, which distinguishes our method from other works utilizing paired (e.g., CLIP) or interleaved data of different modalities. We propose a methodology named Multimodal Pathway - given a target modality and a transformer designed for it, we use an auxiliary transformer trained with data of another modality and construct pathways to connect components of the two models so that data of the target modality can be processed by both models. In this way, we utilize the universal sequence-to-sequence modeling abilities of transformers obtained from two modalities. As a concrete implementation, we use a modality-specific tokenizer and task-specific head as usual but utilize the transformer blocks of the auxiliary model via a proposed method named Cross-Modal Re-parameterization, which exploits the auxiliary weights without any inference costs. On the image, point cloud, video, and audio recognition tasks, we observe significant and consistent performance improvements with irrelevant data from other modalities. The code and models are available at https://github.com/AILab-CVC/M2PT.
