The Daunting Task of Real-World Textual Style Transfer Auto-Evaluation

Richard Yuanzhe PangarXiv 2019

Abstract

The difficulty of textual style transfer lies in the lack of parallel corpora. Numerous advances have been proposed for unsupervised generation. However, significant problems remain with the auto-evaluation of style transfer tasks. Based on the summary of Pang and Gimpel (2018) and Mir et al. (2019), style transfer evaluations rely on three criteria: style accuracy of transferred sentences, content similarity between original and transferred sentences, and fluency of transferred sentences. We elucidate the problematic current state of style transfer research. Given that current tasks do not represent real use cases of style transfer, the current auto-evaluation approach is flawed. This discussion aims to bring researchers to think about the future of style transfer and style transfer evaluation research.

The Ground Truth Problem in Style Transfer

Textual style transfer—the task of changing a sentence's style (e.g., formal to informal) while keeping its meaning—suffers from a fundamental "ground truth" problem. Because researchers rarely have access to parallel corpora (the same sentence written in two different styles), they must rely on automatic metrics to judge three distinct dimensions: style accuracy, content preservation, and fluency.

A glaring issue in current research is that the "copy baseline"—simply outputting the input sentence without changes—often achieves a higher BLEU score than state-of-the-art models. Furthermore, most research focuses on "operational" style transfer, such as flipping sentiment in Yelp reviews. This is significantly easier than "real-world" style transfer, like author obfuscation or adjusting reading levels, where content and style are deeply intertwined and difficult to separate.

Methodology: A Novel Approach to Metric Aggregation

To address the limitations of looking at three separate, often inversely correlated numbers, this paper proposes a novel approach to metric aggregation. Instead of a simple average, the proposed aggregate metric, $G$, utilizes learned thresholds ($t$) to ensure a model is not "cheating" by excelling in one aspect while failing miserably in another (e.g., a highly accurate but unreadable sentence).

The parameters for this metric are trained using a "margin loss" based on human preference data, ensuring the metric aligns with human judgment. Additionally, the methodology suggests "content masking"—removing corpus-specific content words like proper nouns before evaluation—to force metrics to focus purely on stylistic markers rather than vocabulary overlap.

The BLEU Paradox and Empirical Results

The most striking evidence of the current evaluation crisis is found in the comparison of various models on standard benchmarks like the Yelp sentiment dataset. As shown in the data, there is a clear trade-off between style accuracy and content preservation (BLEU).

Table 1: Comparison of style transfer models on the Yelp dataset, highlighting the trade-off between BLEU and Accuracy.

The "Untransferred" baseline achieves a BLEU score of 31.4 but a style accuracy of nearly zero (0.024). In contrast, the best-performing models, such as those by Pang & Gimpel, reach high accuracy (0.843) but see their BLEU scores drop significantly (22.5). This "BLEU Paradox" proves that BLEU is a poor standalone metric for style transfer, as it rewards similarity to the input too heavily, even when the goal is transformation.

Limitations and Future Directions

While the proposed universal evaluator $G$ offers a more nuanced view, it is not a silver bullet. It requires significant human-annotated preference pairs for training and may be task-specific; a metric tuned for sentiment transfer might not generalize to formal-to-informal transfer.

The research concludes with a call to action for the NLP community: move away from "idealized" toy datasets like Yelp and toward practical applications like writing assistance and author anonymity. These real-world challenges will necessitate the development of more robust, human-aligned evaluation tools that can handle the complex interplay between content and style.

Summary updated

BibTeX
@misc{pang2019daunting,
  author = {Richard Yuanzhe Pang},
  title = {{The Daunting Task of Real-World Textual Style Transfer Auto-Evaluation}},
  year = {2019},
  eprint = {1910.03747},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.03747},
}
Figure