5 ms·
Anyone here know where we can find more resources on RLHF? There’s been a lot written about transformer models etc., but I wasn’t able to find much about RLHF.
by victor106 3y ago
Anyone here know where we can find more resources on RLHF?
There’s been a lot written about transformer models etc., but I wasn’t able to find much about RLHF.
- hansvm 3y agoIt's not the first paper on the topic IIRC, but OpenAI's InstructGPT paper [0] is decent and references enough other material to get started. The key idea is that they're able to start with large amounts of relatively garbage unsupervised data (the internet), and use that model to cheaply generate decent amounts of better data (ranking generated content rather than spending the man-hours to actually write good content). The other details aren't too important. [0] https://arxiv.org/abs/2203.02155 https://arxiv.org/abs/2203.02155
- senko 3y agoBlog post from Huggingface: https://huggingface.co/blog/rlhf https://huggingface.co/blog/rlhf Webinar on the same topic (from same HF folks): https://www.youtube.com/watch?v=2MBJOuVq380&t=496s https://www.youtube.com/watch?v=2MBJOuVq380&t=496s RLHF as used by OpenAI in InstructGPT (predecessor to ChatGPT): https://arxiv.org/abs/2203.02155 https://arxiv.org/abs/2203.02155 (academic paper, so much denser than the above two resources)
- samstave 3y agoIt will be interesting when we have AI doing RLHF to other AIs based on itself being RLHF'd and having an iterative AI model reinforcement... But we talk of 'hallucinations' but what we wont get is AI malfeasense identified by AI RLHF trickery/lying?
- z3c0 3y agoThis is essentially the premise behind Generative Adversarial Networks, and if you've seen the results, they're astounding. They're much better for specialized tasks than their generalized GPT counterparts.
- samstave 3y agoPlease expand on this?
- z3c0 3y agoSure thing - if you've seen "This Person Does Not Exist", it is the product of GANs: https://thispersondoesnotexist.xyz/ https://thispersondoesnotexist.xyz/ GANs pair a generative model with a classification model (both unsupervised) whose loss functions have been designed to be antithetical. Basically, one performing well means the other is performing poorly. Keeping with the example posed by the given link, this results in a kind of hyper-optimization that causes the generative model to gradually hone in on the perfect way to render a face, while the classification model keeps pace with it and feeds back that "I don't see a face" until something resembling a face emerges. With this approach, you can start with complete noise and end up at a photorealistic face.
- p1esk 3y agoLately diffusion models have surpassed GANs in pretty much every way. They don’t have any of that adversarial dynamics you described.
- z3c0 3y agoI'm not sure that's a valid statement on either count. There is plenty of work being done to bolster GANs with diffusion, in an attempt to take GANs where they couldn't before. Here's one such example: https://arxiv.org/abs/2206.02262 https://arxiv.org/abs/2206.02262 You might've been more correct to say that diffusion surpassed prior generative models, but the adversarial element doesn't even compare to diffusion at all. The adversarial element would be more accurately seen as a trade-off for standard RLHF/Human-in-the-Loop models. I will bet money that GANs bolstered with diffusion will far outperform a standalone diffusion model.
- rounakdatta 3y agoThere's also this exhaustive post from one and only Chip Huyen: https://huyenchip.com/2023/05/02/rlhf.html https://huyenchip.com/2023/05/02/rlhf.html
- SleekEagle 3y agoMy colleague wrote a couple of pieces that talk about RLHF: 1. https://www.assemblyai.com/blog/the-full-story-of-large-language-models-and-rlhf/ https://www.assemblyai.com/blog/the-full-story-of-large-lang... (you can scroll to "What RLHF actually does to an LLM" if you're already familiar with LLMs) 2. https://www.assemblyai.com/blog/how-chatgpt-actually-works/ https://www.assemblyai.com/blog/how-chatgpt-actually-works/