Multilingual Pre-training with Language and Task Adaptation for Multilingual Text Style Transfer

Huiyuan Lai, Antonio Toral, Malvina Nissim

Abstract

Researchers from the University of Groningen have developed a modular approach to Multilingual Text Style Transfer (TST) that achieves state-of-the-art results in formality transfer for French, Italian, and Brazilian Portuguese. By leveraging the pre-trained mBART model and a two-step adapter-based adaptation strategy, they demonstrate that models can learn to transfer style even when parallel data in the target language is completely unavailable.

Introduction

Text Style Transfer (TST) involves rewriting a sentence to change its style (e.g., from informal to formal) while maintaining its original meaning. A significant challenge in this field is the "English problem": most research relies on large, high-quality parallel datasets that are scarce for non-English languages. Previous attempts to bridge this gap using machine translation (MT) to create "pseudo-parallel" data often struggled with content preservation and the formal-to-informal direction, as MT models are typically biased toward formal language.

Methodology

The authors propose a modular framework using mBART as a foundation, employing two distinct adaptation phases to overcome data scarcity:

  1. Language Adaptation: Small, trainable modules called adapters are inserted into the mBART architecture. These are trained on a denoising task (reconstructing corrupted text) using unlabeled data from the target language. This step helps the model better represent languages that were underrepresented during its initial pre-training.
  2. Task Adaptation: The model's cross-attention layers are fine-tuned using high-quality English parallel data. This teaches the model the underlying logic of formality transfer, which can then be transferred "zero-shot" to other languages via the language-specific adapters.
The two-step adaptation strategy: Language Adaptation (left) focuses on training adapters, while Task Adaptation (right) fine-tunes cross-attention layers.

Experimental Setup

The study utilized several key datasets:

  • GYAFC: The gold standard for English formality transfer.
  • XFORMAL: A multilingual benchmark for Brazilian Portuguese (BR-PT), French (FR), and Italian (IT).
  • Yahoo Answers & News Crawl: Used for non-parallel style data and generic language adaptation, respectively.

Key Results and Insights

The proposed adapter-based approach achieved state-of-the-art performance across all three target languages in the XFORMAL benchmark.

Comprehensive results across Italian, French, and Portuguese, showing the performance of various data settings (D1-D4) and model configurations.

Zero-Shot Success

Even without any parallel data in the target language (Setting D3), the modular adaptation strategy outperformed more complex methods like Iterative Back-Translation (IBT). This confirms that the model can successfully decouple "learning the language" from "learning the task."

The Asymmetry of Formality

The results highlight that transferring from Formal to Informal is significantly more difficult than the reverse. This is attributed to the high variability and lack of standardization in informal language (e.g., slang, regionalisms) compared to formal text. Additionally, the "formal bias" of MT systems used to generate training data often limits the quality of informal outputs.

Language Adaptation Benefits

Language adaptation was particularly effective for Brazilian Portuguese. As BR-PT was less represented in mBART’s original training, the specific adaptation step was crucial in mitigating underrepresentation and boosting performance.

Conclusion

This work demonstrates that modular adaptation is a powerful strategy for multilingual TST, particularly in low-resource settings. By separating language-specific knowledge from task-specific logic, the model achieves high content preservation and competitive style transfer accuracy. Future research will explore expanding this approach to other styles, such as sentiment or simplicity, and improving the evaluation of diverse informal language structures.

Summary updated

BibTeX
@inproceedings{lai2022multilingual,
  author = {Huiyuan Lai and Antonio Toral and Malvina Nissim},
  title = {{Multilingual Pre-training with Language and Task Adaptation for Multilingual Text Style Transfer}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-short.29},
}
Figure