Empirical Evaluation of Supervision Signals for Style Transfer Models

Yevgeniy Puzikov, Simoes Stanley, Iryna Gurevych, Immanuel SchweizerarXiv 2021

Abstract

Text style transfer (TST) aims to modify the stylistic attributes of a sentence while preserving its semantic content. Due to the scarcity of parallel corpora, researchers rely on unsupervised supervision signals to train these models. This paper presents a rigorous empirical comparison of four key training paradigms: Denoising Autoencoding (DAE), Backtranslation (BT), Adversarial Training (ADV), and Minimum Risk Training (MRT). Our findings indicate that MRT significantly outperforms adversarial methods in terms of both performance and training stability, while also highlighting a fundamental trade-off between style accuracy and content preservation.

Introduction

The primary challenge in text style transfer is the lack of parallel data—sentences that convey the same meaning in different styles (e.g., formal vs. informal). To circumvent this, unsupervised methods use various signals to guide the model's learning. However, the diversity of architectures and datasets in previous literature has made it difficult to isolate which optimization techniques truly drive success. This study isolates these supervision signals within a controlled encoder-decoder framework to evaluate their individual and combined effectiveness.

Training Paradigms

The authors evaluate four distinct methods for providing supervision in an unsupervised setting:

  1. Denoising Autoencoding (DAE): This baseline method trains the model to reconstruct an original sentence from a version corrupted by noise (e.g., word shuffling or dropout). This forces the model to learn robust language representations.
  2. Backtranslation (BT): Borrowed from machine translation, the model translates a sentence into a target style and then attempts to translate it back to the original form. This cycle provides an indirect reconstruction signal.
  3. Adversarial Training (ADV): A discriminator network is trained to distinguish between human-written text and model-generated text of a specific style. The generator (the style transfer model) is then optimized to "fool" the discriminator, theoretically leading to more authentic stylistic outputs.
  4. Minimum Risk Training (MRT): This approach treats style transfer as a reinforcement learning problem. Unlike standard gradient descent, which requires differentiable loss functions, MRT allows the model to directly optimize for non-differentiable evaluation metrics, such as style accuracy, by minimizing the expected "risk" (loss) over the model's output distribution.
Schematic of the Minimum Risk Training (MRT) paradigm, which utilizes a non-differentiable loss function to optimize the transfer process.

Experimental Setup

The study utilizes four diverse datasets: Syelp and SAmazon for single-attribute sentiment transfer, and Fyelp and RottenTomatoes for multi-attribute transfer (including sentiment, gender, and category). Models are evaluated based on style transfer accuracy (ACC) and content preservation metrics like sBLEU and Earth-Mover’s Distance (EMD).

Key Insights and Results

The Style-Content Tug-of-War

A central finding of the research is the inherent trade-off between stylistic fidelity and semantic preservation. As models are optimized to maximize style accuracy, they frequently begin to discard the original content of the sentence.

Training dynamics illustrating the inverse relationship between style accuracy (Acc) and content preservation (sBLEU) as training iterations increase.

As shown in the training curves, while style accuracy (Acc) may continue to improve or stabilize at a high level, content preservation (sBLEU) often peaks early and then suffers a significant decline. This "tug-of-war" suggests that current models struggle to decouple style from substance effectively.

MRT vs. Adversarial Training

Despite the popularity of Generative Adversarial Networks (GANs), the authors found that MRT is a superior supervision signal. MRT proved more stable, avoiding common adversarial pitfalls like vanishing gradients or mode collapse. In the RottenTomatoes dataset, a configuration using DAE + BT + MRT achieved 59.6% accuracy, outperforming the 57.6% achieved by ADV. Furthermore, MRT showed consistent gains across different datasets and attributes, whereas ADV results were notably volatile.

The Transformer Trap

An unexpected discovery was that Backtranslation (BT) is not model-agnostic. While effective with Recurrent Neural Networks (RNNs), it often fails with high-capacity Transformers. The Transformer's encoder is powerful enough to "game" the reconstruction objective, learning to pass through the original content perfectly without performing the intended style transfer, essentially rendering the BT signal useless.

Conclusion

This empirical evaluation demonstrates that Minimum Risk Training offers a more robust and effective alternative to adversarial methods for unsupervised text style transfer. However, the field still faces significant hurdles, including the "style-content tug-of-war" and the limitations of current datasets that often conflate stylistic markers with topical content. Future work must focus on developing more nuanced metrics and architectures that can truly decouple style from the underlying message.

Summary updated

BibTeX
@misc{puzikov2021empirical,
  author = {Yevgeniy Puzikov and Simoes Stanley and Iryna Gurevych and Immanuel Schweizer},
  title = {{Empirical Evaluation of Supervision Signals for Style Transfer Models}},
  year = {2021},
  eprint = {2101.06172},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.06172},
}
Figure