Introduction
Aligning Large Language Models (LLMs) to be helpful, harmless, and honest (HHH) typically follows the Reinforcement Learning from Human Feedback (RLHF) recipe. However, RLHF is notoriously data-hungry, requiring tens of thousands of human-ranked comparisons and demonstrations. To bypass this, many researchers use "distillation," where a smaller open-source model is trained on outputs from proprietary models like GPT-4. This creates a dependency on closed-source APIs and raises licensing concerns.
The ALMoST (Aligned Language Model with Synthetic Training dataset) framework addresses this by asking: Can we align a model using only "vanilla" (unaligned) open-source models and zero human feedback?
Methodology: The ALMoST Framework
The authors propose a three-step alignment framework that bootstraps performance from simple empirical priors.
1. Reward Modeling with Synthetic Feedback
Instead of humans ranking outputs, the researchers utilized a "Rule of Thumb": a response from a larger model (e.g., 30B parameters) with a better prompt is likely superior to a response from a smaller model (e.g., 7B) with a basic prompt. They generated 13k comparison pairs from different LLaMA versions and trained a Reward Model (RM) to recognize the "better" response. A key contribution here is the Post-Validation step, which uses heuristic filters (checking for length and specific keywords) to filter out noisy synthetic data.
2. Supervised Fine-Tuning (SFT) via Self-Play
To generate high-quality training demonstrations, the framework employs Reward-Model-guided Self-Play (RMSP). The system generates multiple responses to a prompt and uses the RM from Step 1 to pick the best one via rejection sampling. A LLaMA-7B model is then fine-tuned on these 20k high-quality synthetic examples.
3. Reinforcement Learning from Synthetic Feedback (RLSF)
Finally, Proximal Policy Optimization (PPO) is used to further optimize the model, using the synthetic RM as the judge to align the model's policy with the established quality priors.
Key Insights
- The Power of Priors: Simple empirical priors—assuming larger models and better prompts yield superior answers—are sufficient to bootstrap a functional reward model without human intervention.
- Prompting Beats Scaling: The authors found that a smaller model (7B) with a well-designed prompt could outperform a much larger model (30B) using a standard prompt, highlighting that alignment is heavily influenced by how queries are structured.
- Filtering is Essential: Synthetic data is inherently noisy. Without heuristic filtering, the Reward Model's performance dropped by approximately 10%.
Results and Evaluation
ALMoST-7B was evaluated against popular open-source models like Alpaca (trained on InstructGPT data) and Dolly-v2 (trained on human data) across HHH and TruthfulQA benchmarks.
In head-to-head A/B testing, human evaluators preferred ALMoST over Alpaca 55.0% of the time and over Dolly-v2 58.5% of the time. Despite using zero data from proprietary models like ChatGPT, ALMoST proved competitive with Vicuna-7B, demonstrating that synthetic feedback can effectively bridge the gap between open and closed models.
Conclusion
ALMoST demonstrates a viable path toward self-contained alignment for open-source LLMs. While the model faces a slight "alignment tax"—a performance dip on raw knowledge benchmarks like MMLU—it successfully achieves HHH alignment without human-labeled data. Future work will focus on refining the synthetic feedback loop to handle complex cultural contexts and multi-turn conversations more effectively.
Summary updated