NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improving Formality-Sensitive Machine Translation Using Data-Centric Approaches and Prompt Engineering

Seungjun Lee, Hyeonseok Moon, Chanjun Park, Heuiseok Lim

Abstract

This paper details a winning strategy for the IWSLT 2023 Special Task on Formality Control. We demonstrate that language-specific data-centric approaches, such as morpheme-aware tokenization for Korean, significantly outperform generic models. While Large Language Models (LLMs) like GPT-4 prove effective for generating synthetic training data in zero-shot scenarios, we identify a "quality ceiling" where synthetic data can degrade performance in supervised settings compared to high-quality human-annotated corpora.

Introduction

Neural Machine Translation (NMT) typically aims for a single accurate translation. However, human communication requires sensitivity to social context, where the "formality register" varies based on the relationship between speakers. Controlling this register is challenging due to linguistic diversity—such as Korean's complex morphological suffixes—and a scarcity of parallel "minimal pair" datasets (identical sentences translated into both formal and informal versions). This research explores bridging these gaps through language-specialized processing and LLM-driven data augmentation.

Methodology

Our approach utilizes two primary strategies:

  1. Language-Specialized Data-Centric Processing:
    • Korean (EN-KO): We implemented morpheme-aware tokenization (MeCab-ko + Unigram) to better capture the grammatical markers signaling politeness in agglutinative languages.
  2. Vietnamese (EN-VI): We leveraged EnViT5, a model pre-trained on high-quality Vietnamese parallel corpora.
  3. Synthetic Data Generation via Prompt Engineering: For zero-shot tasks, we utilized GPT-4 to generate formal/informal translation pairs. We designed few-shot prompts and employed a formality classifier to filter synthetic examples, ensuring they met strict register requirements.

Experimental Setup

Experiments were conducted using the IWSLT 2023 Formality Dataset across English to Korean, Vietnamese, Portuguese, and Russian. For Korean, we utilized the AI Hub platform for diverse domain pre-training. Vietnamese models were fine-tuned on MTet and PhoMT datasets. Synthetic data generation was fueled by English sentences from the IWSLT 22 Formality Track.

Results and Analysis

The Impact of Prompting and Shots

Our results indicate that performance is highly sensitive to the number of examples provided in few-shot prompts. As shown in Figure 1, while formality accuracy (M-Acc) remains high across most configurations, BLEU scores fluctuate significantly based on the "shot" count. In the EN-KO task, our specialized model achieved a BLEU score of ~27, a massive improvement over the official baseline of ~4.9.

Figure 1: Performance metrics (BLEU and M-Acc) for EN-KO and EN-VI across varying few-shot prompts.

The Augmentation Paradox and Temperature Effects

A key finding was the "Augmentation Paradox": in supervised settings with human data, adding ChatGPT-generated synthetic data actually decreased performance. This suggests that LLM-generated noise can dilute the precision of high-quality human annotations. Furthermore, the decoding temperature of the LLM significantly impacts output. Higher temperatures increase linguistic variety but can lead to a breakdown in formality constraints.

Figure 5: Impact of decoding temperature on BLEU scores for formal and informal registers.

Key Insights

  • Tokenization as a Bottleneck: For agglutinative languages, morpheme-aware tokenization is more critical than model scaling.
  • Zero-Shot Success: For English-Russian (EN-RU), synthetic data allowed us to reach 100% formality accuracy, validating LLMs as effective "data factories" when no human data exists.
  • LLM Bias: In English-Portuguese informal tasks, LLMs often defaulted to specific registers regardless of prompts, indicating a training data bias.

Conclusion

While LLMs are powerful tools for data augmentation in low-resource or zero-shot scenarios, they cannot yet replace high-quality human-annotated data in supervised settings. Future work will focus on Quality Estimation (QE) techniques to filter synthetic noise and refining sentence-ending control to better capture the nuances of formal and informal speech.

Summary updated

BibTeX
@inproceedings{lee2023improving,
  author = {Seungjun Lee and Hyeonseok Moon and Chanjun Park and Heuiseok Lim},
  title = {{Improving Formality-Sensitive Machine Translation Using Data-Centric Approaches and Prompt Engineering}},
  booktitle = {IWSLT @ ACL},
  year = {2023},
  doi = {10.18653/v1/2023.iwslt-1.40},
}
Figure