TL;DR
This paper introduces a novel Unified Multimodal Transformer (UMT) for Named Entity Recognition (NER) on social media posts, which leverages both text and images. UMT addresses the limitations of previous multimodal NER approaches by introducing a multimodal interaction module to better fuse text and image information and an auxiliary entity span detection task to mitigate visual bias, achieving state-of-the-art results.
What Problem Does This Paper Address?
Social media platforms like Twitter are awash with user-generated content that is often short, noisy, and multimodal (text + images). Extracting structured information, specifically Named Entities (like people, locations, organizations), from this data is crucial but challenging. Traditional NER models struggle with the informal nature of social media text. While multimodal NER (MNER) approaches have emerged to leverage accompanying images, they face two main issues:
- Limited Contextualization: Existing methods often fail to fully capture the interplay between text and images, leading to word representations that are not sufficiently aware of the visual context, and vice-versa. This can cause ambiguity, especially with polysemous words (e.g., "Jordan" could be a person or a shoe brand).
- Visual Bias: Social media images might highlight only a subset of entities in a post, or even be irrelevant. Directly integrating such visual information can bias the model towards recognizing entities present in the image while neglecting others, or even misclassifying entities due to misleading visuals.
This paper aims to tackle these challenges by proposing a more robust MNER model that effectively fuses multimodal information and mitigates visual bias.
Methods
The proposed approach, the Unified Multimodal Transformer (UMT), builds upon the Transformer architecture and incorporates several key innovations:
- Contextualized Word Representations: UMT uses BERT (Bidirectional Encoder Representations from Transformers) as its base sentence encoder, providing rich, context-aware word embeddings.
- Multimodal Interaction (MMI) Module: This module is designed to capture deeper inter-modal dynamics. It uses a Cross-Modal Transformer (CMT) layer to generate:
- Image-Aware Word Representations: Textual representations are enhanced by attending to visual features.
-
Word-Aware Visual Representations: Visual features are refined by attending to textual context. A "visual gate" is also employed to dynamically control the contribution of visual features, preventing irrelevant words from being overly influenced by the image.
-
Auxiliary Entity Span Detection (ESD) Module: To combat visual bias, UMT introduces a purely text-based ESD module. This module predicts the boundaries of entities without considering the image.
- Unified Architecture with Conversion Matrix: The crucial innovation is how the ESD module is integrated. A conversion matrix is learned to map the entity span labels from the ESD task to the MNER task. This matrix encodes the correspondence between simple entity spans (e.g., "B" for beginning of an entity) and typed entity spans (e.g., "B-PER"). This allows the ESD predictions to guide the MNER predictions, effectively mitigating visual bias by relying on text-based span information. The final MNER predictions are made using a Conditional Random Field (CRF) layer that incorporates this guided information.
Datasets
The paper evaluates its approach on two publicly available Twitter datasets for MNER:
- TWITTER-2015: Collected by Zhang et al. (2018).
- TWITTER-2017: Collected by Lu et al. (2018).
These datasets contain multimodal user posts from Twitter, with annotations for named entities. The paper notes that the TWITTER-2017 dataset used in their work is slightly different from the original release due to privacy concerns.
Key Insights and Ideas
- Transformer for MNER: This paper is the first to apply the Transformer architecture to the MNER task, demonstrating its effectiveness in capturing complex multimodal interactions.
- Dual Interaction: The MMI module's ability to generate both image-aware word representations and word-aware visual representations is key to its success, going beyond previous methods that focused on only one direction.
- ESD as a Bias Mitigator: Using a text-only entity span detection task as an auxiliary module is a clever way to inject robust, text-grounded information and counteract the potential noise or bias introduced by irrelevant or misleading images.
- Conversion Matrix is Crucial: The learned conversion matrix is vital for effectively transferring knowledge from the auxiliary ESD task to the main MNER task, ensuring that the text-based span information properly guides the multimodal predictions.
Key Results
The UMT model, specifically the UMT-BERT-CRF variant, achieved state-of-the-art performance on both the TWITTER-2015 and TWITTER-2017 datasets.
- Overall Performance: UMT-BERT-CRF outperformed the second-best methods by 1.14% and 1.05% on the two datasets, respectively.
- Ablation Studies: Removing the MMI module or the ESD module significantly degraded performance, highlighting the importance of both components. Specifically, removing the ESD module led to a substantial drop, underscoring the effectiveness of bias mitigation. Removing the conversion matrix also hurt performance, emphasizing the importance of the learned inter-task correspondence.
- Qualitative Examples: The paper provides examples where UMT correctly identifies entities that other multimodal methods misclassify due to irrelevant images or biases. For instance, it correctly identifies "Wolf Hall" as MISC (a drama) when others might label it LOC, and it avoids misclassifying "Siri" as PER when an unrelated face is present in the image.
Limitations and Future Work
- Handling Unmatched Text/Images: The authors acknowledge that UMT still struggles with social media posts where text and images are poorly matched or irrelevant. Future work aims to enhance UMT to dynamically filter out potential noise from images.
- Dataset Size: Existing MNER datasets are relatively small. The authors plan to leverage large amounts of unlabeled social media data to train more robust MNER models.
- Filtering Noise: The paper suggests that further work could focus on dynamically filtering out noise from images, implying that while their current approach mitigates bias, it might not completely eliminate the impact of truly irrelevant visual content.
Summary updated