Abstract
Recent advancements in multilingual language models have significantly improved machine translation (MT) quality, yet controlling the pragmatic aspects of translation—specifically formality—remains a challenge. This paper explores the use of a single multilingual model to produce translations with specific formality levels (formal vs. informal) across multiple languages. By implementing additive vector interventions, researchers from the University of Maryland demonstrate that models can be steered to achieve high formality accuracy and competitive translation quality. The approach proves effective not only for supervised language pairs but also in zero-shot scenarios, highlighting the potential for scalable, style-sensitive MT systems.
Introduction
Standard Machine Translation (MT) systems are primarily optimized for semantic accuracy, often neglecting the pragmatic nuances of the target language. In many cultures, the distinction between formal and informal address is critical; for example, using the informal du instead of the formal Sie in German can be socially inappropriate or offensive.
Developing formality-sensitive MT systems is historically difficult due to the scarcity of high-quality, human-annotated datasets containing paired formal and informal translations. While previous methods have utilized text-based "tagging" (e.g., prepending a <formal> token to the input), these are often constrained by the model's fixed vocabulary and the specific distributions of the training data. This research investigates whether a unified multilingual model can be architected to control formality across diverse languages with minimal manual annotation.
Methodology
Additive Formality Control
The researchers utilized two prominent multilingual models: mT5-large and mBART-large. To move beyond simple text tags, they implemented Additive Formality Control. This technique involves learning a specific "style embedding" (a vector) for each formality level: formal, informal, and neutral.
During the translation process, this vector is added directly to the encoder's output before it is passed to the decoder. This intervention allows the model to nudge its internal representations toward the desired style without requiring modifications to the core vocabulary or the input text itself. By learning a separate vector for "neutral" rather than using a zero vector, the model maintains better consistency in sentences where formality does not strictly alter grammatical structures.
Finetuning Strategies
To address the data scarcity problem, the study employed a three-tier finetuning strategy:
- Gold Finetuning: Training on a small set (400–1000 samples) of high-quality, human-annotated formal/informal pairs.
- Synthetic Finetuning: Training on larger "silver-standard" datasets (up to 15,000 examples per language) where formality labels were assigned via rule-based heuristics or classifiers.
- Two-pass Finetuning: A hybrid approach where the model is first trained on synthetic data to learn general language and style mappings, followed by a refinement phase using gold data to sharpen accuracy.
Experimental Setup
The study utilized data from the IWSLT 2022 Special Task on Formality Control. The languages were categorized into two groups:
- Supervised Languages: English to German (DE), Spanish (ES), Hindi (HI), and Japanese (JA).
- Zero-Shot Languages: English to Russian (RU) and Italian (IT), where the model was required to generalize formality control without specific training examples for those pairs.
Synthetic data was sourced from massive corpora including ParaCrawl, CCMatrix, and JParaCrawl, providing the necessary scale to regularize the models.
Results and Discussion
The Importance of Synthetic Data
A key finding was the "Overfitting Trap." When models (particularly mT5) were finetuned exclusively on the small gold datasets, translation quality plummeted. While the models often correctly identified the formality level, they frequently produced disfluent text or even output the wrong language. Large-scale synthetic data acted as a crucial regularizer, preserving translation quality while the gold data provided the stylistic nuance.
Model Performance
- Formality Accuracy: The best-performing multilingual models achieved near-perfect formality accuracy, often reaching 99-100% on test sets for supervised languages.
- Translation Quality: The "Two-pass" mT5 model significantly outperformed bilingual baselines. For instance, in German formal translation, the model achieved a BLEU score of 86.8, a dramatic improvement over the bilingual baseline's 49.1.
- Zero-Shot Generalization: The models demonstrated a surprising ability to transfer formality control to unseen languages (RU and IT). However, performance in these scenarios was more variable, influenced by the inherent biases in the models' original pre-training data.
Conclusion and Future Work
This research demonstrates that additive vector interventions are a robust method for injecting stylistic signals into multilingual models. While the results show high accuracy and improved translation quality, limitations remain in zero-shot transfer. The models exhibited specific biases—such as defaulting to informal for Italian and formal for Russian—suggesting that pre-training data contains hidden stylistic preferences.
Future research will focus on distinguishing between "formal register" (vocabulary choice) and "grammatical formality" (pronouns and verb endings), as well as auditing pre-training corpora to better understand and mitigate stylistic biases in large-scale language models.
Summary updated