BlenderBot 3: a deployed conversational agent that continually learns to responsibly engage

Kurt Shuster, Jing Xu, Mojtaba Komeili, Da Ju, Eric Michael Smith, Stephen Roller, Megan Ung, Moya Chen, Kushal Arora, Joshua Lane, Morteza Behrooz, William Ngan, Spencer Poff, Naman Goyal, Arthur Szlam, Y-Lan Boureau, Melanie Kambadur, Jason WestonarXiv 2022 · DOI

Abstract

BlenderBot 3 (BB3) is a 175B parameter conversational agent designed to improve through continual learning from organic public interactions. Unlike traditional models trained on static datasets, BB3 utilizes a modular architecture that integrates real-time internet search and long-term memory. This paper details the deployment of BB3, its safety mechanisms like the DIRECTOR method, and its ability to learn from human feedback while remaining robust against adversarial "trolls."

Introduction

Most state-of-the-art dialogue models are trained on static, crowdsourced datasets. While effective for initial training, these datasets fail to reflect the diverse interests of organic users and often lead to models that become stale or prone to factual hallucinations. Furthermore, public deployment introduces the "troll problem": adversarial users who intentionally attempt to trick the AI into generating toxic content.

BlenderBot 3 addresses these challenges by combining a modular architecture with a robust feedback loop. By searching the internet for up-to-date information and remembering past interactions, BB3 aims to move beyond static lab datasets toward a model that evolves responsibly in the real world.

Architecture and Methods

BB3 is built on a modular transformer architecture, moving away from a monolithic "black box" approach. The system executes a sequence of tasks guided by special control codes. The 175B and 30B versions are initialized from OPT-175B, while a smaller 3B version utilizes the R2C2 encoder-decoder architecture.

The modular architecture of BlenderBot 3, showing the decision-making process for internet search and long-term memory access.

For every user input, the model follows a discrete pipeline: it decides whether to generate an internet search query, access its long-term memory store, or extract a relevant entity from the conversation history. This modularity makes the process more controllable and reduces factual errors. A key technical innovation is the DIRECTOR method, which employs parallel language model and classifier heads. The classifier "directs" the model away from undesirable sequences, such as toxicity or contradictions, by penalizing specific token probabilities during generation.

Continual Learning and Public Deployment

A core feature of BB3 is its ability to learn from human feedback in a live environment. The model was deployed via a public web interface where users provide thumbs up/down ratings and free-form corrections.

The BlenderBot 3 public interface, including the onboarding flow and the chat interface where users provide feedback.

To protect the model from malicious actors, the researchers implemented User-based robust learning. By analyzing a user's entire history of interactions, the system can more accurately filter out feedback from repeat "trolls" that would otherwise corrupt the learning process. This granular, modular feedback (e.g., identifying a specific bad search query) has proven more effective for model improvement than simple binary ratings of final responses.

Training and Datasets

The model leverages a massive collection of data for pre-training and fine-tuning. Pre-training involved ~180B tokens from sources like RoBERTa+cc100en and The Pile. Fine-tuning utilized over 20 tasks, including SQuAD and MS MARCO for knowledge, and PersonaChat for personality. Additionally, two new benchmarks were introduced: FITS (Feedback on Interactive Talk & Search) for learning from human corrections, and SAFETYMIX for testing troll detection capabilities.

Key Results

BB3-175B demonstrates significant improvements over its predecessors:

  • Performance: In human evaluations, BB3-175B showed a 31% increase in "Good Response" scores compared to BlenderBot 2.
  • Knowledgeability: The model achieved a "Knowledgeable" score of 46.4%, a substantial leap from the 14.7% recorded for BlenderBot 1.
  • Safety: During initial deployment, only 0.16% of BB3's utterances were flagged as inappropriate, validating the effectiveness of its safety classifiers.
  • Real-time Capabilities: In pairwise comparisons on current events, BB3 was rated as more "current" (82% vs 18%) and "specific" (76% vs 24%) than InstructGPT (text-davinci-002), largely due to its integrated search capabilities.

Discussion and Limitations

Despite its advancements, BB3 still faces challenges. It occasionally generates factual errors or non-sequiturs, particularly when search results are poorly formatted. Determined adversarial users can also find ways to bypass safety filters through complex prompts. Currently, the model is updated in large batches rather than real-time; moving toward more frequent, stable updates remains a primary goal for future research. Furthermore, the current deployment is limited to English-speaking adults in the United States.

Summary updated

BibTeX
@misc{shuster2022blenderbot,
  author = {Kurt Shuster and Jing Xu and Mojtaba Komeili and Da Ju and Eric Michael Smith and Stephen Roller and Megan Ung and Moya Chen and Kushal Arora and Joshua Lane and Morteza Behrooz and William Ngan and Spencer Poff and Naman Goyal and Arthur Szlam and Y-Lan Boureau and Melanie Kambadur and Jason Weston},
  title = {{BlenderBot 3: a deployed conversational agent that continually learns to responsibly engage}},
  year = {2022},
  eprint = {2208.03188},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.03188},
}
Figure