PREADD: Prefix-Adaptive Decoding for Controlled Text Generation

07/06/2023
by   Jonathan Pei, et al.
0

We propose Prefix-Adaptive Decoding (PREADD), a flexible method for controlled text generation. Unlike existing methods that use auxiliary expert models to control for attributes, PREADD does not require an external model, instead relying on linearly combining output logits from multiple prompts. Specifically, PREADD contrasts the output logits generated using a raw prompt against those generated using a prefix-prepended prompt, enabling both positive and negative control with respect to any attribute encapsulated by the prefix. We evaluate PREADD on three tasks – toxic output mitigation, gender bias reduction, and sentiment control – and find that PREADD outperforms not only prompting baselines, but also an auxiliary-expert control method, by 12 more in relative gain on our main metrics for each task.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/07/2021

On-the-Fly Controlled Text Generation with Experts and Anti-Experts

Despite recent advances in natural language generation, it remains chall...
research
04/12/2021

FUDGE: Controlled Text Generation With Future Discriminators

We propose Future Discriminators for Generation (FUDGE), a flexible and ...
research
06/17/2020

Fine-grained Sentiment Controlled Text Generation

Controlled text generation techniques aim to regulate specific attribute...
research
05/19/2023

BOLT: Fast Energy-based Controlled Text Generation with Tunable Biases

Energy-based models (EBMs) have gained popularity for controlled text ge...
research
04/30/2020

Control, Generate, Augment: A Scalable Framework for Multi-Attribute Text Generation

In this work, we present a text generation approach with multi-attribute...
research
12/21/2022

Critic-Guided Decoding for Controlled Text Generation

Steering language generation towards objectives or away from undesired c...
research
01/22/2022

A Causal Lens for Controllable Text Generation

Controllable text generation concerns two fundamental tasks of wide appl...

Please sign up or login with your details

Forgot password? Click here to reset