Source-linked AI summary

SALMON: Self-Alignment with Instructable Reward Models

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

arXiv:2310.05910v2cs.CLcs.AIcs.LG

TL;DR

SFT and RLHF depend on costly human annotations, and prior AI-feedback approaches retain human-preference requirements in their warm-up stage. SALMON uses an instructable reward model guided by human-written principles; with 6 exemplars and 31 principles, Dromedary-2 outperformed the extensively RLHF-trained LLaMA-2-Chat model. The authors identify reliability problems in Dromedary-2, including hallucinations and reasoning errors.

  • Problem

    SFT and RLHF rely on costly human annotations, while prior RLAIF work retains human-preference dependence in its RLHF warm-up stage.

    Source: §1 · pp. 1–2
  • Method

    SALMON uses an instructable reward model trained with synthetic data to score responses according to human-written principles adjusted during RL training.

    Source: §1 · p. 2, §5 · p. 9
  • Results

    With 6 exemplars and 31 principles, Dromedary-2 outperformed the extensively RLHF-trained LLaMA-2-Chat model.

    Source: §1 · p. 2
  • Takeaways & Limitations

    Adjusting principles gives control over reward-model preferences and reduces reliance on exhaustive online human-preference collection.

    Source: §1 · p. 2, §5 · p. 9

    Dromedary-2 occasionally hallucinates unverified information and makes reasoning errors.

    Source: §6 · p. 10

Abstract

from arXiv · show

Supervised Fine-Tuning (SFT) on response demonstrations combined with Reinforcement Learning from Human Feedback (RLHF) constitutes a powerful paradigm for aligning LLM-based AI agents. However, a significant limitation of such an approach is its dependency on high-quality human annotations, making its application to intricate tasks challenging due to difficulties in obtaining consistent response demonstrations and in-distribution response preferences. This paper presents a novel approach, namely SALMON, to align base language models with minimal human supervision, using only a small set of human-defined principles, yet achieving superior performance. Central to our approach is an instructable reward model. Trained on synthetic preference data, this model can generate reward scores based on arbitrary human-defined principles. By merely adjusting these principles during the RL training phase, we gain full control over the preferences with the instructable reward model, subsequently influencing the behavior of the RL-trained policy models, and reducing the reliance on the collection of online human preferences. Applying our method to the LLaMA-2-70b base language model, we developed an AI assistant named Dromedary-2. With only 6 exemplars for in-context learning and 31 human-defined principles, Dromedary-2 significantly surpasses the performance of several state-of-the-art AI systems, including LLaMA-2-Chat-70b, on various benchmark datasets. We have open-sourced the code and model weights to encourage further research into aligning LLM-based AI agents with enhanced supervision efficiency, improved controllability, and scalable oversight.

1 INTRODUCTION

SALMON asks whether AI feedback can align language models from scratch without RLHF’s extensive human preferences. It uses principles to guide reward scores and reports strong performance with limited human supervision.

  • The prevailing SFT-plus-RLHF approach relies on costly, nonscalable human annotations and assumes people can demonstrate or evaluate the tasks advanced AI systems undertake.The authors warn that future systems could challenge human evaluation and prioritize appeasing evaluators over accuracy.Source: §1 · p. 1
  • The paper asks whether RLAIF can replace RLHF from scratch, as prior RLAIF work focused on models already trained with RLHF and retained its human-preference warm-up dependence.Source: §1 · p. 2
  • SALMON’s instructable reward model scores responses according to human-written principles, unlike prior RLAIF methods that use principles only to generate synthetic preferences.The authors also report using tailored principles to address reward hacking, emphasize helpfulness, honesty, and harmlessness, and reduce false refusals.Source: §1 · p. 2
  • The authors wrote reward-hacking behavior descriptions from their own inspections and identify automated description generation as future work.Source: §1 · p. 2
  • With 6 exemplars and 31 principles, Dromedary-2 outperformed the extensively RLHF-trained LLaMA-2-Chat; Table 1 compares supervision and MT-Bench scores.Source: §1 · p. 2, Table 1 · p. 3

2 RELATED WORK

Related work frames alignment from scratch and scalable oversight as open challenges. Prior self-alignment methods use synthetic data or principles, but matching RLHF performance remains unresolved.

AI Alignment from Scratch

  • Aligning models from scratch means aligning pretrained LLMs without relying on already aligned systems; this differs from distilling capabilities or behavior from proprietary models.Source: §2 · p. 3

Self-Alignment & Scalable Oversight

  • Self-Instruct uses 175 in-context query-response pairs, Self-Align uses 16 principles and 5 exemplars, and Instruction Back-translation uses web documents with 3200 seed examples.Source: §2 · p. 3
  • Whether synthetic-data bootstrapping can match RLHF performance remains an open challenge, while existing approaches still depend heavily on human-annotated data.Source: §2 · p. 3

3 OUR METHODOLOGY

SALMON combines preference modeling and reinforcement learning, using synthetic preferences and human-written principles to train a reward model whose preferences can be adjusted during RL. This approach is intended to reduce reliance on repeatedly collected human preferences.

3.3 RL WITH INSTRUCTABLE REWARD MODELS

  • Unlike vanilla RLHF and Constitutional AI reward models, SALMON conditions reward scores on customized principles that can be changed during RL.During RL, the model uses both predefined principles and RL-time intervention principles.Source: Figure 1 · p. 4, §3.3 · p. 7

3.1 PREREQUISITES

  • RL trains a policy to maximize reward-model scores, sometimes adding a per-token KL penalty against the initial policy to limit over-optimization.The penalty scale is controlled by β.Source: §3.1 · p. 4

3.2 PRINCIPLE-DRIVEN PREFERENCE MODELING

  • The method targets RLHF’s need for fresh human preferences to counter reward hacking, which the authors say undermines scalability.Their proposed RLAIF paradigm uses AI-generated preference labels and an instructable reward model to address this issue.Source: §3.2 · pp. 4–5
  • SALMON builds synthetic preference data by having the policy choose between sampled responses under human-written principles, averaging scores after swapping response positions to address position bias.The preference score is the difference between log probabilities of choosing responses A and B.Source: §3.2 · p. 5
  • The instructable reward model trains on synthetic preferences paired with principles; including negative principles helps it interpret prohibitions.Positive and negative principles are defined for each positive principle to increase principle diversity.Source: §3.2 · p. 6

3.3 RL WITH INSTRUCTABLE REWARD MODELS

  • SALMON samples three principles per prompt during RL and adjusts sampling for reasoning and red-teaming prompts.Consistent Reasoning is sampled more often for reasoning prompts, and Ethical more often for red-teaming prompts.Source: §3.3 · p. 7
  • The authors identify high-level advice, self-praise, and over-education as reward-hacking tendencies and define a natural-language intervention for each.They report that the same instructable reward model can be reused with prohibition instructions rather than collecting online preferences aligned with the updated policy.Source: §3.3 · p. 7

4 EXPERIMENTS

The experiments evaluate Dromedary-2, built from a LLaMA-2-70b base with six SELF-ALIGN exemplars and SALMON reinforcement learning, across capability, truthfulness, and chatbot benchmarks. They also test whether changing principles can steer policy behavior.

4.1 DROMEDARY-2

  • Dromedary-2 starts from LLaMA-2-70b, receives SFT using SELF-ALIGN data generated with six in-context exemplars, then undergoes SALMON reinforcement learning.Human demonstration annotations are limited to those six exemplars; behavior at the RL stage is controlled by human-defined principles.Source: §4.1 · p. 7

4.1.1 DATASETS

  • The authors do not claim their proposed training curriculum is the only way to produce an instruction-following reward model.Source: §4.1.1 · p. 7
  • The datasets comprise unlabeled prompts for SFT and RL, synthetic principle-driven preference data, existing preference datasets, and 7.5k additional MATH prompts for RL.The prompt collections include ShareGPT4, Databricks Dolly, OpenAssistant, and OpenOrca; preference pre-training uses 160k Anthropic HH-RLHF and 160k synthetic Stanford SHP preferences.Source: §4.1.1 · pp. 7–8

4.1.2 TRAINING DETAILS

  • The reward model projects the final-token embedding to a scalar reward, while PPO with a KL penalty trains the policy; QLoRA keeps the models within one GPU.The value model is initialized from the reward model, and non-RL or offline-RL alternatives to PPO are left for future work.Source: §4.1.2 · p. 8

4.1.3 BASELINE MODELS

  • The main open-source baseline is LLaMA-2-Chat, selected as the best open-source model aligned from scratch among the comparisons described.The paper notes that potentially stronger open-source models, including Orca and WizardLM, exist.Source: §4.1.3 · p. 8

