Named Entity and Relation Extraction with Multi-Modal Retrieval

Xinyu Wang, Jiong Cai, Yong Jiang, Pengjun Xie, Kewei Tu +1 more
12/3/2022
cs.CL
moe

Official code: modelscope/AdaSeq (452 stars, Python, Apache-2.0, PyTorch, last commit 2023-11-15).

Abstract

Multi-modal named entity recognition (NER) and relation extraction (RE) aim to leverage relevant image information to improve the performance of NER and RE. Most existing efforts largely focused on directly extracting potentially useful information from images (such as pixel-level features, identified objects, and associated captions).

Show full abstract

However, such extraction processes may not be knowledge aware, resulting in information that may not be highly relevant. In this paper, we propose a novel Multi-modal Retrieval based framework (MoRe). MoRe contains a text retrieval module and an image-based retrieval module, which retrieve related knowledge of the input text and image in the knowledge corpus respectively. Next, the retrieval results are sent to the textual and visual models respectively for predictions. Finally, a Mixture of Experts (MoE) module combines the predictions from the two models to make the final decision. Our experiments show that both our textual model and visual model can achieve state-of-the-art performance on four multi-modal NER datasets and one multi-modal RE dataset. With MoE, the model performance can be further improved and our analysis demonstrates the benefits of integrating both textual and visual cues for such tasks.

View on arXivView PDF

Code Implementations(1)

modelscope/AdaSeqOfficial100%
PyTorchApache-2.0

AdaSeq: An All-in-One Library for Developing State-of-the-Art Sequence Understanding Models

45243Python, PerlDec 1, 20223 years agoApache-2.0
bertchinese-nlpcrfentity-typinginformation-extraction+11 more

Similar Papers

Cite this paper

@article{wang2022named,
  title  = {Named Entity and Relation Extraction with Multi-Modal Retrieval},
  author = {Xinyu Wang and Jiong Cai and Yong Jiang and Pengjun Xie and Kewei Tu and Wei Lu},
  year   = {2022},
  eprint = {2212.01612},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.01612}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.01612.svg)](https://codeofpaper.com/paper/2212.01612)

Discussion