OpenAssistant Conversations - Democratizing Large Language Model Alignment

Andreas Köpf, Yannic Kilcher, Dimitri von Rütte, Sotiris Anagnostidis, Zhi-Rui Tam, Keith Stevens, Abdullah Barhoum, Nguyen Minh Duc, Oliver Stanley, Richárd Nagyfi, Shahul Es, Sameer Suri, David Glushkov, Arnav Dantuluri, Andrew Maguire, Christoph Schuhmann, Huu Nguyen, Alexander Mattick · OpenReview

Abstract

Aligning large language models (LLMs) with human preferences has proven to drastically improve usability and has driven rapid adoption as demonstrated by ChatGPT. Alignment techniques such as supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF) greatly reduce the required skill and domain knowledge to effectively harness the capabilities of LLMs, increasing their accessibility and utility across various domains. However, state-of-the-art alignment techniques like RLHF rely on high-quality human feedback data, which is expensive to create and often remains proprietary. In an effort to democratize research on large-scale alignment, we release OpenAssistant Conversations, a human-generated, human-annotated assistant-style conversation corpus consisting of 161,443 messages distributed across 66,497 conversation trees, in 35 different languages, annotated with 461,292 quality ratings. The corpus is a product of a worldwide crowd-sourcing effort involving over 13,500 volunteers. To demonstrate the OpenAssistant Conversations dataset's effectiveness, we present OpenAssistant, the first fully open-source large-scale instruction-tuned model to be trained on human data. A preference study revealed that OpenAssistant replies are comparably preferred to GPT-3.5-turbo (ChatGPT) with a relative winrate of 48.3% vs. 51.7% respectively. We release our code and data under fully permissive licenses.

Introduction

While base large language models (LLMs) possess immense generative capabilities, they are often difficult for end-users to control and are prone to producing unhelpful or unsafe content. The industry standard for resolving this is "alignment"—specifically Reinforcement Learning from Human Feedback (RLHF). This process teaches models to follow instructions and adhere to human preferences, transforming a raw statistical model into a helpful assistant.

Despite its importance, high-quality human feedback data is prohibitively expensive to produce and typically remains a closely guarded trade secret of major industrial labs. This creates a "monopolization of access" that hinders the broader research community. The OpenAssistant project was launched to break this bottleneck by providing a massive, high-quality, human-generated corpus—OASST1—available to everyone under permissive licenses.

Methodology: The Conversation Tree

To collect this data, the researchers developed a custom web-based platform to coordinate over 13,500 global volunteers. Unlike traditional linear chat logs, OpenAssistant utilizes a Conversation Tree (CT) structure. This allows a single prompt to branch into multiple different assistant responses, which can then be followed by further user prompts, capturing a rich variety of interaction paths.

The data collection followed a rigorous five-step pipeline:

  1. Prompting: A user initiates a conversation with a question or task.
  2. Labeling Prompts: Other users classify the prompt by language and quality (e.g., identifying spam).
  3. Adding Replies: Volunteers act as either the "Prompter" or the "Assistant" to extend the branches of the tree.
  4. Labeling Replies: Users rate individual responses based on dimensions like politeness, harmlessness, and helpfulness.
  5. Ranking: Users are presented with multiple assistant responses to the same prompt and must rank them from best to worst.

To synthesize these rankings into a coherent preference signal, the team employed Tideman’s Method (Ranked Pairs). This voting system ensures a consensus preference list while avoiding logical cycles (e.g., ensuring that if A is preferred to B, and B to C, the system does not conclude C is preferred to A).

The OASST1 Dataset

The resulting OASST1 dataset is a landmark contribution to open-source AI. It contains 161,443 messages across 35 languages, resulting in over 10,000 fully annotated conversation trees.

A unique aspect of the dataset is its linguistic diversity. While many datasets are English-centric, OASST1 features a massive, high-quality Spanish subset. This was driven largely by community engagement from prominent Spanish-speaking tech influencers, making OASST1 one of the premier resources for non-English alignment research.

Experimental Results

To validate the utility of OASST1, the authors fine-tuned several open-source base models, including Pythia, LLaMA, and Falcon.

Model Performance

The Falcon-40B-SFT-Mix model, trained on this data, achieved a Vicuna Elo score of 1053, significantly outperforming its base version and approaching the performance of proprietary models. Furthermore, a preference study showed that OpenAssistant’s responses were nearly as popular as those from GPT-3.5-turbo, with a relative win rate of 48.3%.

RLHF and Safety

The researchers found that models fine-tuned using RLHF on the OASST1 ranking data showed measurable improvements in "human-sounding" quality over simple Supervised Fine-Tuning (SFT). Additionally, the manual moderation process proved highly effective; using the "Detoxify" automated tool, the authors confirmed that messages flagged and deleted by human moderators were significantly more toxic across all categories (obscene, threat, insult) than those retained in the final dataset.

Discussion and Limitations

While OpenAssistant represents a major step toward democratizing AI, the authors acknowledge several limitations:

  • Demographic Bias: The volunteer pool was not representative of the global population, with approximately 89% of contributors identifying as male and a median age of 26. This likely introduces specific cultural biases into the model's definition of "helpfulness."
  • The SFT-RLHF Gap: The performance jump from SFT to RLHF was smaller than anticipated. The authors suggest that more precise criteria for ranking data may be required to fully leverage reinforcement learning.
  • Safety: No moderation system is perfect. The authors caution that the dataset may still contain residual unsafe content and recommend its use primarily for research purposes.

Conclusion

OpenAssistant Conversations (OASST1) is the first massive, multi-lingual, and entirely open-source dataset of human-annotated conversations. By proving that a decentralized community can rival professional annotation teams, the project provides the necessary tools for the global research community to study, improve, and implement LLM alignment without relying on proprietary data.

Summary updated

Abstract

Aligning large language models (LLMs) with human preferences has proven to drastically improve usability and has driven rapid adoption as demonstrated by ChatGPT. Alignment techniques such as supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF) greatly reduce the required skill and domain knowledge to effectively harness the capabilities of LLMs, increasing their accessibility and utility across various domains. However, state-of-the-art alignment techniques like RLHF rely on high-quality human feedback data, which is expensive to create and often remains proprietary. In an effort to democratize research on large-scale alignment, we release OpenAssistant Conversations, a human-generated, human-annotated assistant-style conversation corpus consisting of 161,443 messages distributed across 66,497 conversation trees, in 35 different languages, annotated with 461,292 quality ratings. The corpus is a product of a worldwide crowd-sourcing effort involving over 13,500 volunteers. To demonstrate the OpenAssistant Conversations dataset's effectiveness, we present OpenAssistant, the first fully open-source large-scale instruction-tuned model to be trained on human data. A preference study revealed that OpenAssistant replies are comparably preferred to GPT-3.5-turbo (ChatGPT) with a relative winrate of 48.3% vs. 51.7% respectively. We release our code and data under fully permissive licenses.
BibTeX
@inproceedings{kopf2023openassistant,
  author = {Andreas Köpf and Yannic Kilcher and Dimitri von Rütte and Sotiris Anagnostidis and Zhi-Rui Tam and Keith Stevens and Abdullah Barhoum and Nguyen Minh Duc and Oliver Stanley and Richárd Nagyfi and Shahul ES and Sameer Suri and David Glushkov and Arnav Dantuluri and Andrew Maguire and Christoph Schuhmann and Huu Nguyen and Alexander Mattick},
  title = {{OpenAssistant Conversations - Democratizing Large Language Model Alignment}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=VSJotgbPHF},
}
Figure