Pretrained language models (PLMs) are widely used by dialogue systems to generate high-quality responses. Adversarial samples can cause pretrained dialogue models to generate unexpected responses that influence the deployment of the system since malevolent responses can cause the breakdown of the dialogue. Exploring adversarial attacks is important to understand hidden risks and improve victim models. We propose the dialogue malevolence attack task and formulate it as a constrained Markov decision process. We also propose a two-stage reinforcement learning framework to find vulnerabilities of dialogue systems based on pretrained language models (PLMs). Experiments show that the proposed attack framework can effectively attack pretrained dialogue models with high-quality adversarial samples. Warning: this paper contains examples that may be offensive or upsetting.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Malevolence Attacks Against Pretrained Dialogue Models

  • Pengjie Ren,
  • Ruiqi Li,
  • Zhaochun Ren,
  • Zhumin Chen,
  • Maarten de Rijke,
  • Yangjun Zhang

摘要

Pretrained language models (PLMs) are widely used by dialogue systems to generate high-quality responses. Adversarial samples can cause pretrained dialogue models to generate unexpected responses that influence the deployment of the system since malevolent responses can cause the breakdown of the dialogue. Exploring adversarial attacks is important to understand hidden risks and improve victim models. We propose the dialogue malevolence attack task and formulate it as a constrained Markov decision process. We also propose a two-stage reinforcement learning framework to find vulnerabilities of dialogue systems based on pretrained language models (PLMs). Experiments show that the proposed attack framework can effectively attack pretrained dialogue models with high-quality adversarial samples. Warning: this paper contains examples that may be offensive or upsetting.