Ask HN: How does ChatGPT work?
The way they went from GPT-3 to ChatGPT is really quite genius. My understanding is that it's something like this:1. Start with GPT-3, which predicts the next word in some text and is trained on all the text on the internet2. Take thousands of prompts, generate several responses for each of them, and have human reviewers rank the responses for each prompt from best to worst3. The GPT model needs a massive amount of training data, it would be cost prohibitive to get enough human feedback to fine tune GPT manually. So you train another model, called the reward model, to predict how the humans will rate each response. Then you train the GPT model against the reward model millions of times5. Feed a small percentage of the output from that training process back to the human reviewers to continue training the reward model, based on heuristics like reward model uncertainty which predict how helpful the human feedback will be towards improving the reward model6. Release ChatGPT to the public, and use user feedback like response upvotes/downvotes to further optimize the reward model, while continuing to train ChatGPT against the reward modelhttps://openai.com/blog/chatgpt/https://openai.com/blog/deep-reinforcement-learning-from-hum...