HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Neural Machine Translation of Rare Words with Subword Units

Rico Sennrich; Barry Haddow; Alexandra Birch

Neural Machine Translation of Rare Words with Subword Units

Abstract

Neural machine translation (NMT) models typically operate with a fixed vocabulary, but translation is an open-vocabulary problem. Previous work addresses the translation of out-of-vocabulary words by backing off to a dictionary. In this paper, we introduce a simpler and more effective approach, making the NMT model capable of open-vocabulary translation by encoding rare and unknown words as sequences of subword units. This is based on the intuition that various word classes are translatable via smaller units than words, for instance names (via character copying or transliteration), compounds (via compositional translation), and cognates and loanwords (via phonological and morphological transformations). We discuss the suitability of different word segmentation techniques, including simple character n-gram models and a segmentation based on the byte pair encoding compression algorithm, and empirically show that subword models improve over a back-off dictionary baseline for the WMT 15 translation tasks English-German and English-Russian by 1.1 and 1.3 BLEU, respectively.

Code Repositories

simonjisu/NMT
pytorch
Mentioned in GitHub
nyu-dl/dl4mt-cdec
Mentioned in GitHub
johnr0/TaleBrush-backend
pytorch
Mentioned in GitHub
facebookresearch/fairseq
pytorch
Mentioned in GitHub
siyuofzhou/CNNSeqToSeq
pytorch
Mentioned in GitHub
karpathy/minbpe
Mentioned in GitHub
nyu-dl/dl4mt-simul-trans
Mentioned in GitHub
nyu-dl/dl4mt-c2c
Mentioned in GitHub
Automattic/wp-translate
tf
Mentioned in GitHub
Avmb/code-docstring-corpus
Mentioned in GitHub
salesforce/GeDi
pytorch
Mentioned in GitHub
glample/fastBPE
Mentioned in GitHub
kh-mo/QA_wikisql
Mentioned in GitHub
Xinsen-Zhang/transformer
paddle
Mentioned in GitHub
ThAIKeras/bert
tf
Mentioned in GitHub
lkfo415579/MT-Readling-List
tf
Mentioned in GitHub
thinkwee/DPP_CNN_Summarization
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
machine-translation-on-wmt2015-englishC2-50k Segmentation
BLEU score: 20.9
machine-translation-on-wmt2015-english-germanBPE word segmentation
BLEU score: 22.8

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp