Lune

ACL2023Top-tier venue

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

Abstract

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.

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

  • FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generation cites 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 cites Unveiling and Manipulating Prompt Influence in Large Language Models
  • FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generation cites GeDi: Generative Discriminator Guided Sequence Generation
  • FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generation cites Controllable Natural Language Generation with Contrastive Prefixes
  • Exploring Versatile Generative Language Model Via Parameter-Efficient Transfer Learning cites 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 cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Challenges in Detoxifying Language Models cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Challenges in Detoxifying Language Models cites GeDi: Generative Discriminator Guided Sequence Generation
  • Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation cites GeDi: Generative Discriminator Guided Sequence Generation
  • Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation cites Controllable Natural Language Generation with Contrastive Prefixes
  • GeDi: Generative Discriminator Guided Sequence Generation cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Controllable Natural Language Generation with Contrastive Prefixes cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Controllable Natural Language Generation with Contrastive Prefixes cites GeDi: Generative Discriminator Guided Sequence Generation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. What Makes a Good Natural Language Prompt?Do Xuan Long, Duy Dinh, Ngoc-Hai Nguyen, Kenji Kawaguchi et al.ACL 2025 · 13 citations
  2. Unveiling and Manipulating Prompt Influence in Large Language ModelsZijian Feng, Hanzhang Zhou, Zixiao Zhu, Junlang Qian et al.ICLR 2024 · 9 citations
  3. Multi-Aspect Controllable Text Generation with Disentangled Counterfactual AugmentationYi Liu, Xiangyu Liu, Xiangrong Zhu, Wei HuACL 2024 · 6 citations
  4. FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text GenerationZijian Feng, Hanzhang Zhou, Kezhi Mao, Zixiao ZhuACL 2024 · 3 citations
  5. Treasure Hunt: Real-time Targeting of the Long Tail using Training-Time MarkersDaniel D'souza, Julia Kreutzer, Adrien Morisot, Ahmet Üstün et al.NeurIPS 2025 · 3 citations

Builds on7

  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. GeDi: Generative Discriminator Guided Sequence GenerationBen Krause, Akhilesh Deepak Gotmare, Bryan McCann, Nitish Shirish Keskar et al.EMNLP Findings 2021 · 219 citations
  3. Challenges in Detoxifying Language ModelsJohannes Welbl, Amelia Glaese, Jonathan Uesato, Sumanth Dathathri et al.EMNLP Findings 2021 · 112 citations
  4. Exploring Versatile Generative Language Model Via Parameter-Efficient Transfer LearningZhaojiang Lin, Andrea Madotto, Pascale FungEMNLP Findings 2020 · 100 citations
  5. Controllable Natural Language Generation with Contrastive PrefixesJing Qian, Li Dong, Yelong Shen, Furu Wei et al.ACL Findings 2022 · 74 citations

Related papers

  1. Attribute Alignment: Controlling Text Generation from Pre-trained Language ModelsDian Yu, Zhou Yu, Kenji SagaeEMNLP Findings 2021 · 26 citations
  2. Tailor: Generating and Perturbing Text with Semantic ControlsAlexis Ross, Tongshuang Wu, Hao Peng, Matthew E. Peters et al.ACL 2022 · 85 citations
  3. TARA: Token-level Attribute Relation Adaptation for Multi-Attribute Controllable Text GenerationYilin Cao, Jiahao Zhao, Ruike Zhang, Hanyi Zou et al.EMNLP Findings 2024
  4. Composable Text Controls in Latent Space with ODEsGuangyi Liu, Zeyu Feng, Yuan Gao, Zichao Yang et al.EMNLP 2023 · 12 citations
  5. GRACE: Gradient-guided Controllable Retrieval for Augmenting Attribute-based Text GenerationZhihua Wen, Zhiliang Tian, Zhen Huang, Yuxin Yang et al.ACL Findings 2023 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines