Skip to main content
QUICK REVIEW

[Paper Review] Augmenting Neural Machine Translation with Knowledge Graphs

Diego Moussallem, Mihael Arčan|arXiv (Cornell University)|Feb 23, 2019
Natural Language Processing TechniquesComputer Science62 references16 citations
TL;DR

This paper proposes KG-NMT, a knowledge graph-augmented neural machine translation framework that enhances entity and terminology translation by integrating knowledge graph embeddings (KGE) and entity linking (EL) into both RNN and Transformer architectures without modifying their core structures. The method achieves consistent +3 BLEU, METEOR, and chrF3 gains on WMT English-German translation benchmarks (2014–2018), especially improving out-of-vocabulary word translation, with RNNs benefiting more than Transformers due to better KGE feature utilization.

ABSTRACT

While neural networks have been used extensively to make substantial progress in the machine translation task, they are known for being heavily dependent on the availability of large amounts of training data. Recent efforts have tried to alleviate the data sparsity problem by augmenting the training data using different strategies, such as back-translation. Along with the data scarcity, the out-of-vocabulary words, mostly entities and terminological expressions, pose a difficult challenge to Neural Machine Translation systems. In this paper, we hypothesize that knowledge graphs enhance the semantic feature extraction of neural models, thus optimizing the translation of entities and terminological expressions in texts and consequently leading to a better translation quality. We hence investigate two different strategies for incorporating knowledge graphs into neural models without modifying the neural network architectures. We also examine the effectiveness of our augmentation method to recurrent and non-recurrent (self-attentional) neural architectures. Our knowledge graph augmented neural translation model, dubbed KG-NMT, achieves significant and consistent improvements of +3 BLEU, METEOR and chrF3 on average on the newstest datasets between 2014 and 2018 for WMT English-German translation task.

Motivation & Objective

  • To address the persistent challenge of out-of-vocabulary (OOV) words, particularly named entities and terminological expressions, in neural machine translation (NMT).
  • To investigate whether knowledge graphs (KGs) can improve semantic feature extraction in NMT models, especially for rare or unseen entities.
  • To evaluate the effectiveness of KG augmentation on both recurrent (RNN) and non-recurrent (self-attentional) NMT architectures without altering their architecture.
  • To compare the performance of KG-augmented models against monolingual embeddings and baseline NMT systems in terms of BLEU, METEOR, and chrF3 metrics.
  • To analyze why certain architectures (e.g., RNNs) benefit more from KG integration than others (e.g., Transformers), particularly regarding KGE representation learning.

Proposed method

  • The method integrates Knowledge Graph Embeddings (KGE) and Entity Linking (EL) outputs into the input representation of NMT models via feature concatenation, without modifying the underlying neural network architecture.
  • Two augmentation strategies are evaluated: (1) EL + KGE, and (2) Semantic KGE (SemKGE), which uses entity-specific embeddings from knowledge graphs.
  • The approach is applied to both word-based and BPE-based NMT models, including RNNs and Transformers, across multiple WMT newstest sets (2014–2018).
  • Entity linking resolves ambiguous terms to KG entities, while KGE provides dense vector representations of entities and relations, enriching the semantic context of input tokens.
  • The model uses ReLU and LSTM activation functions in RNNs, and the authors analyze how these affect KGE integration, particularly noting that ReLU in Transformers limits KGE utilization.
  • Evaluation is conducted using standard metrics: BLEU, METEOR, and chrF3, with manual analysis of translation quality on OOV entities.

Experimental results

Research questions

  • RQ1Can knowledge graph embeddings improve the translation of out-of-vocabulary (OOV) words, especially named entities and terminological expressions, in neural machine translation?
  • RQ2Does the integration of knowledge graphs lead to consistent performance gains across different NMT architectures, such as RNNs and Transformers?
  • RQ3Why do RNN-based models benefit more from KG augmentation than Transformer-based models, despite the latter's superior overall performance?
  • RQ4How does KG-augmented NMT compare to models using only monolingual word embeddings in terms of translation quality for entities?
  • RQ5To what extent do different KG integration strategies—EL+KGE versus SemKGE—impact translation performance and OOV word handling?

Key findings

  • KG-NMT achieved a consistent +3 BLEU, METEOR, and chrF3 improvement on average across the WMT 2014–2018 English-German newstest sets, demonstrating significant and stable gains.
  • The RNN-based KG-NMT (SemKGE) model outperformed the Transformer baseline in BLEU on all test sets after KG integration, achieving 30.55 BLEU on newstest2018.
  • The Transformer model's performance with KG augmentation was lower than its baseline, indicating that ReLU activation may hinder effective KGE feature learning in self-attention mechanisms.
  • Manual evaluation confirmed that KG-NMT correctly translated entities like 'UK' and 'Coastguard' where baseline models failed, while monolingual embeddings incorrectly translated 'Principal' as 'Wichtigste'.
  • The SemKGE strategy outperformed EL+KGE and monolingual embeddings, showing that entity-specific KGE representations are more effective than generic embeddings for OOV word translation.
  • The study found no significant difference between monolingual embeddings and KGE in aggregate metrics, but manual analysis revealed that monolingual embeddings failed on entities, while KGE succeeded, highlighting the importance of entity-aware knowledge.

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.