Towards Formality-Aware Neural Machine Translation by Leveraging Context Information
Dohee Kim, Yujin Baek, Soyoung Yang, Jaegul Choo · 2023
Formality is one of the most important linguistic properties to determine the naturalness of translation.Although a target-side context contains formality-related tokens, the sparsity within the context makes it difficult for contextaware neural machine translation (NMT) models to discern them properly.In this paper, we introduce a novel training method to explicitly inform the NMT model by pinpointing key informative tokens using a formality classifier.Given a target context, the formality classifier guides the model to concentrate on the formality-related tokens within the context.Additionally, we modify the standard crossentropy loss, especially toward the formalityrelated tokens obtained from the classifier.Experimental results show that our approaches not only improve overall translation quality but also reflect the appropriate formality from the target context.