DisCup: Discriminator Cooperative Unlikelihood Prompt-tuning for Controllable Text Generation
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Oct-17-2022
- Country:
- Asia
- China > Beijing
- Beijing (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Russia (0.04)
- Thailand > Narathiwat
- Narathiwat (0.04)
- China > Beijing
- Europe
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Russia (0.04)
- United Kingdom (0.04)
- Ireland > Leinster
- North America
- Canada > Ontario
- Toronto (0.04)
- Dominican Republic (0.04)
- United States
- California (0.04)
- New York (0.04)
- Washington > King County
- Seattle (0.04)
- Canada > Ontario
- Asia
- Genre:
- Research Report > New Finding (0.34)
- Industry:
- Health & Medicine (0.68)
- Leisure & Entertainment (1.00)
- Media > Film (1.00)
- Technology: