Continual Knowledge Distillation for Neural Machine Translation
38407Authors
nan
Abstract
AbstractWhile many parallel corpora are not publicly accessible for data copyright, data privacy and competitive differentiation reasons, trained translation models are increasingly available on open platforms. In this work, we propose a method called continual knowledge distillation to take advantage of existing translation models to improve one model of interest. The basic idea is to sequentially transfer knowledge from each trained model to the distilled model. Extensive experiments on Chinese-English and German-English datasets show that our method achieves significant and consistent improvements over strong baselines under both homogeneous and heterogeneous trained model settings and is robust to malicious models.
Keywords
Full Content
Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics Volume 1: Long Papers, pages 7978–7996 July 9-14, 2023 ©2023 Association for Computational Linguistics Continual Knowledge Distillation for Neural Machine Translation Yuanchi Zhang1,3, Peng Li∗2,4, Maosong Sun1,3, Yang Liu∗ 1,2,3,4 1Dept. of Comp. Sci. & Tech., Institute for AI, Tsinghua University, Beijing, China 2Institute for AI Industry Research (AIR), Tsinghua University, Beijing, China 3Beijing National Research Center for Information Science and Technology 4Shanghai Artificial Intelligence Laboratory, Shanghai, China yuanchi-21@mails.tsinghua.edu.cn; lipeng@air.tsinghua.edu.cn {sms,liuyang2011}@tsinghua.edu.cn Abstract While many parallel corpora are not publicly accessible for data copyright, data privacy and competitive differentiation reasons, trained translation models are increasingly available on open platforms. In this work, we propose a method called continual knowledge distilla- tion to take advantage of existing translation models to improve one model of interest. The basic idea is to sequentially transfer knowledge from each trained model to the distilled model. Extensive experiments on Chinese-English and German-English datasets show that our method achieves significant and consistent improve- ments over strong baselines under both homo- geneous and heterogeneous trained model set- tings and is robust to malicious models.1 1 Introduction Current neural machine translation (NMT) systems often face such a situation: parallel corpora are not publicly accessible but trained models are more readily available. On the one hand, many data owners are usually unwilling to share their par- allel corpora with the public for data copyright, data privacy and competitive differentiation rea- sons, leading to recent interests in federated learn- ing for NMT (Wang et al., 2021b; Roosta et al., 2021). On the other hand, trained NMT models are increasingly available on platforms such as Huggin- face (https://huggingface.co) and Opus-MT (https://opus.nlpl.eu/Opus-MT) since these models can be directly used without public access to the original training data. As a result, a question naturally arises: can we take advantage of increasingly available trained NMT models to enhance one NMT model of inter- est? In this work, we propose a method called Con- tinual Knowledge Distillation (CKD) to address ∗Corresponding authors. 1The source code is available at https://github.com/ THUNLP-MT/CKD. <latexit sha1_base64="tAH4Y/rWmAp4jYQLNhzDQBjy6r0=">ACnicbVFdS8MwFM3q15xfUx9CQ7Bp9 GKX49DQUQRJzgdrEPSLJ1hSVqSW3GUPvkDfNWf5r8x3Yq6zQuBw7n3JzkBrHgBlz3q+TMzS8sLpWXKyura+sb1c2tBxMlmrIWjUSk2wExTHDFWsBsHasGZGBYI/B4DzvP74wbXik7mEYs64kfcVDTglYquX3IjBP1Zpbd0eFZ 4FXgBoqvm0WXqzRpIpoAKYkzHc2PopkQDp4JlFT8xLCZ0QPqsY6EikpluOkqb4T3L9HAYaXsU4BH715ESacxQBlYpCTyb6V5O/tfrJBCedlOu4gSYouOLwkRgiHD+dNzjmlEQwsI1dxmxfSZaELBftDELedX1/mwbJqME0Vh hlWJDTtBjKrVPweC32i+5K8pn6eNopTX0s8prJs71fB1YyCqx/F9IDCbdfmTS9pFjwc1L3j+tHdYa1xViywjHbQLtpHjpBDXSJmqiFKOLoHX2gTwc7F86NczuWOqXCs40myml/A13S0Pg=</latexit>. . . <latexit sha1_base64="tAH4Y/rWmAp4jYQLNhzDQBjy6r0=">ACnicbVFdS8MwFM3q15xfUx9CQ7Bp9 GKX49DQUQRJzgdrEPSLJ1hSVqSW3GUPvkDfNWf5r8x3Yq6zQuBw7n3JzkBrHgBlz3q+TMzS8sLpWXKyura+sb1c2tBxMlmrIWjUSk2wExTHDFWsBsHasGZGBYI/B4DzvP74wbXik7mEYs64kfcVDTglYquX3IjBP1Zpbd0eFZ 4FXgBoqvm0WXqzRpIpoAKYkzHc2PopkQDp4JlFT8xLCZ0QPqsY6EikpluOkqb4T3L9HAYaXsU4BH715ESacxQBlYpCTyb6V5O/tfrJBCedlOu4gSYouOLwkRgiHD+dNzjmlEQwsI1dxmxfSZaELBftDELedX1/mwbJqME0Vh hlWJDTtBjKrVPweC32i+5K8pn6eNopTX0s8prJs71fB1YyCqx/F9IDCbdfmTS9pFjwc1L3j+tHdYa1xViywjHbQLtpHjpBDXSJmqiFKOLoHX2gTwc7F86NczuWOqXCs40myml/A13S0Pg=</latexit>. . . Teacher Models Student Model <latexit sha1_base64="tAH4Y/rWmAp4jYQLNhzDQBjy6r0=">ACnicbVFdS8MwFM3q15xfUx9CQ7Bp9 GKX49DQUQRJzgdrEPSLJ1hSVqSW3GUPvkDfNWf5r8x3Yq6zQuBw7n3JzkBrHgBlz3q+TMzS8sLpWXKyura+sb1c2tBxMlmrIWjUSk2wExTHDFWsBsHasGZGBYI/B4DzvP74wbXik7mEYs64kfcVDTglYquX3IjBP1Zpbd0eFZ 4FXgBoqvm0WXqzRpIpoAKYkzHc2PopkQDp4JlFT8xLCZ0QPqsY6EikpluOkqb4T3L9HAYaXsU4BH715ESacxQBlYpCTyb6V5O/tfrJBCedlOu4gSYouOLwkRgiHD+dNzjmlEQwsI1dxmxfSZaELBftDELedX1/mwbJqME0Vh hlWJDTtBjKrVPweC32i+5K8pn6eNopTX0s8prJs71fB1YyCqx/F9IDCbdfmTS9pFjwc1L3j+tHdYa1xViywjHbQLtpHjpBDXSJmqiFKOLoHX2gTwc7F86NczuWOqXCs40myml/A13S0Pg=</latexit>. . . <latexit sha1_base64="tAH4Y/rWmAp4jYQLNhzDQBjy6r0=">ACnicbVFdS8MwFM3q15xfUx9CQ7Bp9 GKX49DQUQRJzgdrEPSLJ1hSVqSW3GUPvkDfNWf5r8x3Yq6zQuBw7n3JzkBrHgBlz3q+TMzS8sLpWXKyura+sb1c2tBxMlmrIWjUSk2wExTHDFWsBsHasGZGBYI/B4DzvP74wbXik7mEYs64kfcVDTglYquX3IjBP1Zpbd0eFZ 4FXgBoqvm0WXqzRpIpoAKYkzHc2PopkQDp4JlFT8xLCZ0QPqsY6EikpluOkqb4T3L9HAYaXsU4BH715ESacxQBlYpCT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zSCdKTVCqz5Jt+0T9W2isYcmtnNA8POd/1zQySspLMbxv0505+69+w92HnYfPX7y9Flv9/m5LWvD+JCVsjSjHCyXQvMhCpR8VBkOKpf8Ir8bvIXP7ixotRfcVHxiYKZFoVgAFlvZdprlyKc47gM4dvEv/NvfZrx8P4mXQbZG0ok/aOMt2O7/SaclqxTUyCdaOk 7jCiQODgknu2lteQXsEmZ8HKQGxe3ELf39CQKS1KE5GuqQ3KxwoaxcqD04FOLebuQbelhvXWHycOKGrGrlmq0FLSmWtPkMOhWGM5SLIAZEXalbA4GIYvW5tyfHLaNPObsKo1wy2q67DsGsyV73bTKS9SMDMFP13abFtWLjWKrpD3B9cOobcQv93bDZoq8PZks0jbYvzw 0HyfvDuy9v+0af2gDtkj+yTVyQhH8gR+UzOyJAw4shv8of8jQ6jUZRFsLJGnbmBVmL6PsVNHX8Q=</latexit>✓⇤ t−1 Figure 1: Continual knowledge distillation for neural machine translation. Knowledge is continually distilled from a sequence of teacher models to one student model. At each time step, the current student model (i.e., ϕt) fuses the knowledge transferred from both the current teacher model (i.e., θ∗ t ) and the previous student model (i.e., ϕt−1). All teacher models are frozen and the student model is trainable. Different models are high- lighted in different colors. this problem for NMT. As shown in Figure 1, we as- sume that multiple trained …
Content truncated to 500 words
Labeled Text
AbstractWhile many parallel corpora are not publicly accessible for data copyright, data privacy and competitive differentiation reasons, trained translation models are increasingly available on open platforms. In this work, we propose a method called continual knowledge distillation to take advantage of existing translation models to improve one model of interest. The basic idea is to sequentially transfer knowledge from each trained model to the distilled model. Extensive experiments on Chinese-English and German-English datasets show that our method achieves significant and consistent improvements over strong baselines under both homogeneous and heterogeneous trained model settings and is robust to malicious models.
Publication Details
- Paper ID:
- 38407
- Year:
- 2023
- Publication:
- TIPSTER
- Publication Type:
- conf
- DOI:
- nan