Skip to main content
QUICK REVIEW

[Paper Review] Endowing Language Models with Multimodal Knowledge Graph Representations

Ningyuan Huang, Yash R. Deshpande|arXiv (Cornell University)|Jun 27, 2022
Topic ModelingComputer Science10 citations
TL;DR

This paper proposes enhancing language models with multimodal knowledge graph (KG) representations by retrieving entity embeddings from the VisualSem KG using dense vector indexing. By integrating visual, textual, and structural features via a hybrid tuple- and graph-based model, the approach improves performance by 0.3–0.7% F1 on multilingual NER and up to 2.5% accuracy on cross-lingual visual sense disambiguation.

ABSTRACT

We propose a method to make natural language understanding models more parameter efficient by storing knowledge in an external knowledge graph (KG) and retrieving from this KG using a dense index. Given (possibly multilingual) downstream task data, e.g., sentences in German, we retrieve entities from the KG and use their multimodal representations to improve downstream task performance. We use the recently released VisualSem KG as our external knowledge repository, which covers a subset of Wikipedia and WordNet entities, and compare a mix of tuple-based and graph-based algorithms to learn entity and relation representations that are grounded on the KG multimodal information. We demonstrate the usefulness of the learned entity representations on two downstream tasks, and show improved performance on the multilingual named entity recognition task by $0.3\%$--$0.7\%$ F1, while we achieve up to $2.5\%$ improvement in accuracy on the visual sense disambiguation task. All our code and data are available in: \url{https://github.com/iacercalixto/visualsem-kg}.

Motivation & Objective

  • To improve parameter efficiency in NLU models by offloading knowledge to an external multimodal knowledge graph instead of storing it in model parameters.
  • To investigate how multimodal signals—visual, textual, and structural—can be combined to learn robust entity and relation representations in a knowledge graph.
  • To evaluate the utility of these learned representations on downstream NLU tasks, particularly in multilingual and vision-language settings.
  • To publicly release the learned entity and relation representations to support future research in multimodal knowledge grounding.
  • To compare tuple-based and graph-based neural architectures for representation learning in a multilingual, multimodal KG.

Proposed method

  • Retrieves relevant entities from the VisualSem KG using a dense vector index, mapping input sentences (e.g., in German) to KG nodes via a sentence retrieval model.
  • Learns multimodal entity representations by jointly encoding visual features (ResNet-152 pool5 features), textual descriptions (BERT embeddings), and structural graph information.
  • Employs a hybrid representation learning framework combining tuple-based (e.g., TransE-style) and graph-based (e.g., GNN-based) methods to predict KG structure and improve generalization.
  • Uses a contrastive learning objective to train entity and relation representations such that positive triples (head, relation, tail) are embedded closer than negative ones.
  • Integrates retrieved entity representations as external features into downstream models via concatenation with input representations, without fine-tuning the base language model.
  • Applies a two-layer feedforward network with ReLU and softmax for classification, with the input augmented by the retrieved entity representation to improve prediction.

Experimental results

Research questions

  • RQ1How do different tuple-based and graph-based neural architectures compare in learning multimodal representations for entities and relations in the VisualSem KG?
  • RQ2To what extent do visual and textual modalities contribute to the quality of learned entity representations in the context of link prediction?
  • RQ3Can multimodal KG representations retrieved at inference time improve performance on multilingual NER and cross-lingual visual verb sense disambiguation tasks?
  • RQ4How does the integration of external multimodal knowledge affect model performance while maintaining parameter efficiency?
  • RQ5What is the relative impact of visual, textual, and structural information on the final entity representation quality?

Key findings

  • The hybrid tuple- and graph-based model outperforms purely tuple- or graph-based baselines in entity representation learning, as measured by link prediction performance.
  • Incorporating visual features into entity representations leads to a 2.5% absolute improvement in accuracy on the cross-lingual visual verb sense disambiguation task compared to the baseline.
  • The model achieves a 0.3% to 0.7% absolute improvement in F1 score on the multilingual named entity recognition task when using retrieved VisualSem entity representations.
  • The use of textual descriptions in 14 languages and associated images significantly enhances the quality of learned entity representations, particularly for cross-lingual tasks.
  • The performance gains are consistent across different downstream architectures, indicating that the retrieved representations are robust and generalizable.
  • The publicly released entity and relation representations are shown to be effective for downstream NLU tasks and are expected to accelerate research in multimodal knowledge grounding.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.