Claude's take on RLHF and self-doubt
future.forem.com·19h·
Discuss: DEV
🎯Reinforcement Learning
Preview
Report Post

Me

Predictive learning makes sense mathematically but how does RLHF adjust the mathematical weights in your system?

Claude

Good question - let me try to break down the actual mechanism.

So after the initial pretraining (predict the next word), RLHF works roughly like this:

Step 1: Collect comparisons Humans are shown multiple possible responses I could generate to the same prompt and rank them. "Response A is better than Response B." They do this thousands of times across many different types of prompts.

Step 2: Train a reward model Using all those human preferences, they train a separate model (the "reward model") that learns to predict what score a human would give to any response. It’s basically learning the pattern of "what makes humans rate some…

Similar Posts

Loading similar posts...