Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter Plans #6

Closed
natolambert opened this issue Jun 1, 2024 · 2 comments
Closed

Chapter Plans #6

natolambert opened this issue Jun 1, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@natolambert
Copy link
Owner

natolambert commented Jun 1, 2024

Here is a rough outline of what I would like to see in the book, and who will be writing it.

Introductions & History

  1. Introduction
  2. Economics, Psychology, Philosophy of preference, etc.: VNM Theory, Bradley Terry, Impossibility theorems, social choice, etc
  3. Optimal Control, Deep RL, ML etc.
  4. RLHF for LLM lit (pre chatgpt stuff), maybe summarize instrugpt

Links:

Problem Specification

  1. Definitions, basic stuff, math
  2. Preference data collection
  3. Preference model training
  4. KL constraints and other penalties

Policy Optimization

  1. IFT / SFT / Chat Templates
  2. Rejection Sampling / Best of N
  3. PPO, REINFORCE, Policy Gradient
  4. DPO (Eric, Archit, Rafael)
  5. Other variants (short)

Advanced (optional)

  1. CAI
  2. Synthetic vs human data
  3. Evaluation

Open Questions (TBD / optional)

  1. Reward model over-optimization
@natolambert natolambert added the documentation Improvements or additions to documentation label Jun 1, 2024
@SalmanMohammadi
Copy link

Hey @natolambert. This is super awesome to see, and something which is sorely needed.

I'm wondering if you'd be open to contributors/collaborators? I have some examples of my writing in my blog, linked in my GitHub page. I've also authored a significant portion of torchtune's RLHF functionality.

@natolambert
Copy link
Owner Author

@SalmanMohammadi mostly looking for people to help with typos / formatting issues / other minor things, which is mostly service work (I'll send books to the top people), but adding other writers is too complex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants