Better Neural Machine Translation by Extracting Linguistic Information from BERT

Hassan S. Shavarani, Anoop Sarkar
4/7/2021
cs.CL

Official code: sfu-natlang/SFUTranslate (9 stars, Python, GPL-3.0, last commit 2024-03-16).

Abstract

Adding linguistic information (syntax or semantics) to neural machine translation (NMT) has mostly focused on using point estimates from pre-trained models. Directly using the capacity of massive pre-trained contextual word embedding models such as BERT (Devlin et al., 2019) has been marginally useful in NMT because effective fine-tuning is difficult to obtain for NMT without making training brittle and unreliable.

Show full abstract

We augment NMT by extracting dense fine-tuned vector-based linguistic information from BERT instead of using point estimates. Experimental results show that our method of incorporating linguistic information helps NMT to generalize better in a variety of training contexts and is no more difficult to train than conventional Transformer-based NMT.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Neural Machine Translation Toolkit by Natlang Laboratory at SFU

96Python, PerlDec 18, 20182 years agoGPL-3.0
natlangnlp-machine-learningnmtsfu

Similar Papers

Cite this paper

@article{shavarani2021better,
  title  = {Better Neural Machine Translation by Extracting Linguistic Information from BERT},
  author = {Hassan S. Shavarani and Anoop Sarkar},
  year   = {2021},
  eprint = {2104.02831},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.02831}
}

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/2104.02831.svg)](https://codeofpaper.com/paper/2104.02831)

Discussion