Training language models to follow instructions with human feedback
Article Status
Published
Authors/contributors
- Ouyang, Long (Author)
- Wu, Jeff (Author)
- Jiang, Xu (Author)
- Almeida, Diogo (Author)
- Wainwright, Carroll L. (Author)
- Mishkin, Pamela (Author)
- Zhang, Chong (Author)
- Agarwal, Sandhini (Author)
- Slama, Katarina (Author)
- Ray, Alex (Author)
- Schulman, John (Author)
- Hilton, Jacob (Author)
- Kelton, Fraser (Author)
- Miller, Luke (Author)
- Simens, Maddie (Author)
- Askell, Amanda (Author)
- Welinder, Peter (Author)
- Christiano, Paul (Author)
- Leike, Jan (Author)
- Lowe, Ryan (Author)
Title
Training language models to follow instructions with human feedback
Abstract
Making language models bigger does not inherently make them better at following a user's intent. For example, large language models can generate outputs that are untruthful, toxic, or simply not helpful to the user. In other words, these models are not aligned with their users. In this paper, we show an avenue for aligning language models with user intent on a wide range of tasks by fine-tuning with human feedback. Starting with a set of labeler-written prompts and prompts submitted through the OpenAI API, we collect a dataset of labeler demonstrations of the desired model behavior, which we use to fine-tune GPT-3 using supervised learning. We then collect a dataset of rankings of model outputs, which we use to further fine-tune this supervised model using reinforcement learning from human feedback. We call the resulting models InstructGPT. In human evaluations on our prompt distribution, outputs from the 1.3B parameter InstructGPT model are preferred to outputs from the 175B GPT-3, despite having 100x fewer parameters. Moreover, InstructGPT models show improvements in truthfulness and reductions in toxic output generation while having minimal performance regressions on public NLP datasets. Even though InstructGPT still makes simple mistakes, our results show that fine-tuning with human feedback is a promising direction for aligning language models with human intent.
Repository
arXiv
Archive ID
arXiv:2203.02155
Date
2022-03-04
Accessed
01/05/2023, 22:51
Library Catalogue
Extra
arXiv:2203.02155 [cs]
Citation
Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C. L., Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A., Schulman, J., Hilton, J., Kelton, F., Miller, L., Simens, M., Askell, A., Welinder, P., Christiano, P., Leike, J., & Lowe, R. (2022). Training language models to follow instructions with human feedback (arXiv:2203.02155). arXiv. https://doi.org/10.48550/arXiv.2203.02155
Link to this record