Constructing highly inducing dialogue safety contexts through controllable reverse generationConstructing Highly Inductive Contexts for Dialogue Safety through Controllable Reverse Generation
AI summary
The authors propose a reverse generation method that constructs adversarial contexts conditioned on a given response, and build the BAD+ dataset containing 12 categories and more than 120,000 highly inducing contexts, to expose safety issues in dialogue models. The method can control the category, toxicity and inducingness of generated contexts, and expands the original BAD dataset. The authors test on Blender, DialoGPT and Plato2, and state that BAD+ can expose the safety issues of these models to a large extent, can also improve generation safety, and reveals key factors in safety improvement. The code and dataset are publicly available at https://github.com/thu-coai/Reverse_Generation。