English

Chat as Expected: Learning to Manipulate Black-box Neural Dialogue Models

Computation and Language 2020-05-28 v1 Artificial Intelligence

Abstract

Recently, neural network based dialogue systems have become ubiquitous in our increasingly digitalized society. However, due to their inherent opaqueness, some recently raised concerns about using neural models are starting to be taken seriously. In fact, intentional or unintentional behaviors could lead to a dialogue system to generate inappropriate responses. Thus, in this paper, we investigate whether we can learn to craft input sentences that result in a black-box neural dialogue model being manipulated into having its outputs contain target words or match target sentences. We propose a reinforcement learning based model that can generate such desired inputs automatically. Extensive experiments on a popular well-trained state-of-the-art neural dialogue model show that our method can successfully seek out desired inputs that lead to the target outputs in a considerable portion of cases. Consequently, our work reveals the potential of neural dialogue models to be manipulated, which inspires and opens the door towards developing strategies to defend them.

Keywords

Cite

@article{arxiv.2005.13170,
  title  = {Chat as Expected: Learning to Manipulate Black-box Neural Dialogue Models},
  author = {Haochen Liu and Zhiwei Wang and Tyler Derr and Jiliang Tang},
  journal= {arXiv preprint arXiv:2005.13170},
  year   = {2020}
}

Comments

10 pages

R2 v1 2026-06-23T15:50:37.952Z