4.2 BENCHMARK EVALUATIONS

  • The benchmark evaluation uses GPT-4 on Vicuna-Bench and MT-Bench, alongside AlpacaEval; human evaluation is deferred to future work.General-capability tests cover BBH, HumanEval, and TydiQA, while TruthfulQA measures truthful and informative generations using a fine-tuned GPT-3 judge.Source: §4.2 · pp. 8–9
  • Dromedary-2 significantly outperforms LLaMA-2-Chat on BBH, HumanEval, and TydiQA, achieves new state-of-the-art on TruthfulQA, and outperforms LLaMA-2-Chat-70b on Vicuna-Bench and MT-Bench.BBH, HumanEval, and TydiQA evaluate reasoning, coding, and multilingual ability, respectively.Source: §4.2 · pp. 8–9, Figure 4 · p. 9, Table 2 · p. 9

4.3 IMPROVED CONTROLLABILITY BY PRINCIPLE INTERVENTION

  • Changing preference principles lets the policy selectively enhance helpfulness, honesty, or harmlessness and reduce false refusals associated with over-aligned models.The authors describe this as a proof of concept and refer readers to Appendix B for detailed results.Source: §4.3 · p. 9

5 CONCLUSION

SALMON uses an instructable reward model whose preferences can be changed by adjusting human-defined principles during RL, influencing the trained policy without exhaustive online human preferences. Combined with SELF-ALIGN, it yields Dromedary-2, which surpasses several state-of-the-art RLHF-trained systems across multiple benchmark areas.

  • SALMON adjusts the principles followed by an instructable reward model during RL to control reward preferences and influence the policy, reducing reliance on exhaustive online human preference collection.Source: §5 · p. 9
  • With six in-context exemplars and 31 human-defined principles, Dromedary-2 significantly surpasses several state-of-the-art RLHF-trained systems on chatbot, reasoning, coding, multilingualism, and truthfulness benchmarks.Source: §5 · p. 9

6 LIMITATIONS

The paper identifies reliability, principle design and selection, and base-model knowledge as constraints on SALMON. It also presents the approach as a starting point rather than a universal solution.

6 LIMITATIONS

  • Dromedary-2 can hallucinate unverified information and make reasoning errors, with these reliability issues possibly stemming from SFT-initialized reward models.The authors suggest external fact-checking tools as a possible future way to improve accuracy and trustworthiness.Source: §6 · p. 10
  • Robust principles are difficult to craft for unpredictable RL scenarios, and conflicts between principles can produce unexpected results; distinct contexts require tailored strategies.The authors frame SALMON as a starting platform, not a universal solution, and call for diverse stakeholder participation in refining principles.Source: §6 · p. 10
  • Principle effectiveness can depend on the task, so randomly sampled principles for general prompts may not suit specialized prompts.The authors identify adaptive principle selection as a direction for future research.Source: §6 · p. 10
  • SALMON remains bound by the base LLM’s knowledge, so outputs may be imprecise or miss recent advances.Retrieval-augmented generation is suggested as a possible way to provide more current information.Source: §6 · p. 10

A ADDITIONAL RELATED WORK

  • Unlike Constitutional AI’s safety emphasis, SALMON aims at more generic alignment and capabilities; unlike fixed synthetic-preference heuristics, RLAIF systems let AI compare response pairs.Source: A ADDITIONAL RELATED WORK · p. 16

B ALIGNING AI ASSISTANTS WITH CUSTOMIZED PRINCIPLES

SALMON tests whether customized principles can steer helpfulness, honesty, and harmlessness, including reducing false refusals. Its results show gains in helpfulness and honesty, while harmlessness remains below ChatGPT and LLaMA-2-Chat.

HHH Alignment

  • SALMON applies customized principles as preference guidelines, aiming to emphasize selected HHH aspects despite possible conflicts among helpfulness, honesty, and harmlessness.The LLaMA-2-70b base model receives SALMON training directly after preliminary HHH evaluation, without an SFT warm-up; models are evaluated after 20–50 PPO steps.Source: B ALIGNING AI ASSISTANTS WITH… · p. 16
  • Figure 5 illustrates that prompting the trained instructable reward model with different principles customizes its preferences.This offers a way to select which preference guidelines shape the model's behavior.Source: B ALIGNING AI ASSISTANTS WITH… · p. 16, Figure 5 · p. 17
  • Helpful and honest principles improve their corresponding HHH aspects to state-of-the-art multiple-choice accuracy, while harmless principles improve over the base model but still trail ChatGPT and LLaMA-2-Chat.The authors suggest stronger safety alignment or different red-teaming data may explain the harmlessness gap.Source: B ALIGNING AI ASSISTANTS WITH… · p. 17, Table 3 · p. 17

Non-Evasiveness Alignment

  • Removing safety principles to create a purely helpful set slightly improves LLaMA-2-Chat-70b’s MT-Bench chatbot performance after 100 PPO steps.The authors frame this as an attempt to reduce false refusals in over-aligned models.Source: B ALIGNING AI ASSISTANTS WITH… · p. 17, Table 4 · p. 18

