DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Experts

By Alisa Liu, Maarten Sap, Ximing Lu, Swabha Swayamdipta, Chandra Bhagavatula, Noah A. Smith, Yejin Choi. 2021

533 citations recorded by the source corpus.

Despite recent advances in natural language generation, it remains challenging to control attributes of generated text. We propose DExperts: Decoding-time Experts, a decoding-time method for controlled text generation that combines a pretrained language model with “expert” LMs and/or “anti-expert” LMs in a product of experts. Intuitively, under the ensemble, tokens only get high probability if they are considered likely by the experts, and unlikely by the anti-experts. We apply DExperts to language detoxification and sentiment-controlled generation, where we outperform existing controllable generation methods on both automatic and human evaluations. Moreover, because DExperts operates only on the output of the pretrained LM, it is effective with (anti-)experts of smaller size, including when operating on GPT-3. Our work highlights the promise of tuning small LMs on text with (un)desirable attributes for efficient decoding-time steering.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing, Safety, Robustness & Interpretability

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. Yejin Choi
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Noah A. Smith
  5. Percy Liang
  6. Jianfeng Gao
  7. Graham Neubig
  8. Hannaneh Hajishirzi

In Computer Vision and Pattern Recognition

  1. Yejin Choi
  2. Mohit Bansal
  3. Luc Van Gool
  4. Jianfeng Gao
  5. Dacheng Tao
  6. Trevor Darrell
  7. Cordelia Schmid
  8. Xiaogang Wang

In Natural Language Processing

  1. Yejin Choi
  2. Noah A. Smith
  3. Mohit Bansal
  4. Percy Liang
  5. Graham Neubig
  6. Yulia Tsvetkov
  7. Luke S. Zettlemoyer
  8. Hannaneh Hajishirzi

In Safety, Robustness & Interpretability

  1. Yulia Tsvetkov
  2. Yejin Choi
  3. Dirk Hovy
  4. Kai-Wei Chang
  5. Nanyun Peng
  6. Emily Sheng
  7. Maarten Sap
  8. Noah A. Smith

Citations in the corpus