paper-with-me

홈 › Papers

Controllable Natural Language Generation with Contrastive Prefixes

2021-11-16 · ACL ARR November 2021 11 · Anonymous

To guide the generation of large pretrained language models (LM), previous work has focused on directly fine-tuning the language model or utilizing an attribute discriminator. In this work, we propose a novel lightweight framework for controllable GPT2 generation, which utilizes a set of small attribute-specific vectors, called prefixes (Li and Liang, 2021), to steer natural language generation. Different from Li and Liang (2021), where each prefix is trained independently, we take the relationship among prefixes into consideration and train multiple prefixes simultaneously. We propose a novel supervised method and also an unsupervised method to train the prefixes for single-aspect control while the combination of these two methods can achieve multi-aspect control. Experimental results on both single-aspect and multi-aspect control show that our methods can guide generation towards the desired attributes while keeping high linguistic quality.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

AttributeLanguage ModelingLanguage ModellingText Generation

Similar Papers 제목 키워드 기반

Controllable Natural Language Generation with Contrastive Prefixes

2022-02-27 · Findings (ACL) 2022 5 · Jing Qian, Li Dong, Yelong Shen, Furu Wei 외

To guide the generation of large pretrained language models (LM), previous work has focused on directly fine-tuning the language model or utilizing an attribute discriminator. In this work, we propose a novel lightweight…

AttributeLanguage ModelingLanguage ModellingText Generation

Click: Controllable Text Generation with Sequence Likelihood Contrastive Learning

2023-06-06 · Chujie Zheng, Pei Ke, Zheng Zhang, Minlie Huang

It has always been an important yet challenging problem to control language models to avoid generating texts with undesirable attributes, such as toxic language and unnatural repetition. We introduce Click for controllab…

Contrastive LearningText Generation

An Extensible Plug-and-Play Method for Multi-Aspect Controllable Text Generation

2022-12-19 · Xuancheng Huang, Zijun Liu, Peng Li, Tao Li 외

Recently, multi-aspect controllable text generation that controls the generated text in multiple aspects (e.g., sentiment, topic, and keywords) has attracted increasing attention. Although methods based on parameter effi…

Machine TranslationText GenerationTranslation

LaPA$^2$: Length-Aware Prefix and Prompt Attention Augmentation for Long-Form Controllable Text Generation

2025-08-06 · Jiabing Yang, Yixiang Chen, Zichen Wen, Chenhang Cui 외 arxiv

Prefix-based methods have emerged as a promising paradigm for Controllable Text Generation (CTG) due to their parameter efficiency. However, while effective in short sequences, their controllability tends to diminish as …

Text Generation

Control Prefixes for Parameter-Efficient Text Generation

2021-10-15 · Jordan Clive, Kris Cao, Marek Rei

Prefix-tuning is a powerful lightweight technique for adapting a large pre-trained language model to a downstream application. However, it uses the same dataset-level tuned prompt for all examples in the dataset. We exte…

Abstractive Text SummarizationAttributeData-to-Text GenerationLanguage Modeling+4