English

FUDGE: Controlled Text Generation With Future Discriminators

Computation and Language 2021-08-17 v2 Machine Learning

Abstract

We propose Future Discriminators for Generation (FUDGE), a flexible and modular method for controlled text generation. Given a pre-existing model G for generating text from a distribution of interest, FUDGE enables conditioning on a desired attribute a (for example, formality) while requiring access only to G's output logits. FUDGE learns an attribute predictor operating on a partial sequence, and uses this predictor's outputs to adjust G's original probabilities. We show that FUDGE models terms corresponding to a Bayesian decomposition of the conditional distribution of G given attribute a. Moreover, FUDGE can easily compose predictors for multiple desired attributes. We evaluate FUDGE on three tasks -- couplet completion in poetry, topic control in language generation, and formality change in machine translation -- and observe gains in all three tasks.

Keywords

Cite

@article{arxiv.2104.05218,
  title  = {FUDGE: Controlled Text Generation With Future Discriminators},
  author = {Kevin Yang and Dan Klein},
  journal= {arXiv preprint arXiv:2104.05218},
  year   = {2021}
}

Comments

NAACL 2021

R2 v1 2026-06-24T01:03:58.087Z