Pluggable Neural Machine Translation Models via Memory-augmented Adapters

Yuzhuang Xu, Shuo Wang, Peng Li, Xuebo Liu, Xiaolong Wang +2 more
7/12/2023
cs.CL

No official code found. Best implementation: xuyuzhuang11/StyleMT (0 stars, MIT, last commit 2024-06-04).

Abstract

Although neural machine translation (NMT) models perform well in the general domain, it remains rather challenging to control their generation behavior to satisfy the requirement of different users. Given the expensive training cost and the data scarcity challenge of learning a new model from scratch for each user requirement, we propose a memory-augmented adapter to steer pretrained NMT models in a pluggable manner. Specifically, we construct a multi-granular memory based on the user-provided text samples and propose a new adapter architecture to combine the model representations and the retrieved results. We also propose a training strategy using memory dropout to reduce spurious dependencies between the NMT model and the memory. We validate our approach on both style- and domain-specific experiments and the results indicate that our method can outperform several representative pluggable baselines.

View on arXivView PDF

Code Implementations(1)

MIT
00C++, LuaFeb 22, 20242 years agoMIT

Similar Papers

Cite this paper

@article{xu2023pluggable,
  title  = {Pluggable Neural Machine Translation Models via Memory-augmented Adapters},
  author = {Yuzhuang Xu and Shuo Wang and Peng Li and Xuebo Liu and Xiaolong Wang and Weidong Liu and Yang Liu},
  year   = {2023},
  eprint = {2307.06029},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.06029v3}
}

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

Discussion