Pruning-then-Expanding Model for Domain Adaptation of Neural Machine Translation

Shuhao Gu, Yang Feng, Wanying Xie
3/25/2021
cs.CL

Official code: ictnlp/PTE-NMT (15 stars, Python, last commit 2021-07-19).

Abstract

Domain Adaptation is widely used in practical applications of neural machine translation, which aims to achieve good performance on both the general-domain and in-domain. However, the existing methods for domain adaptation usually suffer from catastrophic forgetting, domain divergence, and model explosion.

Show full abstract

To address these three problems, we propose a method of "divide and conquer" which is based on the importance of neurons or parameters in the translation model. In our method, we first prune the model and only keep the important neurons or parameters, making them responsible for both general-domain and in-domain translation. Then we further train the pruned model supervised by the original unpruned model with the knowledge distillation method. Last we expand the model to the original size and fine-tune the added parameters for the in-domain translation. We conduct experiments on different languages and domains and the results show that our method can achieve significant improvements compared with several strong baselines.

View on arXivView PDF

Code Implementations(1)

ictnlp/PTE-NMTOfficial100%

Source code for the NAACL 2021 paper: Pruning-then-Expanding Model for Domain Adaptation of Neural Machine Translation

152Python, LuaMar 19, 20215 years agoNOASSERTION

Similar Papers

Cite this paper

@article{gu2021pruningthenexpanding,
  title  = {Pruning-then-Expanding Model for Domain Adaptation of Neural Machine Translation},
  author = {Shuhao Gu and Yang Feng and Wanying Xie},
  year   = {2021},
  eprint = {2103.13678},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.13678}
}

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

Discussion