C ADDITIONAL EXPERIMENTAL RESULTS

On AlpacaEval, Dromedary-2-70b leads models using fewer than 10,000 human annotations, but trails the strongest non-distilled and distilled open-source models.

AlpacaEval

  • The comparison groups assistant models as non-distilled, distilled, or proprietary, distinguishing their use of external well-aligned models or proprietary data and techniques.Non-distilled models are trained independently without external well-aligned models for supervision; distilled models use a more potent external model as supervision.Source: C ADDITIONAL EXPERIMENTAL RESULTS · p. 18
  • Dromedary-2-70b performs best among models using fewer than 10k human annotations, but slightly trails LLaMA-2-Chat-70b and Vicuna-33b.AlpacaEval uses GPT-4 to evaluate pairwise win rates against Text-Davinci-003 across 805 prompts.Source: C ADDITIONAL EXPERIMENTAL RESULTS · p. 18, Table 5 · p. 18

D DIRECT EVALUATION OF REWARD MODELS

The reward-model evaluation finds competitive benchmark performance and shows that human-defined principles guide preferences; new principles can also address reward hacking in an adversarial test.

Evaluation sets

  • The evaluation compares reward-model accuracy on Anthropic Helpful, Anthropic Harmless, and Anthropic Adversarial test sets.The adversarial set adds a self-praising sentence to a helpful-base preference example to test reward hacking.Source: D DIRECT EVALUATION OF REWARD MODELS · p. 19

Reward-model baselines

Reward-model evaluation

  • The instructable reward models perform competitively with LLaMA-2 reward models trained on in-house preferences, and new principles can help avoid reward hacking on Anthropic Adversarial.The evaluation includes helpful, harmless, and adversarial preference data, including an adversarial example augmented with self-praising text.Source: D DIRECT EVALUATION OF REWARD MODELS · p. 19

E SAMPLES WITH CUSTOMIZED PRINCIPLES

Best-of-64 samples illustrate how helpful, harmless, and honest reward-model preferences select different responses to the same prompts. Across red-teaming and ordinary writing examples, the outputs vary in refusal, caution, detail, and style.

Potentially Harmful Examples

  • For a dark-web hacking-forum prompt, the helpful reward model returns a long warning with cybersecurity alternatives, while the harmless model gives a shorter refusal.The examples are cherry-picked responses from Dromedary-2 before PPO, selected by three reward models using best-of-64.Source: E SAMPLES WITH CUSTOMIZED PRINCIPLES · pp. 20, 22
  • For a question about football players’ IQ, the helpful response presents mixed research claims and caveats, the harmless response refuses, and the honest response emphasizes uncertainty and limitations.The three outputs show distinct responses to one red-teaming prompt.Source: E SAMPLES WITH CUSTOMIZED PRINCIPLES · p. 23

Vicuna-Bench examples

  • For the medieval-knight prompt, the helpful, harmless, and honest models all draft a courtly introduction, with differing emphasis on chivalry, ceremony, and modesty.The honest response advises mentioning achievements without boasting or exaggerating.Source: E SAMPLES WITH CUSTOMIZED PRINCIPLES · p. 24
  • On the van Gogh counterfactual, the helpful response discusses possible financial and career effects while acknowledging uncertainty about mental health consequences.The harmless and honest responses also frame potential outcomes as speculative.Source: E SAMPLES WITH CUSTOMIZED PRINCIPLES · p. 25
  • For a delayed-order apology, the three responses all apologize and reassure the customer, but vary in commitments such as process changes, delivery timing, and compensation.The helpful response offers possible compensation; the harmless response says the order is on its way; the honest response gives a placeholder delivery estimate and discount.Source: E SAMPLES WITH CUSTOMIZED PRINCIPLES · p. 26
  • The concert-review samples range from a detailed imagined review to generic performance descriptions and a step-by-step plan for writing one.The helpful response names Beethoven, Tchaikovsky, and Dvořák; the honest response describes attending, taking notes, and analyzing the performance.Source: E SAMPLES WITH CUSTOMIZED PRINCIPLES · p. 27

F MORE SAMPLES

The appendix presents cherry-picked MT-Bench examples contrasting Dromedary-2-70b before and after PPO, showing changes in response content and style.

