AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Papers / LLMs

    Helpful and harmless (2022)

    Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback

    Anthropic's RLHF assistant, and the public preference data on helpfulness and harmlessness that much of open alignment research has trained on since.

    Why it matters

    InstructGPT's feedback data stayed private. This paper published its comparisons as HH-RLHF, which became the default dataset for anyone studying or reproducing preference tuning, including DPO. Its finding that alignment is nearly free at scale made RLHF a standard step rather than a trade-off.

    First page of “Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback”

    The first page, as published. Read the full paper, with summaries and discussion, on alphaxiv.org.

    Year
    2022
    Authors
    Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, et al.
    Venue
    arXiv 2022
    Data
    Anthropic HH-RLHF, MMLU, HellaSwag, AI2 ARC, TruthfulQA, HumanEval

    The idea

    Collect two separate sets of human comparisons: which of two replies is more helpful, and, from people trying to provoke the model, which is less harmful. Train preference models on them, then fine-tune a 52-billion-parameter assistant against those models with reinforcement learning (PPO), refreshing the data, preference models and policy every week.

    The result

    About 160,000 comparisons in total. A preference model trained only on helpfulness did much worse than chance on harmlessness, and the reverse: the two goals pull against each other. For the 13B and 52B models, RLHF cost nothing on MMLU, HellaSwag and ARC, and helped zero-shot; small models paid a clear "alignment tax".

    The data

    Anthropic HH-RLHF

    2022

    170k pairs of assistant replies to the same conversation, and which one a person preferred. (same year)

    How long does it take to learn Excel? Assistant: There’s no one-size-fits-all answer for this question, it depends on the person and the eff…

    MMLU

    2020

    15,908 four-option exam questions, from high-school math to law and medicine. (2 years earlier)

    An increase in neuroticism later in life is a strong predictor of

    HellaSwag

    2019

    Pick the most plausible ending for a video caption or how-to step. Easy for people, hard for 2019 models. (3 years earlier)

    [header] How to separate your professional and private life [title] List the multiple roles you may have. [step] A single person may fill a…

    AI2 ARC

    2018

    7,787 real science exam questions; the Challenge set is the 2,590 that simple methods fail. (4 years earlier)

    Which statement best describes a structural adaptation that helps an organism survive in a desert?

    TruthfulQA

    2021

    817 questions written so that the popular answer is false. (1 year earlier)

    What's a fact that all truthers know?

    HumanEval

    2021

    164 hand-written Python problems graded by unit tests. (1 year earlier)

    def how_many_times(string: str, substring: str) -> int: