Combining Sequence Distillation and Transfer Learning for Efficient Low-Resource Neural Machine Translation Models
Paper · 2020 · Raj Dabre and Atsushi Fujita
Summary
A translation system trained on very few examples has to learn enough to handle new sentences and still be small enough to run quickly. Those goals can pull in different directions. A larger network can translate better, and a more extensive search can improve its answers, but both can make translation more expensive at the point of use. Dabre and Fujita ask whether a compact system can do better if it learns from translations generated by a larger system that has already benefited from additional bilingual data. They study this question in machine translation between Vietnamese and English and between Hindi and English.
Their method starts with a small collection of paired sentences and a larger, helping collection. The authors train a large translator on both without repeating the small collection to match the size of the larger one. They then ask it to translate the source sentences in the small collection. These generated translations replace the original target sentences for training a compact translator, a procedure known as sequence distillation. The source sentences stay the same. In another set of experiments, the helping collection also contributes directly to the compact translator’s training. The two uses of transfer therefore do different jobs. The first helps produce the new training targets, and the second lets the compact translator learn from additional bilingual examples itself.
Across the four translation directions in the Asian Languages Treebank, the compact configuration with 3 layers and 40% fewer parameters scored an average of 3.6 points higher on held-out translations than the 6-layer baseline trained on the original small collections. Both used greedy decoding, which commits to one next token at each step. The compact configuration also reduced average decoding time by 40%. The scores are measured with BLEU, an automatic measure of overlap between generated translations and reference translations.
Using the helping collection again during compact training could raise quality further. For the reported Vietnamese-to-English and Hindi-to-English comparisons, the gain from including generated targets reached 3.7 BLEU points in greedy decoding for a 1-layer system, relative to the best system of the same depth trained on both collections with their original targets. Which collection benefited most from distillation depended on the translation direction. A larger helping collection could even hurt when it was used to generate targets for a different language pair. The results show why the authors treat the two training stages separately. The data mixture that helps a large translator rewrite a small collection can differ from the mixture that gives a compact translator its best test score.
Cite
Cite as Raj Dabre and Atsushi Fujita. 2020. Combining Sequence Distillation and Transfer Learning for Efficient Low-Resource Neural Machine Translation Models. Proceedings of the Fifth Conference on Machine Translation.
@inproceedings{dabre2020combining,
title = {{Combining Sequence Distillation and Transfer Learning for Efficient Low-Resource Neural Machine Translation Models}},
author = {Raj Dabre and Atsushi Fujita},
booktitle = {Proceedings of the Fifth Conference on Machine Translation},
year = {2020},
doi = {10.18653/v1/2020.wmt-1.61},
url = {https://doi.org/10.18653/v1/2020.wmt-1.61}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/dabre-2020-combining-sequence-distillation-transfer-learning/