Personal Learnings← Interconnects  Library

Interconnects · Tech & AI

RLHF learning resources in 2024

TIER 4   2024-01-12

I’ve given a lot of effort into sharing information on Reinforcement Learning from Human Feedback (RLHF). I figured I would categorize them in one place for people who come to me or Interconnects looking to learn about the topic.

This was inspired by my recent appearance on Latent Space, which we called RLHF 201. Doing this made me realize, once again, how few resources there are out there for going deeper on RLHF other than often confusing research papers. The slides for this talk are available here. Compared to my last lecture, I added a bunch of the underlying math, made figures cleaner, and added commentary on evaluation. The previous generation of slides I used at Stanford are also good, and they have a longer introduction.

Generally, the goal for this post is to give people with different learning styles the tools to learn more in their way of choice. I’ve split it up by video mediums (talks and podcasts), technical mediums (code and models or datasets), and text (which is mostly blog posts). Almost all of these link to papers within them, if you’re looking to go into more detail.

This list is obviously biased towards my stuff and is not a review, so plenty of things I’ve seen aren’t included.. It’s meant to give entry points for people wishing to go deeper on the subject. If you send me things that you think should be added and why, I’ll happily take a look.

Generally, I’ll give a very light description as to why I like every piece of content.

Interconnects is a reader-supported publication. Consider becoming a subscriber.

Video

Tutorials and overviews

Research talks of mine

Other podcasts

Research

The iteratively updated list of papers I come across in the area is here (which I want to update soon). It’s the basis for this series, which I intend to continue.

I wrote two position / survey papers last fall covering what I expect to be the core themes unfolding in RLHF in the next few years. If you want a deeper take, I whole heartedly recommend them.

  1. On reward models, the limitations of preferences, and more: The History and Risks of Reinforcement Learning and Human Feedback.

  2. On the fundamental tradeoffs of different RLHF pieces: The Alignment Ceiling: Objective Mismatch in Reinforcement Learning from Human Feedback.

There are two surveys of the area worth looking at too.

  1. Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedback serves as a critique of the RLHF perspective from a mostly AI Safety angle and with a focus on LLM techniques.

  2. A Survey of Reinforcement Learning from Human Feedback covers a much broader base than most of the paper’s I’ve linked. It’s important to remember that RLHF is much bigger than just LLMs.

The further reading section of my first primary blog post on RLHF is a good place to start with the classics of the field, with the likes of InstructGPT, Anthropic’s work, etc. It’s quoted here:

Code

There’s a lot of code out there for RLHF. Not all of it is that easy to work with or learn from. I worked on the first two.

Models

Obviously there are way too many to do a thorough study of, but the most important open RLHF models and datasets of the last year to me are:

Datasets

Evaluations

These three evaluations are the comprehensive set of how RLHF models are relatively ranked.

Blog posts

Interconnects posts

From the 2023 year in review post:

  1. Feb. 27: The RLHF battle lines are drawn covers the importance of RLHF to the LLM ecosystem, the costs of building it, and where the year will take us.

  2. Apr. 26: Beyond human data: RLAIF needs a rebrand covers a new way of thinking about general RL fine-tuning of LLMs: RL from computational feedback (RLCF). RLAIF is a variant of this.

  3. Jun. 21: How RLHF actually works covers the high-level intuition about what RLHF changes in model behavior -- safety, formatting, reasoning, and more subtle things.

  4. Aug. 2: Specifying objectives in RLHF covers the proxy objective problem in RLHF and why the new method Direct Preference Optimization (DPO) may not be the final solution.

  5. Oct. 18: Undoing RLHF and the brittleness of safe LLMs covers why RLHF safety filters are not resistant during further training and how this shifts the LLM marketplace.

  6. Oct. 25: RLHF lit. review #1 and missing pieces in RLHF covers recent papers and core themes of RL research not yet touched by RLHF.

  7. Nov. 22: RLHF progress: Scaling DPO to 70B, DPO vs PPO update, Tülu 2, Zephyr-β, meaningful evaluation, data contamination covers empirical progress in RLHF in the second half of 2024.

  8. Dec. 6: Do we need RL for RLHF? covers all things DPO and what it means for RLHF in the future.

And this year:

Other blogs of mine

Other resources

Please send me any other links you think deserve a chance to be included. I’m happy to keep updating this for a few weeks!