SOTAVerified

Multi-Attribute Controlled Text Generation with Contrastive-Generator and External-Discriminator

2022-10-01COLING 2022Unverified0· sign in to hype

Guisheng Liu, Yi Li, Yanqing Guo, Xiangyang Luo, Bo wang

Unverified — Be the first to reproduce this paper.

Reproduce

Abstract

Though existing researches have achieved impressive results in controlled text generation, they focus mainly on single-attribute control. However, in applications like automatic comments, the topic and sentiment need to be controlled simultaneously. In this work, we propose a new framework for multi-attribute controlled text generation. To achieve this, we design a contrastive-generator that can effectively generate texts with more attributes. In order to increase the convergence of the text on the desired attributes, we adopt an external-discriminator to distinguish whether the generated text holds the desired attributes. Moreover, we propose top-n weighted decoding to further improve the relevance of texts to attributes. Automated evaluations and human evaluations show that our framework achieves remarkable controllability in multi-attribute generation while keeping the text fluent and diverse. It also yields promising performance on zero-shot generation.

Tasks

Reproductions