A Span-based Multimodal Variational Autoencoder for Semi-supervised Multimodal Named Entity Recognition

Baohang Zhou, Ying Zhang, Kehui Song, Wenya Guo, Guoqing Zhao, Hongbin Wang, Xiaojie Yuan

Abstract: Multimodal Named Entity Recognition (MNER) is essential for extracting information from social media, yet it is constrained by the high cost of data annotation and the frequent semantic mismatch between text and images. This paper introduces the Span-based Multimodal Variational Autoencoder (SMVAE), a novel framework that addresses these challenges by leveraging unlabeled data. SMVAE employs modal-specific VAEs and a Product-of-Experts (PoE) approach to fuse textual and visual features within a latent space. By treating MNER as a span-based task and utilizing a reconstruction-based semi-supervised objective, the model achieves state-of-the-art performance, particularly in low-resource scenarios.

Introduction

Multimodal Named Entity Recognition (MNER) aims to extract entities like people, locations, and organizations from unstructured multimodal content. Social media platforms like Twitter provide a rich source of such data, but two primary obstacles remain: the prohibitive cost of manual labeling and the "semantic gap"—where images may only tangentially relate to the text. For instance, a post might mention a specific celebrity while the image shows a generic background or a different entity entirely.

Comparison of supervised and semi-supervised MNER paradigms, illustrating the use of labeled and unlabeled multimodal data.

To overcome these hurdles, the authors propose a semi-supervised approach that can learn from vast amounts of unlabeled data, reducing the reliance on expensive human annotations while maintaining robustness against multimodal noise.

Methodology: The SMVAE Framework

The core of the proposed solution is the Span-based Multimodal Variational Autoencoder (SMVAE). Its architecture is built on four key pillars:

  1. Span-based Representation: Unlike traditional sequence labeling that tags individual words, SMVAE identifies candidate phrases or "spans." This allows for a more precise alignment between specific text segments and relevant image regions.
  2. Modal-specific VAEs: The framework utilizes separate Variational Autoencoders for text (powered by BERT and BiLSTM) and images (using ResNet-152). This design ensures that each modality's unique distribution is preserved before integration.
  3. Product-of-Experts (PoE) Fusion: To bridge the semantic gap, SMVAE employs a PoE approach to combine the latent distributions of text and images. This method is significantly more robust to modality mismatch than standard feature concatenation.
  4. Semi-supervised Reconstruction: The model is trained to reconstruct input features from the latent space and entity labels. For unlabeled data, the model uses its own predictions to guide this reconstruction, forcing it to learn the implicit correlations between labels and multimodal features across the entire dataset.

Experimental Setup and Results

The model was evaluated on two benchmark datasets, Twitter-2015 and Twitter-2017, simulating a low-resource environment with only 100 labeled samples.

Key Performance Metrics

SMVAE demonstrated substantial improvements over existing baselines:

  • Semi-supervised Gains: In the 100-sample setting, SMVAE achieved an F1 score increase of 5.6% on Twitter-2015 and 9.2% on Twitter-2017 compared to the strongest competitors.
  • Supervised Performance: Even with full supervision, the VAE-based architecture outperformed state-of-the-art models like MAF and UMT, proving its efficacy as a feature extractor.
  • Latent Space Optimization: Sensitivity analysis revealed that a latent dimension of 256 is optimal; higher dimensions tend to capture noise from mismatched posts, while lower dimensions fail to capture multimodal complexity.

Discussion and Insights

The success of SMVAE highlights that implicit correlation is a powerful tool for semi-supervised learning. By reconstructing features from labels, the model learns what a "Location" or "Person" looks like in a multimodal context without needing explicit labels for every example. Furthermore, the transition from sequence-based to span-based modeling reduces noise by focusing on entity-relevant parts of the text.

Limitations and Future Work

Despite its performance, SMVAE faces challenges regarding computational complexity, as evaluating all candidate spans results in $O(N^2)$ inference time. Additionally, the current model is limited to single-image posts. Future research will focus on optimizing inference efficiency and extending the framework to handle multi-image galleries and video-text pairs common on modern social media platforms.

Summary updated

BibTeX
@inproceedings{zhou2022span,
  author = {Baohang Zhou and Ying Zhang and Kehui Song and Wenya Guo and Guoqing Zhao and Hongbin Wang and Xiaojie Yuan},
  title = {{A Span-based Multimodal Variational Autoencoder for Semi-supervised Multimodal Named Entity Recognition}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.422},
}
Figure