ACL Findings2023
PREADD: Prefix-Adaptive Decoding for Controlled Text Generation
Jonathan Pei, Kevin Yang, Dan Klein
Abstract
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% or more in relative gain on our main metrics for each task.CONTENT WARNING: Some example model outputs contain highly offensive or disturbing text.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- When One LLM Drools, Multi-LLM Collaboration Rules cites Language Models are Few-Shot Learners
- Parallel Scaling Law for Language Models cites Language Models are Few-Shot Learners
- Parallel Scaling Law for Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Controlled Text Generation via Language Model Arithmetic cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Controlled Text Generation via Language Model Arithmetic cites Language Models are Few-Shot Learners
- Controlled Text Generation via Language Model Arithmetic cites Training language models to follow instructions with human feedback
- Controlled Text Generation via Language Model Arithmetic cites Calibrate Before Use: Improving Few-shot Performance of Language Models
- RLCD: Reinforcement Learning from Contrastive Distillation for LM Alignment cites Training language models to follow instructions with human feedback
- Controlling Large Language Models Through Concept Activation Vectors cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Controlling Large Language Models Through Concept Activation Vectors cites Controlled Text Generation via Language Model Arithmetic
- Controlling Large Language Models Through Concept Activation Vectors cites Language Models are Few-Shot Learners
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models cites Training language models to follow instructions with human feedback
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models cites Calibrate Before Use: Improving Few-shot Performance of Language Models
- Training language models to follow instructions with human feedback cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
- Calibrate Before Use: Improving Few-shot Performance of Language Models cites Language Models are Few-Shot Learners
Cited by top-tier papers12
- Controlled Text Generation via Language Model ArithmeticJasper Dekoninck, Marc Fischer, Luca Beurer-Kellner, Martin T. VechevICLR 2024 · 58 citations
- RLCD: Reinforcement Learning from Contrastive Distillation for LM AlignmentKevin Yang, Dan Klein, Asli Celikyilmaz, Nanyun Peng et al.ICLR 2024 · 37 citations
- Parallel Scaling Law for Language ModelsMouxiang Chen, Binyuan Hui, Zeyu Cui, Jiaxi Yang et al.NeurIPS 2025 · 33 citations
- When One LLM Drools, Multi-LLM Collaboration RulesShangbin Feng, Wenxuan Ding, Alisa Liu, Zifeng Wang et al.ACL 2026 · 27 citations
- Controlling Large Language Models Through Concept Activation VectorsHanyu Zhang, Xiting Wang, Chengao Li, Xiang Ao et al.AAAI 2025 · 26 citations
Builds on14
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein et al.ICML 2021 · 1,843 citations
- Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung et al.ICLR 2020 · 1,166 citations
Related papers
- DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-ExpertsAlisa Liu, Maarten Sap, Ximing Lu, Swabha Swayamdipta et al.ACL 2021
- Attribute Alignment: Controlling Text Generation from Pre-trained Language ModelsDian Yu, Zhou Yu, Kenji SagaeEMNLP Findings 2021 · 26 citations
- Attention Biasing and Context Augmentation for Zero-Shot Control of Encoder-Decoder Transformers for Natural Language GenerationDevamanyu Hazarika, Mahdi Namazifar, Dilek Hakkani-TürAAAI 2022 · 6 citations
- Diffusion Guided Language ModelingJustin Lovelace, Varsha Kishore, Yiwei Chen, Kilian Q. WeinbergerACL Findings 2024 · 3 citations
- GeDi: Generative Discriminator Guided Sequence GenerationBen Krause, Akhilesh Deepak Gotmare, Bryan McCann, Nitish Shirish Keskar et al.EMNLP Findings 2021 · 219 citations
