Improving Open Language Models by Learning from Organic Interactions

Jing Xu, Da Ju, Joshua Lane, Mojtaba Komeili, Eric Michael Smith, Megan Ung, Morteza Behrooz, William Ngan, Rashel Moritz, Sainbayar Sukhbaatar, Y-Lan Boureau, Jason Weston, Kurt ShusterarXiv 2023 · DOI

Abstract

Most large language models (LLMs) are fine-tuned on curated data from crowdworkers, which often fails to capture the unpredictability of real-world "organic" interactions. We present BlenderBot 3x, an upgraded conversational agent trained on a newly released dataset of 6.2 million utterances collected from live deployments. By employing a novel "Cringe Loss" and iterative training with denoised reward models, we significantly improve the model’s engagingness and safety. Our results show that learning from noisy, real-world data is not only viable but essential for robust performance in adversarial environments.

Introduction

The development of conversational AI typically relies on high-quality, instruction-following data generated in laboratory settings. However, once deployed, these models face a significant distribution shift. Real users are diverse: some are helpful, while others are adversarial ("trolls") or simply unpredictable. Learning from this "organic" data is challenging due to its inherent noise and the risk of the model adopting toxic behaviors. BlenderBot 3x addresses this by distinguishing between constructive feedback and malicious attempts to subvert the model.

Methodology

The transition from BlenderBot 3 to 3x involved several key technical innovations designed to leverage noisy interaction data.

Reward Modeling and Denoising

The researchers trained a binary classifier to distinguish "good" from "bad" responses. To mitigate the influence of adversarial users who provide misleading feedback, they implemented a user-based denoising technique. By cross-validating feedback against the model's own predictions, they identified and removed data from users whose annotations were consistently inconsistent.

Cringe Loss

While standard Maximum Likelihood Estimation (MLE) focuses on what the model should say, Cringe Loss explicitly teaches the model what not to say. When a response is flagged as negative, the model is trained to decrease the probability of those specific tokens while contrasting them against positive alternatives.

The Cringe Loss mechanism: contrasting negative tokens with positive alternatives during training.

Baked-in Safety and Iterative Training

Safety was integrated directly into the model weights rather than relying solely on external filters. Unsafe turns were replaced with context-aware canned responses during training. This process was performed iteratively over three cycles, with each iteration using the previous model to generate and label new data.

Data Collection and Dataset

The primary training signal came from the BlenderBot 3 deployment, resulting in a massive collection of over 353,000 conversations.

User interface for collecting organic feedback and detailed reasons for negative ratings.

The dataset includes:

  • 6.2 Million Utterances: Real-world conversational data.
  • 155,000 Feedback Instances: Organic thumbs up/down reactions.
  • Expert Annotations: 23,000 messages annotated by professionals to serve as a gold standard for reward model training.

Analysis of this data revealed a "70/30 Rule": approximately 70% of users engage in standard helpful conversations, while 30% are adversarial, highlighting the necessity of robust denoising.

Results and Key Insights

BlenderBot 3x demonstrated substantial improvements across multiple metrics:

  • Quality Improvement: Crowdworker ratings for "Good" responses increased from 85.3% to 94.4%.
  • Safety Gains: In adversarial scenarios, safety accuracy reached nearly 100% in controlled tests.
  • Model Preference: Human evaluators significantly preferred the 175B parameter BlenderBot 3x over its predecessor.
  • Comparison to Llama: Despite having fewer parameters in some tests, the specialized training allowed BlenderBot 3x to outperform fine-tuned Llama 30B and 65B models on dialogue tasks.

Conclusion and Future Work

Learning from organic interactions proves to be a viable path for improving open language models. While feedback is often sparse (occurring in only ~19% of conversations), the signal is strong enough to drive significant gains when combined with denoising and iterative refinement. Future research will focus on utilizing more complex feedback types, such as free-form text, to further bridge the gap between AI and human-like conversational competence.

Summary updated

BibTeX
@misc{xu2023improving,
  author = {Jing Xu and Da Ju and Joshua Lane and Mojtaba Komeili and Eric Michael Smith and Megan Ung and Morteza Behrooz and William Ngan and Rashel Moritz and Sainbayar Sukhbaatar and Y-Lan Boureau and Jason Weston and Kurt Shuster},
  title = {{Improving Open Language Models by Learning from Organic Interactions}},
  year = {2023},
  eprint = {2306.04707},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.04707},
}
Figure