paper-with-me

홈 › Papers

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

2022-12-19 · Xuancheng Huang, Zijun Liu, Peng Li, Tao Li, Maosong Sun, Yang Liu

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 efficient tuning like prefix-tuning could achieve multi-aspect controlling in a plug-and-play way, the mutual interference of multiple prefixes leads to significant degeneration of constraints and limits their extensibility to training-time unseen aspect combinations. In this work, we provide a theoretical lower bound for the interference and empirically found that the interference grows with the number of layers where prefixes are inserted. Based on these analyses, we propose using trainable gates to normalize the intervention of prefixes to restrain the growing interference. As a result, controlling training-time unseen combinations of aspects can be realized by simply concatenating corresponding plugins such that new constraints can be extended at a lower cost. In addition, we propose a unified way to process both categorical and free-form constraints. Experiments on text generation and machine translation demonstrate the superiority of our approach over baselines on constraint accuracy, text quality, and extensibility.

📄 PDF Abstract BibTeX arXiv:2212.09387

Code (1)

thunlp-mt/promptgating4mctg 공식 구현 pytorch

Tasks

Machine TranslationText GenerationTranslation

Similar Papers 제목 키워드 기반

Attend to the Right Context: A Plug-and-Play Module for Content-Controllable Summarization

2022-12-21 · Wen Xiao, Lesly Miculicich, Yang Liu, Pengcheng He 외

Content-Controllable Summarization generates summaries focused on the given controlling signals. Due to the lack of large-scale training corpora for the task, we propose a plug-and-play module RelAttn to adapt any genera…

Mitigating Data Absence in Federated Learning Using Privacy-Controllable Data Digests

2022-10-03 · Chih-Fan Hsu, Ming-Ching Chang, Wei-Chao Chen

The absence of training data and their distribution changes in federated learning (FL) can significantly undermine model performance, especially in cross-silo scenarios. To address this challenge, we introduce the Federa…

Federated Learning

Investigation of Sentiment Controllable Chatbot

2020-07-11 · Hung-Yi Lee, Cheng-Hao Ho, Chien-Fu Lin, Chiung-Chih Chang 외

Conventional seq2seq chatbot models attempt only to find sentences with the highest probabilities conditioned on the input sequences, without considering the sentiment of the output sentences. In this paper, we investiga…

Chatbotreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Plug-and-Play Controllable Generation for Discrete Masked Models

2024-10-03 · Wei Guo, Yuchen Zhu, Molei Tao, Yongxin Chen

This article makes discrete masked models for the generative modeling of discrete data controllable. The goal is to generate samples of a discrete random variable that adheres to a posterior distribution, satisfies speci…

Image GenerationProtein Design

MacLaSa: Multi-Aspect Controllable Text Generation via Efficient Sampling from Compact Latent Space

2023-05-22 · Hanxing Ding, Liang Pang, Zihao Wei, HuaWei Shen 외

Multi-aspect controllable text generation aims to generate fluent sentences that possess multiple desired attributes simultaneously. Traditional methods either combine many operators in the decoding stage, often with cos…

AttributeDecoderText Generation