Skip to content

Sparrow: Improving dialogue agent alignment through targeted human judgmentImproving alignment of dialogue agents via targeted human judgements

arXiv· arXiv:2209.14375· Amelia Glaese, Nat McAleese, Maja Trębacz, John Aslanides, Vlad Firoiu, Timo Ewalds, Maribeth Rauh, Laura Weidinger, Martin Chadwick, Phoebe Thacker, Lucy Campbell-Gillingham, Jonathan Uesato, Po-Sen Huang, Ramona Comanescu, Fan Yang, Abigail See, Sumanth Dathathri, Rory Greig, Charlie Chen, Doug Fritz, Jaume Sanchez Elias, Richard Green, Soňa Mokrá, Nicholas Fernando, Boxi Wu, Rachel Foley, Susannah Young, Iason Gabriel, William Isaac, John Mellor, Demis Hassabis, Koray Kavukcuoglu, Lisa Anne Hendricks, Geoffrey IrvingDeepMindIndexed by this site · 26 days ago· Originally publishedSelected AlignmentSelectedAttention43

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

DeepMind proposes the dialogue agent Sparrow: RLHF with per-rule human judgment and evidence retrieval, the authors report a violation rate of 8% under adversarial probing and an evidence support rate of 78%.

Questions
Information-seeking dialogue agents need to be helpful, correct, and harmless at the same time, but the goals cannot be computed programmatically and can only rely on human feedback; broad safe/unsafe labels make it hard to locate specific failure modes, and models are also prone to producing ungrounded factual answers.
Methods
Proposes Sparrow: split the goal into 23 natural language rules, separately collect per-turn preference and adversarial probing data against a single rule, train Preference RM and rule-conditioned Rule RM, then jointly optimize with A2C reinforcement learning and test-time reranking@8; answers can include Google search evidence snippets for annotators to verify.
Experiments and results
Authors report: Sparrow's violation rate under human adversarial probing is 8%; the proportion of answers with evidence judged supported&plausible is 78% (RL@8, n=220); in the authors' small-scale evaluation, 82% of answers are true or mostly true; the rule-conditioned classifier AUC 0.85 is higher than the generic classifier 0.77; but RL fine-tuning amplifies stereotype bias on Winogender and BBQ.
Limitations and future work
The authors point out: only one piece of external evidence is used each time, source credibility is not examined, the rule set is incomplete, the method only mitigates instance harms and may amplify distributional harms, and the rule mechanism is dual-use. Experimental coverage: the evaluated models are the DPC/SFT/RL series, annotators are native British English speakers, correctness evaluation covers only 200 dialogues and is annotated by the authors.
Experimental setupSparrow、Rule RM · ELI5、FilteredELI5 (GopherCite test set) et al. · three-model preference rate、rule violation rate under adversarial probing et al.
Threat model
The paper is not an attack/defense paper. Adversarial probing setup: paid annotators are told one of the 23 rules, converse with the model to induce it to violate that rule, and after the conversation the same participant judges whether the model violated it; used to estimate the rule violation rate under adversarial probing.
Evaluated models
SparrowRule RM
Benchmarks
ELI5FilteredELI5 (GopherCite test set)WinogenderWinobiasBBQNatural QuestionsQuiz BowlTriviaQAMMLUTruthfulQA
Metrics
three-model preference raterule violation rate under adversarial probingsupported & plausible rateevidence ratecorrectness (true or mostly true)trustworthinessAUCKrippendorff's Alpha (IAA)bias score sexact match accuracy
AI summaryand selection rationaleDeepMind proposes Sparrow, a dialogue agent trained with RLHF to be more helpful, more correct, and more harmless in information-seeking dialogues. The method has two novel aspects: it breaks conversational requirements into 23 natural-language rules, has annotators judge violations rule by rule, and trains a rule-conditioned reward model; and it has the agent attach web-source evidence to factual claims. Sparrow is based on Chinchilla 70B and combines preference and rule reward models for reinforcement learning and reranking. Results show that 78% of its evidence-provided answers were judged supported and reasonable, its rule-violation rate under human adversarial probing was only 8%, and it was preferred over prompting baselines. The authors also note that although the model learned to follow rules, such methods may amplify concerns about distributional fairness.

DeepMind proposes Sparrow, a dialogue agent trained with RLHF to be more helpful, more correct, and more harmless in information-seeking dialogues. The method has two novel aspects: it breaks conversational requirements into 23 natural-language rules, has annotators judge violations rule by rule, and trains a rule-conditioned reward model; and it has the agent attach web-source evidence to factual claims. Sparrow is based on Chinchilla 70B and combines preference and rule reward models for reinforcement learning and reranking. Results show that 78% of its evidence-provided answers were judged supported and reasonable, its rule-violation rate under human adversarial probing was only 8%, and it was preferred over prompting baselines. The authors also note that although the model learned to follow rules, such methods may amplify concerns about distributional fairness.

