Reproduce “Recipes for Safety in Open-domain Chatbots” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Jing Xu, Da Ju, Margaret Li, Y-Lan Boureau, Jason Weston, Emily Dinan
The authors introduce two methods for improving open-domain chatbot safety: Bot-Adversarial Dialogue (BAD), which trains a deployment-time safety classifier on human attempts to elicit unsafe bot replies, and baked-in safety, which replaces flagged training targets with safe replies. On a 180-dialogue adversarial test, BAD raises BST 2.7B’s OK rate from 55.0% to 94.4%, not guaranteeing safety.
Key insights
- Training safety classifiers with adversarially collected human-bot dialogue data (Bot-Adversarial Dialogue) significantly enhances robustness to adversarial probing.
- Integrating safety directly into the generative model's training process ('Baked-in Safety') can foster intrinsic safety and reduce unprompted toxicity, moving beyond external filtering layers.
- It is possible to build open-domain chatbots that are both highly engaging and exhibit substantially improved safety, challenging the notion of a strict trade-off.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.