Rethinking Text Attribute Transfer: A Lexical Analysis

Yao Fu, Hao Zhou, Jiaze Chen, Lei Li

Abstract

Recent advancements in Text Attribute Transfer (TAT) have produced models with high reported success rates. However, this study questions whether these models are learning sophisticated stylistic transformations or merely performing simple lexical substitutions. By introducing "Pivot Analysis," we demonstrate that many popular benchmarks are dominated by "Pivot Words"—tokens strongly correlated with specific attributes. Our results show that state-of-the-art models frequently rely on these lexical shortcuts, often leaving sentence structure entirely unchanged.

Introduction

Text Attribute Transfer (TAT) aims to alter a specific feature of a sentence, such as sentiment or politeness, while preserving its core meaning. While neural models have shown impressive performance on standard benchmarks, the nature of what is actually being "transferred" remains opaque. This paper addresses whether these models are acting as sophisticated stylistic engines or glorified find-and-replace tools. We quantify the "Pivot Effect," where a few high-impact words dictate the attribute of a sentence.

Methodology

The authors propose a framework to isolate the lexical signal in TAT datasets through two primary mechanisms:

  1. Pivot Word Discovery: A method to identify words with high precision for a specific class (e.g., "disgusting" for negative sentiment).
  2. The Pivot Classifier: A simple voting-based classifier that predicts attributes based solely on the presence of pivot words, ignoring all syntactic information.
The conceptual flow of the Pivot Effect, illustrating how lexical correlation leads to easier transfer via word modification.

Analysis of the Pivot Effect

The study reveals a strong positive correlation (0.64) between the accuracy of the simple Pivot Classifier and the success rates of state-of-the-art transfer models across various datasets.

Correlation between pivot classifier accuracy and transfer success rate, highlighting how lexical-heavy datasets are easier for models to "solve."

This correlation suggests that "successful" transfer is often a byproduct of a dataset's high "Pivot Density." In datasets like Yelp or Twitter, the presence of a single sentiment-laden adjective or social marker is often sufficient for classification, allowing models to achieve high scores by simply swapping these tokens.

Key Findings

  • Structural Stagnation: Using Masked Edit Distance, the authors found that for the Controllable Generation (CG) model, over 74% of transferred sentences had a distance of zero from the original sentence stem. This confirms that the model modified specific words while leaving the underlying syntax untouched.
  • Lexical Reliance: In the Yelp dataset, 91.25% of the words modified by the CG model were identified as pivot words. On the Amazon dataset, the model modified an average of only 0.56 words per sentence yet maintained high success metrics.
  • Dataset Variance: Attributes like "Paper" (Academic vs. Journalism) and "Politics" were found to be almost entirely lexical, with the Pivot Classifier reaching over 94% accuracy.

Conclusion

The analysis suggests that current TAT benchmarks may be rewarding simple lexical substitution rather than true stylistic transfer. To move the field forward, researchers must develop datasets and evaluation metrics that prioritize syntactic and compositional changes over high-frequency word swaps.

Summary updated

BibTeX
@inproceedings{fu2019rethinking,
  author = {Yao Fu and Hao Zhou and Jiaze Chen and Lei Li},
  title = {{Rethinking Text Attribute Transfer: A Lexical Analysis}},
  booktitle = {INLG},
  year = {2019},
  doi = {10.18653/v1/w19-8604},
}
Figure