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:<p>1. Start with GPT-3, which predicts the next word in some text and is trained on all the text on the internet<p>2. Take thousands of prompts, generate several responses for each of them, and have human reviewers rank the responses for each prompt from best to worst<p>3. 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 times<p>5. 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 model<p>6. 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 model<p><a href="https://openai.com/blog/chatgpt/" rel="nofollow">https://openai.com/blog/chatgpt/</a><p><a href="https://openai.com/blog/deep-reinforcement-learning-from-human-preferences/" rel="nofollow">https://openai.com/blog/deep-reinforcement-learning-from-hum...</a>