A Distributional Approach to Controlled Text Generation
Abstract
We propose a Distributional Approach for addressing Controlled Text Generation from pre-trained Language Models (LMs). This approach permits to specify, in a single formal framework, both "pointwise" and "distributional" constraints over the target LM -to our knowledge, the first model with such generalitywhile minimizing KL divergence from the initial LM distribution. The optimal target distribution is then uniquely determined as an explicit EBM (Energy-Based Model) representation. From that optimal representation we then train a target controlled Autoregressive LM through an adaptive distributional variant of Policy Gradient. We conduct a first set of experiments over pointwise constraints showing the advantages of our approach over a set of baselines, in terms of obtaining a controlled LM balancing constraint satisfaction with divergence from the initial LM. We then perform experiments over distributional constraints, a unique feature of our approach, demonstrating its potential as a remedy to the problem of Bias in Language Models. Through an ablation study, we show the effectiveness of our adaptive technique for obtaining faster convergence. 1
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.
51 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
- Plug and Play Language Models: A Simple Approach to Controlled Text Generation cites The Curious Case of Neural Text Degeneration
- QUARK: Controllable Text Generation with Reinforced Unlearning cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- QUARK: Controllable Text Generation with Reinforced Unlearning cites Language Models are Few-Shot Learners
- QUARK: Controllable Text Generation with Reinforced Unlearning cites The Curious Case of Neural Text Degeneration
- Pretraining Language Models with Human Preferences cites QUARK: Controllable Text Generation with Reinforced Unlearning
- Pretraining Language Models with Human Preferences cites The Curious Case of Neural Text Degeneration
- Understanding the Effects of RLHF on LLM Generalisation and Diversity cites Language Models are Few-Shot Learners
- COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics cites Language Models are Few-Shot Learners
- COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics cites Residual Energy-Based Models for Text Generation
- COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics cites The Curious Case of Neural Text Degeneration
- Generating Training Data with Language Models: Towards Zero-Shot Language Understanding cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Generating Training Data with Language Models: Towards Zero-Shot Language Understanding cites Language Models are Few-Shot Learners
- Generating Training Data with Language Models: Towards Zero-Shot Language Understanding cites The Curious Case of Neural Text Degeneration
- Language Models are Few-Shot Learners cites The Curious Case of Neural Text Degeneration
- Residual Energy-Based Models for Text Generation cites The Curious Case of Neural Text Degeneration
- The Curious Case of Neural Text Degeneration cites Language GANs Falling Short
Cited by top-tier papers51
- Understanding the Effects of RLHF on LLM Generalisation and DiversityRobert Kirk, Ishita Mediratta, Christoforos Nalmpantis, Jelena Luketina et al.ICLR 2024 · 332 citations
- Generating Training Data with Language Models: Towards Zero-Shot Language UnderstandingYu Meng, Jiaxin Huang, Yu Zhang, Jiawei HanNeurIPS 2022 · 309 citations
- QUARK: Controllable Text Generation with Reinforced UnlearningXiming Lu, Sean Welleck, Jack Hessel, Liwei Jiang et al.NeurIPS 2022 · 290 citations
- Pretraining Language Models with Human PreferencesTomasz Korbak, Kejian Shi, Angelica Chen, Rasika Vinayak Bhalerao et al.ICML 2023 · 287 citations
- COLD Decoding: Energy-based Constrained Text Generation with Langevin DynamicsLianhui Qin, Sean Welleck, Daniel Khashabi, Yejin ChoiNeurIPS 2022 · 217 citations
Builds on8
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 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
- Language GANs Falling ShortMassimo Caccia, Lucas Caccia, William Fedus, Hugo Larochelle et al.ICLR 2020 · 236 citations
- Residual Energy-Based Models for Text GenerationYuntian Deng, Anton Bakhtin, Myle Ott, Arthur Szlam et al.ICLR 2020 · 147 citations
Related papers
- Principled Gradient-Based MCMC for Conditional Sampling of TextLi Du, Afra Amini, Lucas Torroba Hennigen, Xinyan Velocity Yu et al.ICML 2024 · 6 citations
- Controlled LLM Decoding via Discrete Auto-regressive BiasingPatrick Pynadath, Ruqi ZhangICLR 2025
- On Reinforcement Learning and Distribution Matching for Fine-Tuning Language Models with no Catastrophic ForgettingTomasz Korbak, Hady Elsahar, Germán Kruszewski, Marc DymetmanNeurIPS 2022 · 98 citations
- Guaranteed Generation from Large Language ModelsMinbeom Kim, Thibaut Thonet, Jos Rozen, Hwaran Lee et al.ICLR 2025
- SideControl: Controlled Open-domain Dialogue Generation via Additive Side NetworksWanyu Du, Yangfeng JiEMNLP Findings 2021 · 6 citations
