A Universal Model for Cross Modality Mapping by Relational Reasoning

Zun Li, Congyan Lang, Liqian Liang, Tao Wang, Songhe Feng, Jun Wu, Yidong LiarXiv 2021 · arXiv

Abstract

Cross-modality mapping typically involves projecting disparate data types into a common latent space for similarity matching. However, this approach often neglects the intrinsic relational structures within and between modalities. This paper introduces RR-Net, a universal relational reasoning framework that models cross-modality mapping as an edge-prediction problem on a graph. By integrating intra-modality and inter-modality relations through stacked Graph Convolutional Network (GCN) units, RR-Net iteratively refines feature representations and relational strengths. Experimental results across sound recognition, image classification, and social recommendation demonstrate that RR-Net consistently achieves state-of-the-art performance, highlighting the efficacy of relational reasoning in bridging the heterogeneous gap.

Introduction

Cross-modality mapping is a fundamental challenge in machine learning, requiring the establishment of correspondences between different data types, such as audio and text or images and labels. Traditional methods focus on learning discriminative feature embeddings in a shared latent space, where pairs of instances are brought closer together in a vector space.

Conceptual comparison between traditional common space mapping and the proposed relational reasoning approach.

The authors of this paper argue that these methods often overlook the rich structural information inherent in the data. They propose a shift from simple similarity matching to relational reasoning. Two critical types of relationships are identified: intra-relations (similarities within a single modality) and inter-relations (links across different modalities). By treating mapping as a reasoning process on a graph, the proposed RR-Net framework leverages these relationships to bridge the "heterogeneous gap" more effectively.

Methods

The Relational Reasoning Network (RR-Net) architecture is designed to process data as a graph where nodes represent instances and edges represent relationships. The model moves beyond static vector comparisons by employing an iterative update mechanism.

The architecture of RR-Net, illustrating the flow from feature representation to graph construction and the Relational GCN Module.

The process begins with Graph Construction, creating two Intra-Graphs for within-modality similarities and one Inter-Graph for cross-modality candidate pairs. The core of the model is the Relational GCN Module, which consists of stacked GCN units:

  • Intra-GCN units refine node features based on local neighborhood structures within a modality.
  • Inter-GCN units bridge the heterogeneous gap using learnable weight matrices to update cross-modality relations.

Finally, a decoder predicts the probability of edges in the updated Inter-Graph, identifying the most likely cross-modality matches. This iterative refinement allows information to flow back and forth, where updated features help refine edge strengths and vice versa.

Results and Discussion

RR-Net was evaluated on diverse tasks to demonstrate its universality and robustness:

  • Sound Recognition: On the ESC-10 dataset, RR-Net achieved 96.5% accuracy, surpassing the previous state-of-the-art (94.6%) and even exceeding human performance (95.7%).
  • Image Classification: When integrated with standard backbones like ResNet-50 or MobileNetV2, RR-Net acted as a "plug-and-play" enhancement, boosting top-1 accuracy by 1.5% to 3.2% on CIFAR benchmarks.
  • Social Recommendation: On the FilmTrust dataset, RR-Net reduced the prediction error (RMSE) by approximately 6% compared to recent methods like LightGCN, proving its effectiveness even when one modality lacks explicit intra-relations.

These results confirm that modeling intra-relations significantly aids in understanding inter-modality mappings. The context provided by surrounding nodes allows the model to make more informed decisions than isolated similarity measurements.

Conclusion

RR-Net represents a significant advancement in cross-modality mapping by framing the problem as relational reasoning. By iteratively updating node and edge features through a graph-based approach, the model captures complex dependencies that traditional embedding methods miss. While the model's performance depends on the quality of the initial graph construction, its success across audio, visual, and social data types underscores its potential as a universal framework for multi-modal learning.

Summary updated

Abstract

With the aim of matching a pair of instances from two different modalities, cross modality mapping has attracted growing attention in the computer vision community. Existing methods usually formulate the mapping function as the similarity measure between the pair of instance features, which are embedded to a common space. However, we observe that the relationships among the instances within a single modality (intra relations) and those between the pair of heterogeneous instances (inter relations) are insufficiently explored in previous approaches. Motivated by this, we redefine the mapping function with relational reasoning via graph modeling, and further propose a GCN-based Relational Reasoning Network (RR-Net) in which inter and intra relations are efficiently computed to universally resolve the cross modality mapping problem. Concretely, we first construct two kinds of graph, i.e., Intra Graph and Inter Graph, to respectively model intra relations and inter relations. Then RR-Net updates all the node features and edge features in an iterative manner for learning intra and inter relations simultaneously. Last, RR-Net outputs the probabilities over the edges which link a pair of heterogeneous instances to estimate the mapping results. Extensive experiments on three example tasks, i.e., image classification, social recommendation and sound recognition, clearly demonstrate the superiority and universality of our proposed model.
BibTeX
@misc{li2021universal,
  author = {Zun Li and Congyan Lang and Liqian Liang and Tao Wang and Songhe Feng and Jun Wu and Yidong Li},
  title = {{A Universal Model for Cross Modality Mapping by Relational Reasoning}},
  year = {2021},
  eprint = {2102.13360},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.13360},
}
Figure