Skip to main content
QUICK REVIEW

[Paper Review] TextSETTR: Label-Free Text Style Extraction and Tunable Targeted Restyling

Parker Riley, Noah Constant|arXiv (Cornell University)|May 4, 2021
Topic ModelingComputer Science8 citations
TL;DR

TextSETTR proposes a label-free text style transfer method that extracts style vectors from adjacent sentences in unlabeled text using T5, enabling targeted restyling by manipulating specific style attributes. Trained on unlabeled data, it achieves competitive sentiment transfer with only four exemplars per class and generalizes across multiple style dimensions including sentiment, formality, and dialect.

ABSTRACT

We present a novel approach to the challenging problem of label-free text style transfer. Unlike previous approaches that use parallel or non-parallel labeled data, our technique removes the need for labels entirely, relying instead on the implicit connection in style between adjacent sentences in unlabeled text. We show that T5 (Raffel et al., 2020), a strong pretrained text-to-text model, can be adapted to extract a style vector from arbitrary text and use this vector to condition the decoder to perform style transfer. As the resulting learned style vector space encodes many facets of textual style, we recast transfers as targeted restyling vector operations that adjust specific attributes of the input text while preserving others. When trained over unlabeled Amazon reviews data, our resulting TextSETTR model is competitive on sentiment transfer, even when given only four exemplars of each class. Furthermore, we demonstrate that a single model trained on unlabeled Common Crawl data is capable of transferring along multiple dimensions including dialect, emotiveness, formality, politeness, and sentiment.

Motivation & Objective

  • To address the challenge of text style transfer without requiring labeled parallel or non-parallel data.
  • To learn a disentangled style vector space from unlabeled text by exploiting implicit style connections between adjacent sentences.
  • To enable targeted restyling by manipulating specific style attributes while preserving content and other attributes.
  • To demonstrate strong few-shot performance on sentiment transfer using only four exemplars per class.
  • To train a single model on unlabeled Common Crawl data capable of transferring across multiple style dimensions.

Proposed method

  • Leverages T5 as a text-to-text model to extract a style vector from input text using the latent representation of adjacent sentences.
  • Uses the extracted style vector to condition the decoder for style transfer, enabling control over specific style attributes.
  • Treats style transfer as vector operations in the learned style space, allowing targeted adjustments to attributes like sentiment or formality.
  • Trains the model end-to-end on unlabeled data, relying on self-supervision from sentence-level style consistency.
  • Applies the model to multiple style dimensions—dialect, emotiveness, formality, politeness, and sentiment—without explicit labeling.
  • Uses a contrastive learning objective to encourage style consistency between adjacent sentences in the same document.

Experimental results

Research questions

  • RQ1Can style transfer be effectively performed without any labeled data by leveraging implicit style signals between adjacent sentences?
  • RQ2Can a single model generalize across multiple, diverse style dimensions such as sentiment, formality, and dialect using only unlabeled data?
  • RQ3To what extent can style transfer be made targeted, allowing manipulation of specific attributes while preserving content and other attributes?
  • RQ4How well does the model perform in few-shot settings, particularly with only four exemplars per class?
  • RQ5Can a unified style vector space be learned from unlabeled data that supports disentangled, controllable style editing?

Key findings

  • TextSETTR achieves competitive performance on sentiment transfer using only four exemplars per class, demonstrating strong few-shot generalization.
  • The model generalizes across multiple style dimensions, including sentiment, formality, politeness, emotiveness, and dialect, when trained on unlabeled Common Crawl data.
  • The learned style vector space enables targeted restyling by manipulating specific attributes while preserving content and other stylistic features.
  • The model relies solely on unlabeled data, eliminating the need for parallel or non-parallel labeled data in training.
  • The approach demonstrates that implicit style signals between adjacent sentences can be effectively leveraged for style representation learning.
  • The method achieves strong performance without explicit supervision on style labels, highlighting the utility of self-supervised learning in style transfer.

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.