We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:


Current browse context:


Change to browse by:

References & Citations

DBLP - CS Bibliography


(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Computation and Language

Title: Classifiers are Better Experts for Controllable Text Generation

Abstract: This paper proposes a simple method for controllable text generation based on weighting logits with a free-form classifier, namely CAIF sampling. Using an arbitrary text classifier, we adjust a small part of a language model's logits and guide text generation towards or away from classifier prediction. We experimented with toxicity avoidance and sentiment control tasks and showed that the proposed method significantly outperforms recent PPLM, GeDi, and DExperts on PPL and task accuracy metrics based on the external classifier of generated texts. In addition, compared to other approaches, it is easier to implement and tune and has significantly fewer restrictions and requirements.
Subjects: Computation and Language (cs.CL); Machine Learning (cs.LG)
Cite as: arXiv:2205.07276 [cs.CL]
  (or arXiv:2205.07276v2 [cs.CL] for this version)

Submission history

From: Daniil Gavrilov [view email]
[v1] Sun, 15 May 2022 12:58:35 GMT (301kb,D)
[v2] Mon, 27 Jun 2022 13:26:51 GMT (773kb,D)

Link back to: arXiv, form interface, contact.