Skip to main content
QUICK REVIEW

[Paper Review] Style Transfer in Text: Exploration and Evaluation

Zhenxin Fu, Xiaoye Tan|arXiv (Cornell University)|Nov 18, 2017
Topic ModelingComputer Science31 references29 citations
TL;DR

This paper proposes two deep learning models—multi-decoder and style-embedding—for text style transfer without parallel training data, using adversarial training to disentangle content and style representations. It introduces two novel evaluation metrics: transfer strength and content preservation, with the latter showing high correlation to human judgments, demonstrating effective content retention and style transfer in tasks like paper-news title and sentiment transfer.

ABSTRACT

Style transfer is an important problem in natural language processing (NLP). However, the progress in language style transfer is lagged behind other domains, such as computer vision, mainly because of the lack of parallel data and principle evaluation metrics. In this paper, we propose to learn style transfer with non-parallel data. We explore two models to achieve this goal, and the key idea behind the proposed models is to learn separate content representations and style representations using adversarial networks. We also propose novel evaluation metrics which measure two aspects of style transfer: transfer strength and content preservation. We access our models and the evaluation metrics on two tasks: paper-news title transfer, and positive-negative review transfer. Results show that the proposed content preservation metric is highly correlate to human judgments, and the proposed models are able to generate sentences with higher style transfer strength and similar content preservation score comparing to auto-encoder.

Motivation & Objective

  • To address the lack of parallel corpora in text style transfer by enabling learning from non-parallel data.
  • To develop reliable evaluation metrics for style transfer, focusing on transfer strength and content preservation.
  • To design models that disentangle content and style representations using adversarial training and multi-task learning.
  • To benchmark models on real-world style transfer tasks: paper-news title transfer and sentiment transfer.
  • To provide a publicly available dataset to support future research in text style transfer.

Proposed method

  • Proposes a multi-decoder seq2seq model where a shared encoder captures content, and multiple decoders generate outputs in different styles.
  • Introduces a style-embedding model that concatenates content representations with learnable style embeddings before decoding.
  • Employs adversarial networks to ensure content representations are invariant to style, enabling disentanglement.
  • Uses multi-task learning to jointly train content and style representation learning with shared and task-specific parameters.
  • Applies a classifier head with adversarial loss to distinguish style, ensuring content representations do not encode style information.
  • Employs a content preservation metric based on sentence embedding similarity, validated against human judgments.

Experimental results

Research questions

  • RQ1Can effective text style transfer be achieved without parallel training data?
  • RQ2How can content and style be effectively disentangled in text representations?
  • RQ3What evaluation metrics can reliably measure transfer strength and content preservation in the absence of ground-truth references?
  • RQ4How do different model architectures (multi-decoder vs. style-embedding) compare in performance and generalization across style transfer tasks?
  • RQ5To what extent do the proposed evaluation metrics correlate with human judgments?

Key findings

  • The proposed content preservation metric shows high correlation with human judgments, validating its reliability as an automatic evaluation metric.
  • The style-embedding model achieves a content preservation score of 0.89–0.95 and transfer strength of 0.2–0.6 across hyperparameters, indicating strong performance across diverse settings.
  • The multi-decoder model achieves higher transfer strength but lower content preservation compared to the style-embedding model, suggesting trade-offs in architecture design.
  • On the positive-negative review transfer task, the multi-decoder model outperforms the style-embedding model on both transfer strength and content preservation, with the red line (multi-decoder) positioned above the green line (style-embedding) in the evaluation plot.
  • The lower bound for content preservation is estimated at 0.609 (paper-news) and 0.863 (sentiment), with both models significantly exceeding these bounds, confirming effective content retention.
  • Qualitative analysis shows that auto-encoders produce identical outputs, while the proposed models preserve most content while modifying only key words or phrases to shift style.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.