Skip to main content
QUICK REVIEW

[Paper Review] Content preserving text generation with attribute controls

Lajanugen Logeswaran, Honglak Lee|arXiv (Cornell University)|Nov 3, 2018
Topic ModelingComputer Science82 citations
TL;DR

The paper proposes a model that preserves content while controlling multiple text attributes using interpolated reconstruction loss and a single adversarial discriminator, evaluated on sentiment and style transfer tasks.

ABSTRACT

In this work, we address the problem of modifying textual attributes of sentences. Given an input sentence and a set of attribute labels, we attempt to generate sentences that are compatible with the conditioning information. To ensure that the model generates content compatible sentences, we introduce a reconstruction loss which interpolates between auto-encoding and back-translation loss components. We propose an adversarial loss to enforce generated samples to be attribute compatible and realistic. Through quantitative, qualitative and human evaluations we demonstrate that our model is capable of generating fluent sentences that better reflect the conditioning information compared to prior methods. We further demonstrate that the model is capable of simultaneously controlling multiple attributes.

Motivation & Objective

  • Motivate the need to modify textual attributes without losing content.
  • Develop a model that learns content-compatible sentence generation conditioned on attribute labels.
  • Introduce a reconstruction loss that interpolates auto-encoding and back-translation to preserve content.
  • Employ an adversarial discriminator to ensure realism and attribute compatibility.
  • Demonstrate simultaneous control of multiple textual attributes and evaluate without parallel data.

Proposed method

  • Encoder-decoder architecture where the encoder extracts a content representation zx from input x and the decoder generates y conditioned on zx and the attribute vector l.
  • Content-preserving reconstruction losses: auto-encoding loss Lae, back-translation loss Lbt, and an interpolated loss Lint that fuses latent representations zx and zy via zxy to reconstruct x.
  • Adversarial loss Ladv with a projection discriminator to enforce realism and attribute compatibility.
  • Combined objective Lint + λLadv, with training details including Bernoulli-interpolated latent mixing and hard-sampling for generation.
  • Discussion of soft-sampling vs hard-sampling and the choice to use hard-sampled sequences to improve reliability.
  • Scalability to multiple attributes through a single discriminator modeling joint distribution of sentences and attribute vectors.

Experimental results

Research questions

  • RQ1Can content be preserved when transforming sentences to reflect specified attributes?
  • RQ2Can a single discriminator enforce both realism and attribute compatibility across multiple attributes?
  • RQ3Does interpolated reconstruction help avoid trivial copying and improve content preservation?
  • RQ4Is it feasible to control multiple attributes simultaneously without parallel data?
  • RQ5How does the proposed method compare to prior style-transfer approaches on objective and human evaluations?

Key findings

  • The proposed model achieves high attribute accuracy on Yelp (90.50%) and IMDB (94.46%).
  • Content preservation (BLEU-1) scores are 53.0 on Yelp and 40.3 on IMDB for the proposed model.
  • Fluency (perplexity) scores are 7.5 (Yelp) and 2.2 (IMDB) with the proposed model, indicating competitive fluency.
  • Subjective human judgments favor the proposed model over Ctrl-gen and Cross-align in attribute compatibility and content preservation.
  • In the monolingual translation task (old English to modern English), the model gains over supervised baselines in semi-supervised settings.
  • The model demonstrates simultaneous control of multiple attributes with high accuracy across mood, tense, voice, and negation (e.g., mood 98%, tense 98%, voice 90%, negation 97% for generated samples).

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.