Tailor: A Soft-Prompt-Based Approach to Attribute-Based Controlled Text Generation
Kexin Yang, Dayiheng Liu, Wenqiang Lei, Baosong Yang, Mingfeng Xue, Boxing Chen, Jun Xie
摘要
Attribute-based Controlled Text Generation (CTG) refers to generating sentences that satisfy desirable attributes (e.g., emotions and topics). Existing work usually utilize fine-tuning or resort to extra attribute classifiers, yet suffer from increases in storage and inference time. To address these concerns, we explore attribute-based CTG in a parameter-efficient manner. In short, the proposed Tailor represents each attribute as a pre-trained continuous vector (i.e., single-attribute prompt), which guides the generation of a fixed pre-trained language model (PLM) to satisfy a pre-specified attribute. These prompts can be simply concatenated as a whole for multi-attribute CTG without any re-training. Nevertheless, this may raise problems of fluency downgrading and position sensitivity. To solve this, Tailor provides two solutions to enhance the combination. The former contains a multi-attribute prompt mask and a re-indexing position sequence to bridge the gap between the training (one singleattribute prompt for each task) and the testing stage (concatenating two prompts). The latter introduces a trainable prompt connector to further enhance the combinations. Experiments demonstrate that, only requiring 0.08% extra training parameters of the GPT-2, Tailor can achieve effective and general improvements on eleven attribute-specific generation tasks.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generation 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generation 引用了 Unveiling and Manipulating Prompt Influence in Large Language Models
- FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generation 引用了 GeDi: Generative Discriminator Guided Sequence Generation
- FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generation 引用了 Controllable Natural Language Generation with Contrastive Prefixes
- Exploring Versatile Generative Language Model Via Parameter-Efficient Transfer Learning 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Treasure Hunt: Real-time Targeting of the Long Tail using Training-Time Markers 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Challenges in Detoxifying Language Models 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Challenges in Detoxifying Language Models 引用了 GeDi: Generative Discriminator Guided Sequence Generation
- Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation 引用了 GeDi: Generative Discriminator Guided Sequence Generation
- Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation 引用了 Controllable Natural Language Generation with Contrastive Prefixes
- GeDi: Generative Discriminator Guided Sequence Generation 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Controllable Natural Language Generation with Contrastive Prefixes 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Controllable Natural Language Generation with Contrastive Prefixes 引用了 GeDi: Generative Discriminator Guided Sequence Generation
引用它的顶会 Paper11
- What Makes a Good Natural Language Prompt?Do Xuan Long, Duy Dinh, Ngoc-Hai Nguyen, Kenji Kawaguchi 等ACL 2025 · 13 次引用
- Unveiling and Manipulating Prompt Influence in Large Language ModelsZijian Feng, Hanzhang Zhou, Zixiao Zhu, Junlang Qian 等ICLR 2024 · 9 次引用
- Multi-Aspect Controllable Text Generation with Disentangled Counterfactual AugmentationYi Liu, Xiangyu Liu, Xiangrong Zhu, Wei HuACL 2024 · 6 次引用
- FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text GenerationZijian Feng, Hanzhang Zhou, Kezhi Mao, Zixiao ZhuACL 2024 · 3 次引用
- Treasure Hunt: Real-time Targeting of the Long Tail using Training-Time MarkersDaniel D'souza, Julia Kreutzer, Adrien Morisot, Ahmet Üstün 等NeurIPS 2025 · 3 次引用
它引用的 Paper7
- Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung 等ICLR 2020 · 1,166 次引用
- GeDi: Generative Discriminator Guided Sequence GenerationBen Krause, Akhilesh Deepak Gotmare, Bryan McCann, Nitish Shirish Keskar 等EMNLP Findings 2021 · 219 次引用
- Challenges in Detoxifying Language ModelsJohannes Welbl, Amelia Glaese, Jonathan Uesato, Sumanth Dathathri 等EMNLP Findings 2021 · 112 次引用
- Exploring Versatile Generative Language Model Via Parameter-Efficient Transfer LearningZhaojiang Lin, Andrea Madotto, Pascale FungEMNLP Findings 2020 · 100 次引用
- Controllable Natural Language Generation with Contrastive PrefixesJing Qian, Li Dong, Yelong Shen, Furu Wei 等ACL Findings 2022 · 74 次引用
相关 Paper
- Attribute Alignment: Controlling Text Generation from Pre-trained Language ModelsDian Yu, Zhou Yu, Kenji SagaeEMNLP Findings 2021 · 26 次引用
- Tailor: Generating and Perturbing Text with Semantic ControlsAlexis Ross, Tongshuang Wu, Hao Peng, Matthew E. Peters 等ACL 2022 · 85 次引用
- TARA: Token-level Attribute Relation Adaptation for Multi-Attribute Controllable Text GenerationYilin Cao, Jiahao Zhao, Ruike Zhang, Hanyi Zou 等EMNLP Findings 2024
- Composable Text Controls in Latent Space with ODEsGuangyi Liu, Zeyu Feng, Yuan Gao, Zichao Yang 等EMNLP 2023 · 12 次引用
- GRACE: Gradient-guided Controllable Retrieval for Augmenting Attribute-based Text GenerationZhihua Wen, Zhiliang Tian, Zhen Huang, Yuxin Yang 等ACL Findings 2023 · 3 次引用