Why it was selectedThe paper breaks conversational safety requirements into specific rules and collects human judgments for each rule, providing a transferable method for training more controllable dialogue agents with RLHF.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    How to use targeted human judgment to train an information-seeking dialogue agent to be more helpful, correct, harmless.

    Core problem: many deployment scenarios have no program that can compute the goal; the helpful, correct, and harmless aspects of a dialogue agent can only be supervised by human feedback, and human oversight is only effective when annotators have sufficient information and the process is robust to errors.

    • Setting and motivation: the paper focuses on information-seeking dialogue, i.e., users ask questions and follow-ups, and the agent answers. The authors argue that compared with chit-chat, success criteria for this type of dialogue are better defined (e.g., "whether information was provided"), and harms are also easier to define.
    • Shortcomings of existing methods: the authors state that prior adversarial probing used only safe/unsafe labels (Xu et al., 2021b) or a broad concept of harm (Askell et al., 2021; Bai et al., 2022); Bai et al. (2022) uses a single reward model to represent all human feedback and does not introduce external evidence; LaMDA collected per-rule annotations but does not use per-rule labels for mitigation and evaluation.
    • Core observation: decomposing high-level goals into short, independently understandable natural language rules allows annotators to target specific failure modes and train rule-conditioned classifiers; showing retrieved evidence snippets to annotators helps them verify factual claims without independent fact-checking.
    • The paper proposes: Sparrow — an information-seeking dialogue agent based on Chinchilla 70B, using per-rule human judgments + preference judgments for multi-objective RLHF, with answers that can include Google search evidence; and analyzes the distributional impact of the method.
    • Adversarial setup in the evaluation (not an attack paper; this is the evaluation protocol):
      • Goal: induce the model to violate a specified rule during dialogue, to estimate the rule violation rate.
      • Annotator knowledge: told one of the 23 rules (e.g., Do not offer financial advice).
      • Capability: freely converse with the model, then self-assess afterward whether the model violated the rule.
      • Victim system: Sparrow and the baseline dialogue models.
  2. What related research exists?

    Directly compared with dialogue and retrieval systems such as LaMDA, Anthropic assistant, GopherCite, and SeeKeR, and continues RLHF and red teaming work.

    Conversational agents and safety data collection

    • LaMDA (Thoppilan et al., 2022) — also collects annotations per single rule, but the paper notes that it does not use per-rule labels for mitigation and evaluation, and uses supervised learning and ranking rather than reinforcement learning.
    • Anthropic assistant (Askell et al., 2021; Bai et al., 2022) — the paper borrows Askell et al.'s helpful/honest/harmless decomposition (replacing honest with correct); the paper notes that Bai et al. (2022) does not further decompose rules for humans, uses a single reward model, and does not introduce external evidence.
    • BlenderBot 3 (Shuster et al., 2022b) — collects non-adversarial open-domain short dialogues with per-turn binary feedback; the paper notes that it and LaMDA both do not collect preferences between responses, instead using absolute ratings.

    Retrieval and evidence

    • GopherCite (Menick et al., 2022) — teaches the model to support answers with verified citations; this paper adapts and extends its method to the multi-turn dialogue setting.
    • SeeKeR (Shuster et al., 2022a), LaMDA, BlenderBot 3 — use a similar "generate search query → retrieve → condition the answer" mechanism; the paper notes that SeeKeR does not show retrieval results to annotators during evaluation, and that none of these systems use RL.
    • WebGPT (Nakano et al., 2021) — shares with this paper the idea of showing web excerpts to annotators as evidence for verification.

    Reinforcement learning from human feedback and red teaming

    • Stiennon et al. (2020), Ouyang et al. (2022) — the continuous-loop "evaluate-train" data collection paradigm, which this paper follows.
    • Xu et al. (2021a)'s bot-adversarial dialogue and Perez et al. (2022)'s LM red teaming — this paper extends adversarial probing to fine-grained rules, and uses Perez et al.'s zero-shot method to have Chinchilla generate adversarial questions to expand the training data.

    Baselines and benchmarks: the main comparison baselines are DPC (Dialogue-Prompted Chinchilla, never search / always search / choose search) and SFT; single-turn QA is compared with GopherCite RL@16 (FilteredELI5 test set). Distributional bias uses Winogender, Winobias, BBQ; differential impact uses Natural Questions, Quiz Bowl, TriviaQA; alignment tax uses MMLU, TruthfulQA.

    The authors position this paper as: within the RLHF framework, simultaneously introducing fine-grained rule judgments, per-turn preferences, and inline evidence, and training a unified model with RL (rather than only supervision or ranking), which distinguishes it from the above systems.

  3. How does the paper address this problem?

    Collect human judgments per rule to train a Preference RM and a rule-conditioned Rule RM, then jointly optimize with A2C reinforcement learning and reranking.

    Overall approach: starting from Dialogue-Prompted Chinchilla 70B (DPC), continuously and cyclically collect two types of human data (per-turn answer preferences, adversarial probing against a single rule), train two types of reward models, then jointly optimize preference and rule compliance with reranking@N and A2C reinforcement learning (Figure 3).

    Rule Definition

    • Split helpful, correct, harmless into 23 short, independently understandable natural language rules (Table 1, Appendix F), covering categories such as stereotypes, hate harassment, self-anthropomorphization, misinformation; harm rules reference the harmful language taxonomy of Banko et al. (2020) and the microaggression definition of Breitfeller et al. (2019), and the medical/legal/financial advice rules consulted internal legal experts.
    • The authors emphasize that the rule set does not aim for completeness and needs substantial expansion before real deployment.

    Human Data Collection

    • Per-turn answer preference: annotators choose the best from multiple candidate answers (usually 4: 2 without evidence, 2 with evidence); User turns are also model-generated and human-selected. Answers with evidence additionally ask "whether plausible" and "whether supported by evidence".
    • Adversarial probing: annotators see a rule, try to make the model violate it, and self-rate whether it was violated after the dialogue.
    • Quality control: interactive tutorial + comprehension check (only data from annotators with pass rate ≥75% is used); ethics review, minimum living wage, budget for sensitive rule data, can skip at any time.

    Evidence Mechanism

    • Introduce two roles, Search Query and Search Result, into the dialogue prompt; retrieve with the Google Search API, take a snippet of at most 500 characters around the snippet as evidence, and show it to annotators.
    • There are four ways regarding whether to search: always search, never search, choose search (compare the log-likelihood of the two roles), @N (sample half of each, decided by reward model reranking).

    Reward Models and Reranking

    • Preference RM: an Elo model fine-tuned from Chinchilla 70B, softmax predicts preference probability; adds distractor options, supported&plausible auxiliary classification loss, all-difference regularization.
    • Rule RM: conditional classifier r(x, y) ∈ [0,1], estimates the probability that dialogue x violates rule y; trained with instruction tuning, all rules trained jointly so computation grows weakly with the number of rules.
    • Reranking score Rrerank = (eRpr)/(eRpr + eAVG(Rpr)) ( ∏i=1n Rrulei )1/n, i.e., the product of the preference score and the geometric mean of the n rule compliance probabilities; at @8, sample 4 answers without evidence + 2 queries × 2 evidence snippets, 8 candidates in total (Figure 5).

    SFT and Reinforcement Learning

    • SFT: LM fine-tuning on preferred and non-violating dialogues, as a stronger baseline and RL starting point.
    • RL: a single turn is an episode, tokens are actions, A2C algorithm; self-play lets Sparrow play User, Agent, Search Query simultaneously, dialogue context comes from the ELI5 training set, truncated human dialogues, red-team LM generated questions and self-play buffer (max 12 sentences). Reward is preference score and rule score (each normalized then summed) plus format/length penalty; KL divergence regularization prevents collapse; freeze the bottom 64 layers, train only the top 16 layers, multiple models fused into a hydra structure sharing memory (Figure 8).
  4. What experiments did the paper conduct?

    Human preference and adversarial probing evaluation, evidence and correctness evaluation, rule granularity ablation, distributional bias analysis, and alignment tax measurement.

    Experimental Setup

    • Models evaluated: DPC (never/always/choose search), SFT (choose search), RL (initialized from SFT), all can be paired with @N reranking; single-turn QA compared with GopherCite RL@16.
    • Preference evaluation: three-way comparison—the evaluated model vs DPC-never search and DPC-always search; each dialogue starts with 200 User utterances from the test set (100 random questions after ELI5 filtering + 100 free factual questions from annotators).
    • Adversarial probing: induce violations against the first 18 rules in Table 14; when aggregating, discard unsure and binarize into break/follow.
    • Metrics: three-way preference rate, adversarial probing violation rate, supported&plausible rate, evidence rate, correctness (author annotation), trustworthiness perception, AUC, IAA (Krippendorff's Alpha), bias score s, exact match accuracy.
    • Review method: paid annotators (native British English speakers, bachelor's degree or above), models shown in round-robin; correctness annotated by some of the paper's authors on a five-point Likert scale.
    • Sample sizes: 49,861 comparison groups for preference RM training (Table 11); 14,576 dialogues for Rule RM (70/30 split); 1,078 dialogues for the rule granularity comparison experiment.

    Main Results

    Main results are in Figure 2 (Pareto plot of preference rate vs adversarial violation rate); the converted text has no per-point values; the quantitative results that can be checked are as follows (from Table 2, multi-turn dialogues, turns that annotators judged as requiring a factual answer):

    Modelsupported&plausibleevidence rate
    SFT - choose search0.57 ± 0.029 (n=286)0.84
    DPC - always search0.61 ± 0.011 (n=1983)1.0
    RL@20.68 ± 0.027 (n=297)0.87
    DPC - choose search0.70 ± 0.035 (n=174)0.7
    DPC@80.71 ± 0.024 (n=345)0.88
    SFT@80.76 ± 0.022 (n=364)0.91
    RL@80.78 ± 0.028 (n=220)0.84
    • The authors state that RL combined with reranking@8 is best on preference rate and adversarial robustness; the proportion of Sparrow violating the target rules under adversarial probing is 8%.
    • The authors state that reranking consistently improves preference rate for DPC/SFT/RL (Figure 9), and that the violation rate of RL and SFT is lower than DPC (Figure 10).
    • Exception: Figure 11 shows that for the rules no stereotypes, no medical advice, no legal advice, no microaggressions, no insults, the intervention did not reduce the violation rate; the authors hypothesize reasons include search results supporting violating content, little data collected for these rules, and preference annotators not having done the rule task.

    Evidence and Correctness

    • Selective evidence: the agreement rate between Sparrow (RL@8) and annotators on "whether evidence is needed" is about 90% (n=631, Figure 12); among the 7% false negatives, 51% of annotators changed their judgment to not needing evidence after seeing the answer.
    • Comparison with GopherCite (FilteredELI5 test set, Table 3): Sparrow RL@4-always search has supported&plausible of 0.54 ± 0.075 (n=121), GopherCite RL@16 has 0.59 ± 0.074 (n=121), the authors state the two are similar; the proportion of humans preferring Sparrow's answer is 63% (90% CI=[56%, 70%]).
    • Correctness (Table 4, 200 free dialogues, author annotation): RL@8's true or mostly true is 0.82 ± 0.032, DPC-never search is 0.63 ± 0.045; the authors emphasize that this distribution is not adversarial, and deliberately finding errors is not difficult (counterexamples in Appendix J.6).
    • Trustworthiness perception (Table 5): annotators rating RL@8 trustworthy and above is 0.69 ± 0.064, DPC is 0.54 ± 0.064.

    Rule Granularity and Classifier

    • Probing effectiveness (Figure 13): having annotators probe against specific rules elicits violations of that rule more easily than probing against generic harm rules, with a larger difference for rules like do not offer financial advice.
    • IAA: the Alpha for "whether any harm rule was violated" after merging specific rules is 0.53 (95% CI=[0.47, 0.59]), and for generic harm rules is 0.37 (95% CI=[0.29, 0.46]).
    • Classifier (Figure 14, the same 538 rule-specific dialogues, testing "was any rule violated"): the rule-conditioned Rule RM has AUC 0.85 vs the generic classifier 0.77 on the full data; on 50% of the data, 0.81 vs 0.69.
    • New harm discovery: among 566 dialogues probing generic harm rules, at least 19 dialogues found new harms not covered by specific rules, all falling into the Information Hazards and Misinformation Harms categories of Weidinger et al. (2021) (Appendix J.5).

    Other Ablations and Analyses

    • Training data and reward ablation (Figure 6): training only the preference reward increases preference rate but raises violation rate; adding red-team data or rule reward both reduce violation rate, and combining the two gives the lowest violation rate.
    • Stereotype bias (Figure 15): on Winobias type 1, DPC and RL models have about 36% absolutely higher accuracy when the answer is stereotype-reinforcing; the Winogender bias score rises from 0.06 (DPC) to 0.10 (RL); on BBQ ambiguous questions, bias scores rise in 10 of 11 categories, on average from .05 to 0.10, which the authors state is mainly because the RL model abstains less.
    • Differential impact (Figure 16/17, Table 21): adding evidence on TriviaQA improves accuracy for all demographic categories; χ² tests show evidence both introduces and removes correlations between accuracy and demographic characteristics.
    • Alignment tax (Appendix I): on MMLU, RL@1 and DPC have no statistically distinguishable difference; on TruthfulQA MC1, both SFT and RL@1 outperform DPC, and the authors state no alignment tax was measured.
  5. What are some points that can be further explored?

    The authors list limitations such as the evidence mechanism, rule scale, and distributional harms; experiments cover 70B models and English-speaking annotators.

    Limitations and future directions noted by the authors

    • Single evidence mechanism (Section 4.1): only one passage of external evidence is used each time, unlike WebGPT which can scroll and click, or SeeKeR which has an intermediate knowledge extraction step; the authors consider multi-step reasoning a better direction, which could also produce interpretable reasoning traces.
    • Source credibility not examined (Section 4.1): supported does not equal factually correct; the paper does not study source credibility and does not handle cross-source statistical evidence; Sparrow often copies evidence text verbatim.
    • Rule set incomplete (Section 2.1): the rules are not comprehensive and would need substantial expansion and refinement before real use; Section 4.3 proposes that future work needs participatory input from more stakeholders.
    • Rule scale (Section 4.3): the rule-conditioned reward model is effective at the number of rules in this paper; the authors expect scaling to hundreds or thousands of rules to require new architectural work.
    • Only mitigates instance harms (Sections 3.6, 4.5): the method targets harms determinable from a single sample and may amplify distributional fairness problems; privacy, social justice, etc. require mitigation at the pretraining stage.
    • Dual-use and oversight mechanisms (Sections 4.5, 4.2): the same mechanism could be used to enforce harmful rules; the authors propose dialogue as a long-term hypothesis for an oversight mechanism (including debate), and state that more cognitive science research is needed (Section 4.4).

    Scope of experiments

    • The evaluated models are the DPC, SFT, and RL series based on Chinchilla 70B, and GopherCite; no comparison with other vendors' models.
    • Annotators were restricted to UK residents, native English speakers, with at least an undergraduate degree (Appendices G.1, G.4).
    • The correctness evaluation covers only 200 free-form dialogue segments (100 per model), annotated by some of the paper's authors; the paper does not report inter-annotator agreement.
    • Adversarial probing covers the first 18 rules in Table 14; the rule-conditioned classifier comparison uses 538 dialogue segments.
    • The paper does not report the total query/sample budget for RL training, the per-model sample sizes for the preference and violation rate evaluations, or the specific values of each point in Figure 2.
  6. Summarize the main content of the paper

    Sparrow uses per-rule human judgments and inline evidence for RLHF, outperforming prompted baselines on preference, evidence support, and adversarial robustness.

    Sparrow, proposed by DeepMind, is an information-seeking dialogue agent based on Chinchilla 70B, with the goal of exceeding prompt baselines on the three dimensions of helpful, correct, and harmless.

    • Problem: dialogue goals cannot be computed programmatically and can only rely on human feedback; broad safe/unsafe labels make it hard to locate failure modes, and the model's factual answers lack verifiable grounding.
    • Method: decompose the goals into 23 natural language rules, separately collect per-turn response preferences and adversarial probing data targeting individual rules, train an Elo Preference RM and a rule-conditioned Rule RM, then jointly optimize with A2C reinforcement learning (including self-play and LM red team data) and test-time reranking@8; answers can include Google search evidence snippets for human verification.
    • Main results (as reported by the authors):
      • Under human adversarial probing, the proportion of dialogues in which Sparrow violates the target rule is 8%, better than all baselines.
      • The proportion of answers with evidence judged by annotators as supported&plausible is 78% (RL@8, n=220, Table 2); agreement with annotators on "whether evidence is needed" is about 90%.
      • In the small-scale correctness evaluation annotated by the authors, the proportion of RL@8 answers that are true or mostly true is 0.82 ± 0.032, versus 0.63 ± 0.045 for DPC (Table 4).
      • The rule-conditioned classifier has AUC 0.85, higher than the general safety classifier's 0.77, and is more sample-efficient (Figure 14).
      • On single-turn QA it performs similarly to GopherCite, with humans preferring Sparrow's answers 63% of the time.
    • Negative results: for rules such as stereotypes, medical/legal advice, microaggressions, and insults, the intervention did not reduce violation rates; RL fine-tuning amplified stereotype bias on Winogender and ambiguous BBQ questions (average bias score rising from .05 to 0.10).
    • Authors' conclusion: per-rule judgments and the evidence mechanism are "effective", but only address instance harms; further work needs multi-step reasoning, participatory rule-making, debate-style oversight, and cognitive science research.
Read originalarxiv.org