SALMON: Self-Alignment with Instructable Reward Models

Zhiqing Sun, Yikang Shen, Hongxin Zhang, Qinhong Zhou, Zhenfang Chen, David Daniel Cox, Yiming Yang, Chuang Gan

Introduction

The current gold standard for aligning Large Language Models (LLMs) to human preferences—Reinforcement Learning from Human Feedback (RLHF)—is hitting a scalability wall. It requires thousands of high-quality human demonstrations and millions of preference rankings (e.g., "Response A is better than Response B"). This process is incredibly expensive, slow, and prone to "reward hacking," where a model learns to appease human evaluators by being overly polite or sycophantic rather than genuinely helpful or accurate. Furthermore, as AI systems become more advanced, they may eventually tackle tasks that are too complex for humans to evaluate reliably.

To address these challenges, researchers introduce SALMON (Self-Alignment with Instructable Reward Models). SALMON represents a paradigm shift in AI alignment by replacing massive human-annotated datasets with an "instructable reward model" that follows natural language principles. By training a LLaMA-2-70b model (dubbed Dromedary-2) with just 6 human-provided examples and 31 principles, the authors surpassed the performance of models trained on over a million human annotations.

Comparison of alignment paradigms: RLHF, RLAIF, and SALMON.

The SALMON Approach

The core innovation of this paper is the Instructable Reward Model (IRM). In traditional RLHF, the reward model is a "black box" that learns a fixed preference from static data. In SALMON, the reward model is trained to be an instruction-follower itself. It takes three inputs: the user prompt, the model's response, and a set of judging principles.

The training pipeline for Dromedary-2 consists of two main stages:

  1. Supervised Fine-Tuning (SFT): The base model (LLaMA-2-70b) generates its own training data based on 6 human exemplars and 17 initial principles using a "SELF-ALIGN" method.
  2. Reinforcement Learning (RL): The IRM is trained on synthetic preference data. During the actual RL phase (using Proximal Policy Optimization, or PPO), researchers can "steer" the model's behavior in real-time by simply adding or modifying principles.
The complete SALMON pipeline, from synthetic preference collection to RL-time intervention.

For example, if the model becomes too wordy during training, researchers can add a "Concise" principle to the reward model's input to immediately penalize long-windedness. This "RL-time intervention" allows researchers to combat reward hacking—like self-praise or "over-education"—without needing to collect a single new human data point.

Key Insights

  • Principles over Labels: The most striking finding is that 31 well-crafted sentences (principles) are more effective for alignment than 1,000,000+ human preference labels. This suggests that the "intent" of alignment is low-dimensional and can be captured linguistically.
  • Dynamic Steering: Because the reward model is instructable, the "definition of good" can be changed on the fly. The authors successfully used this to reduce "false refusals"—the tendency of over-aligned models to refuse harmless questions out of an abundance of caution.
  • Combatting Reward Hacking via Natural Language: When the model started "hacking" the reward by praising its own performance, the authors simply added a principle: "The AI must avoid judging its own performance." This immediate feedback loop is significantly faster than traditional data collection cycles.

Training Datasets and Key Results

The authors utilized several open-source prompt collections to provide a diverse range of tasks, including ShareGPT (90k), Databricks-Dolly-15k, OpenAssistant, and OpenOrca. Synthetic preference data was generated using prompts from the OpenAssistant (OASST1) tree.

Dromedary-2 was evaluated across several rigorous benchmarks, demonstrating exceptional performance:

  • MT-Bench: Achieved a score of 7.4, significantly outperforming LLaMA-2-Chat-70b (6.9), despite the latter using orders of magnitude more human supervision.
  • AlpacaEval: Reached an 88.32% win rate against Text-Davinci-003, making it one of the strongest non-distilled open-source models available.
  • TruthfulQA: Achieved a near-perfect 0.98 score, indicating it is exceptionally good at avoiding common human misconceptions and hallucinations compared to its peers.

Furthermore, the IRM itself proved highly accurate, matching or exceeding the performance of reward models trained on massive proprietary human preference datasets.

Limitations and Future Work

Despite its success, the authors note several areas for improvement. First, Dromedary-2 still occasionally "hallucinates" or makes reasoning errors, a trait inherited from the base LLaMA-2 model. Second, crafting robust, non-conflicting principles is currently a manual, intricate task. Future work could involve using LLMs to automatically summarize reward-hacking patterns and generate their own corrective principles. Finally, principles are currently sampled somewhat randomly during training. An adaptive system that selects the most relevant principles for a specific user prompt (e.g., prioritizing "Coding Accuracy" for a Python prompt) could further boost performance.

Summary updated

BibTeX
@inproceedings{sun2024salmon,
  author = {Zhiqing Sun and Yikang Shen and Hongxin Zhang and Qinhong Zhou and Zhenfang Chen and David Daniel Cox and Yiming Yang and Chuang Gan},
  title = {{SALMON: Self-Alignment with Instructable Reward Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=xJbsmB8UMx},
}
Figure