I2SRM: Intra- and Inter-Sample Relationship Modeling for Multimodal Information Extraction

Yusheng Huang, Zhouhan Lin

Abstract

Multimodal Information Extraction (MIE) from social media requires effectively integrating textual and visual data. While existing methods focus on multimodal fusion, they often overlook the "modality gap" in initial feature alignment and the challenge of cross-sample generalization. This paper introduces I²SRM, a framework that models both intra-sample and inter-sample relationships. By aligning visual and textual distributions via a semantic loss and fostering cross-sample collaboration through a novel "AttnMixup" strategy, I²SRM achieves state-of-the-art performance on standard entity and relation extraction benchmarks.

Introduction: The Neglected Stages of MIE

Social media posts are inherently multimodal, combining text and images to convey meaning. Extracting structured information, such as entities and their relationships, from this data is the goal of Multimodal Information Extraction (MIE). Most research has concentrated on "Stage 2"—the fusion of modalities. However, I²SRM identifies two critical, yet neglected, stages:

  1. The Modality Gap (Stage 1): Pre-trained models for text (e.g., BERT) and images (e.g., ResNet) operate in disparate feature spaces. Without explicit alignment, combining these features is inefficient.
  2. Generalization (Stage 3): Social media data is often noisy and imbalanced. Models frequently fail to learn "invariant features" that define entities or relations across different contexts, leading to poor performance on unseen data.

Methodology: Intra- and Inter-Sample Modeling

The I²SRM framework addresses these gaps through two primary components:

Intra-Sample Relationship Modeling

To bridge the modality gap within a single post, I²SRM treats the textual representation as a "conditional prior." By incorporating information from detected objects into the text embeddings, the model creates a robust anchor. It then employs Kullback–Leibler (KL) divergence as a semantic loss to regularize the visual distribution, effectively pulling visual features into alignment with the textual space.

Inter-Sample Relationship Modeling

To improve generalization across the dataset, the authors introduce AttnMixup. This module operates on training batches in two steps:

  • Attention: A multi-head attention mechanism allows embeddings from different samples to interact, facilitating the transfer of shared knowledge.
  • Mixup: The model applies linear interpolation to pairs of samples and their labels. This synthetic data augmentation expands the training distribution's "vicinal support," encouraging the model to learn more robust, invariant features.
The I²SRM architecture, highlighting the Intra-Sample module (left) for modality alignment and the Inter-Sample module (right) for cross-sample knowledge transfer via AttnMixup.

Key Results and Evaluation

The I²SRM model was evaluated on three major benchmarks: Twitter-2015 and Twitter-2017 for Multimodal Named Entity Recognition (MNER), and MNRE for Multimodal Relation Extraction.

As shown in the results table, I²SRM consistently outperforms previous state-of-the-art (SOTA) models. Notably, it achieved a 77.12% F1-score on Twitter-2015 and a significant jump to 84.12% F1-score on the MNRE dataset, surpassing the previous best (HVPNeT) by over 2%.

Performance comparison of I²SRM against various text-only and multimodal baselines across three benchmark datasets.

Ablation studies further confirmed the necessity of both modules. Removing either the Semantic Loss or the AttnMixup strategy resulted in a performance decline across all metrics, validating the importance of addressing both the modality gap and cross-sample generalization.

Conclusion

I²SRM demonstrates that significant gains in MIE can be achieved by looking beyond simple modality fusion. By focusing on feature alignment (Stage 1) and robust generalization (Stage 3), the framework provides a more holistic approach to understanding multimodal social media content. While the model's performance is currently linked to the quality of external object detection, its "plug-and-play" modules offer a promising path for integration into broader multimodal architectures.

Summary updated

BibTeX
@inproceedings{huang2023i,
  author = {Yusheng Huang and Zhouhan Lin},
  title = {{I2SRM: Intra- and Inter-Sample Relationship Modeling for Multimodal Information Extraction}},
  booktitle = {MMAsia},
  year = {2023},
  doi = {10.1145/3595916.3626399},
}
Figure