TL;DR
Researchers from the University of Maryland have demonstrated that a single multilingual language model can effectively control grammatical formality across multiple target languages. By using "additive vector interventions"—style embeddings added directly to the model's internal representations—their approach rivals the performance of dedicated, language-specific models while requiring significantly fewer parameters per language.
What Problem Does This Paper Address?
Most machine translation (MT) systems focus on semantic accuracy—getting the "what" right. However, they often struggle with the "how," specifically pragmatic formality. In many languages, choosing the wrong level of formality (e.g., using the informal tu instead of the formal Sie in German) isn't just a minor slip; it can be socially inappropriate or even offensive.
Controlling this is difficult because:
- Data Scarcity: There are few "gold standard" datasets containing the same sentence translated into both formal and informal variants.
- Linguistic Diversity: Formality markers vary wildly, from simple pronoun changes in Indo-European languages to complex morphological markers and honorifics in Japanese.
- Scalability: Training a separate model for every language pair and formality level is computationally expensive and ignores the potential for shared linguistic knowledge.
Methods
The authors propose a multilingual approach using pre-trained models (mT5-large and mBART-large). Their core innovation is the use of Additive Formality Control.
Instead of just prepending a text tag like <formal> to the input (which requires modifying the model's vocabulary), they introduce a learned style embedding ($V_f$). As shown in Figure 1, this vector is added to the output of the encoder ($Z$) before being passed to the decoder.
To train these models effectively with limited data, they employed three strategies:
- Gold Finetuning: Training only on the small, high-quality shared task data.
- Synthetic Finetuning: Using rules (like keyword searches for specific pronouns) or classifiers to label large amounts of unlabeled bitext with "silver" formality labels.
- Two-Pass Finetuning: First training on large-scale synthetic data to teach the model the language and general style, then refining it on the small gold dataset to sharpen the contrast between formal and informal outputs.
Datasets
The study utilized the IWSLT Special Task on Formality Control benchmark, which covers:
- Supervised pairs: English to German (DE), Spanish (ES), Hindi (HI), and Japanese (JA).
- Zero-shot pairs: English to Russian (RU) and Italian (IT).
- Synthetic sources: Large-scale corpora like ParaCrawl, CCMatrix, and JParaCrawl were used to generate silver-labeled training samples (see Table 3).
Key Insights and Ideas
- The "Overfitting" Trap: Finetuning the massive mT5 model on only a few hundred "gold" samples caused it to fail catastrophically, often outputting the wrong language entirely. Synthetic data acted as a vital anchor, keeping the model's translation capabilities intact while it learned style.
- Diversity vs. Contrast: The researchers found a trade-off in data types. "Unpaired triplets" (diverse sentences with one formality label) improved overall translation quality (BLEU), but "paired contrastive" samples (the same sentence in both styles) were better at teaching the model the specific markers that differentiate formal from informal speech.
- Multilingual Synergy: The single multilingual model performed particularly well on lower-resource languages like Hindi and Japanese compared to bilingual baselines. This suggests the model is successfully transferring stylistic concepts across its internal language representations.
Key Results
The Two-pass finetuned mT5-large emerged as a powerhouse in the supervised setting. On the development set, it achieved near-perfect formality accuracy (100% in many cases) and significantly higher BLEU scores than the gold-only or formality-agnostic baselines.
As shown in Table 6, the multilingual models (specifically the two-pass mT5) reached BLEU scores in the 70s and 80s for German and Spanish, vastly outperforming the bilingual baselines provided by the task organizers.
While mBART-large generally produced higher-quality translations (likely because it was pre-trained on parallel text, unlike mT5), the mT5 variants showed superior control over the specific formality markers.
Limitations and Future Work
- Zero-Shot Struggles: The models struggled to transfer formality to unseen languages (Italian and Russian). The results were often biased toward one style (e.g., EN-IT was heavily biased toward informal), likely reflecting biases in the underlying pre-training data.
- Japanese Complexity: Japanese remains a challenge due to its three writing systems and subtle honorific levels. The model occasionally produced "false positives" where the formality was correct but the surface form didn't match the reference.
- Register vs. Grammar: The authors note a need to distinguish between "grammatical formality" (pronouns/verbs) and "formal register" (sophisticated vocabulary), as current models might conflate the two.
Summary updated