CUED@WMT19: EWC&LMs

Felix Stahlberg, Danielle Saunders, Adrià de Gispert, Bill Byrne · DOI

Abstract

The Cambridge University Engineering Department (CUED) team secured a top-tier position in the WMT19 News Translation task by integrating two primary strategies: Elastic Weight Consolidation (EWC) to prevent catastrophic forgetting during fine-tuning, and a novel "Intra-Inter" Transformer architecture to capture document-level context. This approach demonstrates that anchoring models to prior knowledge while expanding the attention horizon beyond sentence boundaries significantly enhances Neural Machine Translation (NMT) performance.

Introduction

Modern NMT systems face two persistent challenges. First, they typically translate sentences in isolation, often leading to inconsistencies in pronoun agreement or lexical choice across a document. Second, while fine-tuning on domain-specific data improves performance, it frequently causes "catastrophic forgetting," where the model loses general linguistic patterns learned during initial training. The CUED system addresses these hurdles by adapting to the news domain without sacrificing general-purpose robustness, while incorporating document-level information in a computationally efficient manner.

Methodology

Elastic Weight Consolidation (EWC)

Borrowed from continual learning research, EWC adds a penalty to the training loss that discourages the model from altering weights critical to the original task. When combined with checkpoint averaging, EWC allows for fine-tuning on small, high-quality datasets (such as WMT test sets from 2008–2016) without degrading performance on general data.

Intra-Inter Transformer

To handle document context, the standard Transformer architecture was modified. Instead of a single attention mechanism, the model employs two distinct layers:

  • Intra-Sentential Attention: Focuses exclusively on the current sentence to capture local syntax.
  • Inter-Sentential Attention: Attends to all previous completed sentences in the document to capture global themes.
The Intra-Inter Transformer architecture separates local and global attention mechanisms.

Hybrid NMT-SMT and Noisy Back-translation

The system also utilizes traditional Statistical Machine Translation (SMT) lattices to create a source-conditioned n-gram language model, helping the NMT system avoid risky translations. Furthermore, training data was scaled using back-translation of monolingual text, with added "noise" to the synthetic source side to increase model robustness.

Experimental Setup

The models were trained and evaluated on the WMT19 News Task for English-German (En-De) and German-English (De-En). Data sources included ParaCrawl v3 for massive web-crawled data and historical WMT test sets for domain-specific fine-tuning. Evaluation was performed using news-test2017/2018 sets.

Results and Discussion

Fine-tuning and EWC Gains

The application of EWC and checkpoint averaging provided a significant 1.1 BLEU point boost on the English-German task compared to the baseline model. As shown in the results table, the combination of EWC and averaging consistently outperformed standard fine-tuning approaches.

Impact of EWC and checkpoint averaging on BLEU scores for test18.

Modeling Consistency

The Intra-Inter Transformer achieved substantial reductions in perplexity compared to standard sentence-level or document-level Transformers. For German, perplexity dropped from approximately 35 to 22. While these improvements in modeling consistency resulted in relatively small BLEU score gains, the authors suggest that BLEU may not fully capture the benefits of document-level context, which are better assessed through human evaluation.

Competitive Performance

The CUED system (UCAM) achieved a BLEU score of 43.0 on English-German, placing it among the top submissions. Additionally, the inclusion of noise in back-translated data improved BLEU scores by 0.5 to 1.5 points, confirming the value of robustness-enhancing techniques in large-scale NMT. Interestingly, simple data filtering heuristics for ParaCrawl performed nearly as well as complex neural filtering methods.

Conclusion

The CUED@WMT19 system demonstrates the efficacy of EWC as an anchoring mechanism for domain adaptation and the potential of the Intra-Inter architecture for document-level translation. While fine-tuning gains were more pronounced for English-to-German, the overall approach provides a robust framework for pushing the boundaries of state-of-the-art NMT systems.

Summary updated

BibTeX
@inproceedings{stahlberg2019cued,
  author = {Felix Stahlberg and Danielle Saunders and Adrià de Gispert and Bill Byrne},
  title = {{CUED@WMT19: EWC\&LMs}},
  booktitle = {WMT},
  year = {2019},
  doi = {10.18653/v1/w19-5340},
}
Figure