SideControl: Controlled Open-domain Dialogue Generation via Additive Side Networks

Wanyu Du, Yangfeng Ji
9/5/2021
cs.CL
transformer-attention

Official code: wyu-du/Controlled-Dialogue-Generation (12 stars, Python, Apache-2.0, last commit 2021-12-01).

Abstract

Transformer-based pre-trained language models boost the performance of open-domain dialogue systems. Prior works leverage Transformer-based pre-trained language models to generate texts with desired attributes in two general approaches: (1) gradient-based methods: updating all latent representations of pre-trained models with gradients from attribute models; (2) weighted-decoding methods: re-ranking beam candidates from pre-trained models with attribute functions.

Show full abstract

However, gradient-based methods lead to high computation cost and can easily get overfitted on small training sets, while weighted-decoding methods are inherently constrained by the low-variance high-bias pre-trained model. In this work, we propose a novel approach to control the generation of Transformer-based pre-trained language models: the SideControl framework, which leverages a novel control attributes loss to incorporate useful control signals, and is shown to perform well with very limited training samples. We evaluate our proposed method on two benchmark open-domain dialogue datasets, and results show that the SideControl framework has better controllability, higher generation quality and better sample-efficiency than existing gradient-based and weighted-decoding baselines.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This repository contains the data and code for the paper "SideControl: Controlled Open-domain Dialogue Generation via Additive Side Networks" (EMNLP2021-Findings).

121PythonAug 30, 20215 years agoApache-2.0
open-domain-dialogtext-generationtransfer-learning

Similar Papers

Cite this paper

@article{du2021sidecontrol,
  title  = {SideControl: Controlled Open-domain Dialogue Generation via Additive Side Networks},
  author = {Wanyu Du and Yangfeng Ji},
  year   = {2021},
  eprint = {2109.01958},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.01958}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.01958.svg)](https://codeofpaper.com/paper/2109.01958)

Discussion