Skip to main content
QUICK REVIEW

[Paper Review] Character-based NMT with Transformer

Rohit Gupta, Laurent Besacier|arXiv (Cornell University)|Nov 12, 2019
Natural Language Processing TechniquesComputer Science43 references8 citations
TL;DR

This paper investigates character-based neural machine translation (NMT) using the Transformer architecture, demonstrating that deeper models with pre-normalization and transparent attention close the performance gap with BPE-based models. It shows character-level models are more robust to noise and domain shift, especially in low-resource settings, achieving 34.7 BLEU on WMT-ENDE with 32-layer encoders.

ABSTRACT

Character-based translation has several appealing advantages, but its performance is in general worse than a carefully tuned BPE baseline. In this paper we study the impact of character-based input and output with the Transformer architecture. In particular, our experiments on EN-DE show that character-based Transformer models are more robust than their BPE counterpart, both when translating noisy text, and when translating text from a different domain. To obtain comparable BLEU scores in clean, in-domain data and close the gap with BPE-based models we use known techniques to train deeper Transformer models.

Motivation & Objective

  • To evaluate the performance of character-based NMT using the Transformer architecture compared to BPE-based models.
  • To investigate whether deeper Transformer architectures can close the performance gap between character-level and BPE-based models.
  • To assess robustness of character-level models under lexicographical noise and domain shift.
  • To analyze the impact of vocabulary size and model depth on translation quality in low- and high-resource settings.

Proposed method

  • Training Transformer models with character-level input and output tokens instead of subword units (BPE).
  • Applying pre-normalization (layer normalization before sub-layers) to stabilize training of deep models.
  • Introducing transparent attention to improve gradient flow in deep encoders.
  • Training models with varying depths (6 to 32 layers) to evaluate depth effects on performance.
  • Evaluating on WMT-ENDE and IWSLT-TED for both clean and noisy test conditions.
  • Using different BPE vocabularies (5k, 30k) and character-level models to compare representation efficiency.

Experimental results

Research questions

  • RQ1Can deeper Transformer models narrow the BLEU score gap between character-level and BPE-based NMT?
  • RQ2How does character-level NMT perform under lexicographical noise compared to BPE-based models?
  • RQ3Does character-level NMT generalize better to out-of-domain test data than BPE-based models?
  • RQ4What is the impact of model depth and normalization order on training stability and performance in character-level NMT?
  • RQ5How do different vocabulary sizes affect performance in low- and high-resource settings?

Key findings

  • With pre-normalization and transparent attention, character-level Transformer models achieved 34.7 BLEU on WMT-ENDE in low-resource settings, improving from 33.7 BLEU with shallower models.
  • In high-resource settings, character-level models reached 37.7 BLEU with a 32-layer encoder, closing the gap but not surpassing the BPE 30k baseline (38.0 BLEU).
  • Character-level models showed superior robustness to lexicographical noise on clean test data, outperforming BPE models out-of-the-box.
  • When training data contained similar noise, BPE models with large vocabularies (e.g., 30k) benefited as if regularized, improving performance on clean inputs.
  • Character-level models significantly outperformed BPE models on domain-shifted data, especially in low-resource settings, with better generalization on WMT-Biomedical (highest OOV rate).
  • The combination of pre-normalization and transparent attention enabled stable training of 32-layer encoders, resolving gradient issues in deep character-level Transformers.

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.