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

Download:

Current browse context:

cs.CL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

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

Computer Science > Computation and Language

Title: Attribute Alignment: Controlling Text Generation from Pre-trained Language Models

Abstract: Large language models benefit from training with a large amount of unlabeled text, which gives them increasingly fluent and diverse generation capabilities. However, using these models for text generation that takes into account target attributes, such as sentiment polarity or specific topics, remains a challenge. We propose a simple and flexible method for controlling text generation by aligning disentangled attribute representations. In contrast to recent efforts on training a discriminator to perturb the token level distribution for an attribute, we use the same data to learn an alignment function to guide the pre-trained, non-controlled language model to generate texts with the target attribute without changing the original language model parameters. We evaluate our method on sentiment- and topic-controlled generation, and show large performance gains over previous methods while retaining fluency and diversity.
Subjects: Computation and Language (cs.CL)
Journal reference: EMNLP 2021 Findings
Cite as: arXiv:2103.11070 [cs.CL]
  (or arXiv:2103.11070v2 [cs.CL] for this version)

Submission history

From: Dian Yu [view email]
[v1] Sat, 20 Mar 2021 01:51:32 GMT (4889kb,D)
[v2] Tue, 14 Sep 2021 20:10:29 GMT (5477kb,D)

Link back to: arXiv, form interface, contact.