Lune

EMNLP2022Top-tier venue

DisCup: Discriminator Cooperative Unlikelihood Prompt-tuning for Controllable Text Generation

Hanqing Zhang, Dawei Song

Abstract

Prompt learning with immensely large Casual Language Models (CLMs) has been shown promising for attribute-controllable text generation (CTG). However, vanilla prompt tuning tends to imitate training corpus characteristics beyond the control attributes, resulting in a poor generalization ability. Moreover, it is less able to capture the relationship between different attributes, further limiting the control performance. In this paper, we propose a new CTG approach, namely DisCup, which incorporates the attribute knowledge of discriminator to optimize the control-prompts, steering a frozen CLM to produce attribute-specific texts. Specifically, the frozen CLM model, capable of producing multitudinous texts, is first used to generate the next-token candidates based on the context, so as to ensure the diversity of tokens to be predicted. Then, we leverage an attribute-discriminator to select desired/undesired tokens from those candidates, providing the inter-attribute knowledge. Finally, we bridge the above two traits by an unlikelihood objective for prompt-tuning. Extensive experimental results show that DisCup can achieve a new state-of-the-art control performance while maintaining an efficient and high-quality text generation, only relying on around 10 virtual tokens 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.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Distributional Approach to Controlled Text Generation cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Benchmarking Large Language Models on Controllable Generation under Diversified Instructions cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Benchmarking Large Language Models on Controllable Generation under Diversified Instructions cites GeDi: Generative Discriminator Guided Sequence Generation
  • Benchmarking Large Language Models on Controllable Generation under Diversified Instructions cites RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
  • Controllable Text Generation via Probability Density Estimation in the Latent Space cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Controllable Text Generation via Probability Density Estimation in the Latent Space cites A Distributional Approach to Controlled Text Generation
  • Controllable Text Generation via Probability Density Estimation in the Latent Space cites GeDi: Generative Discriminator Guided Sequence Generation
  • GeDi: Generative Discriminator Guided Sequence Generation cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • GeDi: Generative Discriminator Guided Sequence Generation cites RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
  • Air-Decoding: Attribute Distribution Reconstruction for Decoding-Time Controllable Text Generation cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Air-Decoding: Attribute Distribution Reconstruction for Decoding-Time Controllable Text Generation cites GeDi: Generative Discriminator Guided Sequence Generation
  • Air-Decoding: Attribute Distribution Reconstruction for Decoding-Time Controllable Text Generation cites RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
  • RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models cites Neural Text Generation With Unlikelihood Training
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Benchmarking Large Language Models on Controllable Generation under Diversified InstructionsYihan Chen, Benfeng Xu, Quan Wang, Yi Liu et al.AAAI 2024 · 42 citations
  2. PoetryDiffusion: Towards Joint Semantic and Metrical Manipulation in Poetry GenerationZhiyuan Hu, Chumin Liu, Yue Feng, Anh Tuan Luu et al.AAAI 2024 · 11 citations
  3. Controllable Text Generation via Probability Density Estimation in the Latent SpaceYuxuan Gu, Xiaocheng Feng, Sicheng Ma, Lingyuan Zhang et al.ACL 2023 · 8 citations
  4. Air-Decoding: Attribute Distribution Reconstruction for Decoding-Time Controllable Text GenerationTianqi Zhong, Quan Wang, Jingxuan Han, Yongdong Zhang et al.EMNLP 2023 · 7 citations
  5. Generating Summaries with Controllable Readability LevelsLeonardo F. R. Ribeiro, Mohit Bansal, Markus DreyerEMNLP 2023 · 6 citations

Builds on17

  1. 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
  2. RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language ModelsSamuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi et al.EMNLP Findings 2020 · 692 citations
  3. Neural Text Generation With Unlikelihood TrainingSean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan et al.ICLR 2020 · 683 citations
  4. GeDi: Generative Discriminator Guided Sequence GenerationBen Krause, Akhilesh Deepak Gotmare, Bryan McCann, Nitish Shirish Keskar et al.EMNLP Findings 2021 · 219 citations
  5. A Distributional Approach to Controlled Text GenerationMuhammad Khalifa, Hady Elsahar, Marc DymetmanICLR 2021 · 135 citations

Related papers

  1. Seen to Unseen: Exploring Compositional Generalization of Multi-Attribute Controllable Dialogue GenerationWeihao Zeng, Lulu Zhao, Keqing He, Ruotong Geng et al.ACL 2023 · 1 citation
  2. Attribute Alignment: Controlling Text Generation from Pre-trained Language ModelsDian Yu, Zhou Yu, Kenji SagaeEMNLP Findings 2021 · 26 citations
  3. Tailor: A Soft-Prompt-Based Approach to Attribute-Based Controlled Text GenerationKexin Yang, Dayiheng Liu, Wenqiang Lei, Baosong Yang et al.ACL 2023 · 25 citations
  4. Visual-Language Prompt Tuning with Knowledge-Guided Context OptimizationHantao Yao, Rui Zhang, Changsheng XuCVPR 2023
  5. FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text GenerationZijian Feng, Hanzhang Zhou, Kezhi Mao, Zixiao ZhuACL 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines