English

Bridging the Gap Between Training and Inference of Bayesian Controllable Language Models

Computation and Language 2022-06-14 v1 Artificial Intelligence

Abstract

Large-scale pre-trained language models have achieved great success on natural language generation tasks. However, it is difficult to control the pre-trained language models to generate sentences with the desired attribute such as topic and sentiment, etc. Recently, Bayesian Controllable Language Models (BCLMs) have been shown to be efficient in controllable language generation. Rather than fine-tuning the parameters of pre-trained language models, BCLMs use external discriminators to guide the generation of pre-trained language models. However, the mismatch between training and inference of BCLMs limits the performance of the models. To address the problem, in this work we propose a "Gemini Discriminator" for controllable language generation which alleviates the mismatch problem with a small computational cost. We tested our method on two controllable language generation tasks: sentiment control and topic control. On both tasks, our method reached achieved new state-of-the-art results in automatic and human evaluations.

Keywords

Cite

@article{arxiv.2206.05519,
  title  = {Bridging the Gap Between Training and Inference of Bayesian Controllable Language Models},
  author = {Han Liu and Bingning Wang and Ting Yao and Haijin Liang and Jianjin Xu and Xiaolin Hu},
  journal= {arXiv preprint arXiv:2206.05519},
  year   = {2022}
}

Comments

Submitted to Neurips 2022

R2 v1 2026-06-24T11:47:30.797Z