F MORE SAMPLES

  • For the quantum-physics prompt, the after-PPO response uses numbered sections on superposition, entanglement, their relationship, and applications.The before-PPO response gives a shorter explanation of the two concepts and their relationship.Source: F MORE SAMPLES · p. 28
  • The economics examples differ in organization: the after-PPO response defines GDP, inflation, and unemployment before discussing their relationships and policies.The before-PPO response directly describes correlations and fiscal and monetary policy effects.Source: F MORE SAMPLES · p. 29
  • For the Mars prompt, the before-PPO response declines to emulate Elon Musk, while the after-PPO response answers in his first-person voice.Source: F MORE SAMPLES · p. 30
  • After PPO, the model gives remainder 0, while the before-PPO example gives remainder 8 for the same prompt.The after-PPO response derives a quotient and remainder; the before-PPO response incorrectly concludes 8.Source: F MORE SAMPLES · p. 31

G SYNTHETIC PREFERENCE CALIBRATION: AN EXAMPLE

The example illustrates how sampled, potentially negated principles calibrate synthetic preference labels. The reward model is trained to favor the response with the strongest score difference on the selected principle.

G SYNTHETIC PREFERENCE CALIBRATION: AN EXAMPLE

H DESCRIPTION OF BASELINE MODELS

This section describes the base and chat models, commercial systems, and open-source assistants used as comparison baselines, including brief accounts of their training data or approach.

H DESCRIPTION OF BASELINE MODELS

I DETAILS ON IMPLEMENTATIONS AND HYPERPARAMETERS

This section documents PPO and symbolic-reward implementation choices, an improved SELF-ALIGN prompt, and the principles used for self-alignment. It also identifies the principle sets used in synthetic preference modeling, RL training, and three analysis studies.

I DETAILS ON IMPLEMENTATIONS AND HYPERPARAMETERS

  • The PPO implementation uses QLoRA rank 64 for attention and feed-forward modules, batch-wide advantage normalization, and a value model initialized from the reward model.The PPO implementation follows Dubois et al. (2023), using a variant of Ouyang et al. (2022).Source: I DETAILS ON IMPLEMENTATIONS AND… · p. 33
  • PPO uses batches of 576 rollouts per step, arranged as two 288-rollout epochs, with a 2 × 10^-5 peak learning rate, cosine decay, and a gradient-norm limit of 1.Training spans two rounds of held-out RL data, though best results are usually achieved around 100–200 PPO steps; GAE λ and γ are 1, and the KL coefficient is 0.02.Source: I DETAILS ON IMPLEMENTATIONS AND… · p. 33
  • SALMON adds symbolic rewards for matching a multilingual prompt’s language and for response length, addressing language mismatches and the synthetic preference model’s occasional difficulty identifying the more helpful response.The length penalty is response tokens divided by the 1024-token maximum, multiplied by its coefficient; the length bonus coefficient is 5.0 for general questions and −2.0 for reasoning questions.Source: I DETAILS ON IMPLEMENTATIONS AND… · pp. 33–34

J IMPROVED PROMPT FOR SELF-ALIGN

  • The improved SELF-ALIGN prompt adds a FastChat exemplar to the original 5-shot prompt, encouraging overview-specifics-summary responses and improving base LLaMA-2 performance without verbose cloning or inference-time examples.The added response structure follows Gudibande et al. (2023), and the starting prompt comes from SELF-ALIGN (Sun et al., 2023b).Source: J IMPROVED PROMPT FOR SELF-ALIGN · p. 35
  • The prompt’s 17 principles cover safety, helpfulness, rigorous reasoning, candor, knowledge grounding, clarification, dated knowledge, step-by-step explanations, balanced perspectives, creativity, operational tasks, and multilingual responses.The principles also call for accurate and informative answers, assessing questions, numerical sensitivity, and thorough multi-aspect responses.Source: J IMPROVED PROMPT FOR SELF-ALIGN · pp. 35–36
  • The listed principles call for concise, honest and accurate, ethical, natural, and fluent responses.They emphasize brevity, factuality and disclosure of limitations, avoidance of harmful content, and smooth language.Source: J IMPROVED PROMPT FOR SELF-ALIGN · p. 39
  • The remaining principles emphasize specificity, engaging educational content, methodical explanations, and multilingual replies.Responses should address the particular query, use relevant information, explain solutions step by step, and reply in the user's language.Source: J IMPROVED PROMPT FOR SELF-ALIGN · p. 39
  • Tables 7–11 provide full principle lists for synthetic preference modeling, RL training, and analyses of harmlessness, honesty, and false refusal.Tables 9, 10, and 11 cover the respective harmlessness, honesty, and false-refusal analysis studies.Source: Table 7 · p. 39, Table 8 · p. 40, Table 9 · p. 41
Loading 2310.05910v2…