Mix and Match: Learning-free Controllable Text Generationusing Energy Language Models

By Fatemehsadat Mireshghallah, Kartik Goyal, Taylor Berg-Kirkpatrick. 2022

91 citations recorded by the source corpus.

Recent work on controlled text generation has either required attribute-based fine-tuning of the base language model (LM), or has restricted the parameterization of the attribute discriminator to be compatible with the base autoregressive LM. In this work, we propose Mix and Match LM, a global score-based alternative for controllable text generation that combines arbitrary pre-trained black-box models for achieving the desired attributes in the generated text without involving any fine-tuning or structural assumptions about the black-box models. We interpret the task of controllable generation as drawing samples from an energy-based model whose energy values are a linear combination of scores from black-box models that are separately responsible for fluency, the control attribute, and faithfulness to any conditioning context. We use a Metropolis-Hastings sampling scheme to sample from this energy-based model using bidirectional context and global attribute features. We validate the effectiveness of our approach on various controlled generation and style-based text revision tasks by outperforming recently proposed methods that involve extra training, fine-tuning, or restrictive assumptions over the form of models.

Subfields: Artificial Intelligence, General Social Sciences, Generative Models

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yulia Tsvetkov
  2. Mohit Iyyer
  3. Kalpesh Krishna
  4. Sachin Kumar
  5. John Wieting
  6. Vidhisha Balachandran
  7. Antonios Anastasopoulos
  8. Ming Zhou

In General Social Sciences

  1. Vidhisha Balachandran
  2. Yulia Tsvetkov
  3. John Wieting
  4. Mohit Iyyer
  5. Kalpesh Krishna
  6. Antonios Anastasopoulos
  7. Ming Zhou

In Generative Models

  1. Yapei Chang
  2. Yulia Tsvetkov
  3. John Wieting
  4. Mohit Iyyer
  5. Kalpesh Krishna
  6. Sachin Kumar
  7. Ming Zhou

Citations in the corpus