CrossFormer: Cross-Modal Representation Learning via Heterogeneous Graph Transformer
Open Access
- 21 November 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Multimedia Computing, Communications, and Applications
- Vol. 20 (12) , 1-21
Abstract
Transformers have been recognized as powerful tools for various cross-modal tasks due to their superior ability to perform representation learning through self-attention. Existing transformer-based cross-modal models can be categorized into single-stream and dual-stream ones. By performing fine-grained interaction with self-attention on the cross-modal concatenated features, the former can simultaneously learn intra- and inter-modal correlations. However, this simple concatenation treats the inputs of different modalities equally; as a result, the heterogeneous differences between modalities are ignored, leading to a modality gap. The latter process the inputs of different modalities separately, then perform cross-modal interaction on the subsequently fused networks, resulting in a failure to integrate the fine-grained correlations of both intra- and inter-modality in a uniform module. To this end, we propose an effective heterogeneous graph transformer for dual-stream cross-modal representation learning, named CrossFormer, which constructs a heterogeneous graph as a bridge to achieve fine-grained intra- and inter-modal interaction on a dual-stream network. Specifically, we first represent multi-modal data with a heterogeneous graph, then develop a dual-positional encoding strategy that enables the heterogeneous graph to obtain the relative positional information. Finally, a dual-stream self-attention is performed on the heterogeneous graph, bridging the gap between modalities and effectively capturing fine-grained intra- and inter-modal interactions simultaneously. Extensive experiments on various cross-modal tasks demonstrate the superiority of our method.Keywords
Funding Information
- National key research and development program (2023YFC3305600)
- Ministry of Education of China (8091B022149, 8091B02072404)
- National Natural Science Foundation of China (62132016, 62171343, and 62071361)
- Fundamental Research Funds for the Central Universities (ZDRC2102)
This publication has 36 references indexed in Scilit:
- Unified Adaptive Relevance Distinguishable Attention Network for Image-Text MatchingIEEE Transactions on Multimedia, 2022
- Spatial-Aware Texture Transformer for High-Fidelity Garment TransferIEEE Transactions on Image Processing, 2021
- ABCnet: Adversarial bias correction network for infant brain MR imagesMedical Image Analysis, 2021
- Semantic-Driven Interpretable Deep Multi-Modal Hashing for Large-Scale Multimedia RetrievalIEEE Transactions on Multimedia, 2020
- UNITER: UNiversal Image-TExt Representation Learning2020
- Deep Collaborative Multi-View Hashing for Large-Scale Image SearchIEEE Transactions on Image Processing, 2020
- Exploring Visual Relationship for Image Captioning2018
- Retrieval From and Understanding of Large-Scale Multi-modal Medical Datasets: A ReviewIEEE Transactions on Multimedia, 2017
- Show and Tell: Lessons Learned from the 2015 MSCOCO Image Captioning ChallengeIEEE Transactions on Pattern Analysis and Machine Intelligence, 2016
- PathSelClusACM Transactions on Knowledge Discovery From Data, 2013