Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback. Bai, Y., Jones, A., Ndousse, K., Askell, A., Chen, A., DasSarma, N., Drain, D., Fort, S., Ganguli, D., Henighan, T., Joseph, N., Kadavath, S., Kernion, J., Conerly, T., El-Showk, S., Elhage, N., Hatfield-Dodds, Z., Hernandez, D., Hume, T., Johnston, S., Kravec, S., Lovitt, L., Nanda, N., Olsson, C., Amodei, D., Brown, T., Clark, J., McCandlish, S., Olah, C., Mann, B., & Kaplan, J. April, 2022. arXiv:2204.05862 [cs]
Paper doi abstract bibtex We apply preference modeling and reinforcement learning from human feedback (RLHF) to finetune language models to act as helpful and harmless assistants. We find this alignment training improves performance on almost all NLP evaluations, and is fully compatible with training for specialized skills such as python coding and summarization. We explore an iterated online mode of training, where preference models and RL policies are updated on a weekly cadence with fresh human feedback data, efficiently improving our datasets and models. Finally, we investigate the robustness of RLHF training, and identify a roughly linear relation between the RL reward and the square root of the KL divergence between the policy and its initialization. Alongside our main results, we perform peripheral analyses on calibration, competing objectives, and the use of OOD detection, compare our models with human writers, and provide samples from our models using prompts appearing in recent related work.
@misc{baiTrainingHelpfulHarmless2022a,
title = {Training a {Helpful} and {Harmless} {Assistant} with {Reinforcement} {Learning} from {Human} {Feedback}},
url = {http://arxiv.org/abs/2204.05862},
doi = {10.48550/arXiv.2204.05862},
abstract = {We apply preference modeling and reinforcement learning from human feedback (RLHF) to finetune language models to act as helpful and harmless assistants. We find this alignment training improves performance on almost all NLP evaluations, and is fully compatible with training for specialized skills such as python coding and summarization. We explore an iterated online mode of training, where preference models and RL policies are updated on a weekly cadence with fresh human feedback data, efficiently improving our datasets and models. Finally, we investigate the robustness of RLHF training, and identify a roughly linear relation between the RL reward and the square root of the KL divergence between the policy and its initialization. Alongside our main results, we perform peripheral analyses on calibration, competing objectives, and the use of OOD detection, compare our models with human writers, and provide samples from our models using prompts appearing in recent related work.},
urldate = {2025-01-18},
publisher = {arXiv},
author = {Bai, Yuntao and Jones, Andy and Ndousse, Kamal and Askell, Amanda and Chen, Anna and DasSarma, Nova and Drain, Dawn and Fort, Stanislav and Ganguli, Deep and Henighan, Tom and Joseph, Nicholas and Kadavath, Saurav and Kernion, Jackson and Conerly, Tom and El-Showk, Sheer and Elhage, Nelson and Hatfield-Dodds, Zac and Hernandez, Danny and Hume, Tristan and Johnston, Scott and Kravec, Shauna and Lovitt, Liane and Nanda, Neel and Olsson, Catherine and Amodei, Dario and Brown, Tom and Clark, Jack and McCandlish, Sam and Olah, Chris and Mann, Ben and Kaplan, Jared},
month = apr,
year = {2022},
note = {arXiv:2204.05862 [cs]},
keywords = {Computer Science - Computation and Language, Computer Science - Machine Learning},
}
Downloads: 0
{"_id":"DbaXkzPyxLvhoKsYy","bibbaseid":"bai-jones-ndousse-askell-chen-dassarma-drain-fort-etal-trainingahelpfulandharmlessassistantwithreinforcementlearningfromhumanfeedback-2022","author_short":["Bai, Y.","Jones, A.","Ndousse, K.","Askell, A.","Chen, A.","DasSarma, N.","Drain, D.","Fort, S.","Ganguli, D.","Henighan, T.","Joseph, N.","Kadavath, S.","Kernion, J.","Conerly, T.","El-Showk, S.","Elhage, N.","Hatfield-Dodds, Z.","Hernandez, D.","Hume, T.","Johnston, S.","Kravec, S.","Lovitt, L.","Nanda, N.","Olsson, C.","Amodei, D.","Brown, T.","Clark, J.","McCandlish, S.","Olah, C.","Mann, B.","Kaplan, J."],"bibdata":{"bibtype":"misc","type":"misc","title":"Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback","url":"http://arxiv.org/abs/2204.05862","doi":"10.48550/arXiv.2204.05862","abstract":"We apply preference modeling and reinforcement learning from human feedback (RLHF) to finetune language models to act as helpful and harmless assistants. We find this alignment training improves performance on almost all NLP evaluations, and is fully compatible with training for specialized skills such as python coding and summarization. We explore an iterated online mode of training, where preference models and RL policies are updated on a weekly cadence with fresh human feedback data, efficiently improving our datasets and models. Finally, we investigate the robustness of RLHF training, and identify a roughly linear relation between the RL reward and the square root of the KL divergence between the policy and its initialization. Alongside our main results, we perform peripheral analyses on calibration, competing objectives, and the use of OOD detection, compare our models with human writers, and provide samples from our models using prompts appearing in recent related work.","urldate":"2025-01-18","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Bai"],"firstnames":["Yuntao"],"suffixes":[]},{"propositions":[],"lastnames":["Jones"],"firstnames":["Andy"],"suffixes":[]},{"propositions":[],"lastnames":["Ndousse"],"firstnames":["Kamal"],"suffixes":[]},{"propositions":[],"lastnames":["Askell"],"firstnames":["Amanda"],"suffixes":[]},{"propositions":[],"lastnames":["Chen"],"firstnames":["Anna"],"suffixes":[]},{"propositions":[],"lastnames":["DasSarma"],"firstnames":["Nova"],"suffixes":[]},{"propositions":[],"lastnames":["Drain"],"firstnames":["Dawn"],"suffixes":[]},{"propositions":[],"lastnames":["Fort"],"firstnames":["Stanislav"],"suffixes":[]},{"propositions":[],"lastnames":["Ganguli"],"firstnames":["Deep"],"suffixes":[]},{"propositions":[],"lastnames":["Henighan"],"firstnames":["Tom"],"suffixes":[]},{"propositions":[],"lastnames":["Joseph"],"firstnames":["Nicholas"],"suffixes":[]},{"propositions":[],"lastnames":["Kadavath"],"firstnames":["Saurav"],"suffixes":[]},{"propositions":[],"lastnames":["Kernion"],"firstnames":["Jackson"],"suffixes":[]},{"propositions":[],"lastnames":["Conerly"],"firstnames":["Tom"],"suffixes":[]},{"propositions":[],"lastnames":["El-Showk"],"firstnames":["Sheer"],"suffixes":[]},{"propositions":[],"lastnames":["Elhage"],"firstnames":["Nelson"],"suffixes":[]},{"propositions":[],"lastnames":["Hatfield-Dodds"],"firstnames":["Zac"],"suffixes":[]},{"propositions":[],"lastnames":["Hernandez"],"firstnames":["Danny"],"suffixes":[]},{"propositions":[],"lastnames":["Hume"],"firstnames":["Tristan"],"suffixes":[]},{"propositions":[],"lastnames":["Johnston"],"firstnames":["Scott"],"suffixes":[]},{"propositions":[],"lastnames":["Kravec"],"firstnames":["Shauna"],"suffixes":[]},{"propositions":[],"lastnames":["Lovitt"],"firstnames":["Liane"],"suffixes":[]},{"propositions":[],"lastnames":["Nanda"],"firstnames":["Neel"],"suffixes":[]},{"propositions":[],"lastnames":["Olsson"],"firstnames":["Catherine"],"suffixes":[]},{"propositions":[],"lastnames":["Amodei"],"firstnames":["Dario"],"suffixes":[]},{"propositions":[],"lastnames":["Brown"],"firstnames":["Tom"],"suffixes":[]},{"propositions":[],"lastnames":["Clark"],"firstnames":["Jack"],"suffixes":[]},{"propositions":[],"lastnames":["McCandlish"],"firstnames":["Sam"],"suffixes":[]},{"propositions":[],"lastnames":["Olah"],"firstnames":["Chris"],"suffixes":[]},{"propositions":[],"lastnames":["Mann"],"firstnames":["Ben"],"suffixes":[]},{"propositions":[],"lastnames":["Kaplan"],"firstnames":["Jared"],"suffixes":[]}],"month":"April","year":"2022","note":"arXiv:2204.05862 [cs]","keywords":"Computer Science - Computation and Language, Computer Science - Machine Learning","bibtex":"@misc{baiTrainingHelpfulHarmless2022a,\n\ttitle = {Training a {Helpful} and {Harmless} {Assistant} with {Reinforcement} {Learning} from {Human} {Feedback}},\n\turl = {http://arxiv.org/abs/2204.05862},\n\tdoi = {10.48550/arXiv.2204.05862},\n\tabstract = {We apply preference modeling and reinforcement learning from human feedback (RLHF) to finetune language models to act as helpful and harmless assistants. We find this alignment training improves performance on almost all NLP evaluations, and is fully compatible with training for specialized skills such as python coding and summarization. We explore an iterated online mode of training, where preference models and RL policies are updated on a weekly cadence with fresh human feedback data, efficiently improving our datasets and models. Finally, we investigate the robustness of RLHF training, and identify a roughly linear relation between the RL reward and the square root of the KL divergence between the policy and its initialization. Alongside our main results, we perform peripheral analyses on calibration, competing objectives, and the use of OOD detection, compare our models with human writers, and provide samples from our models using prompts appearing in recent related work.},\n\turldate = {2025-01-18},\n\tpublisher = {arXiv},\n\tauthor = {Bai, Yuntao and Jones, Andy and Ndousse, Kamal and Askell, Amanda and Chen, Anna and DasSarma, Nova and Drain, Dawn and Fort, Stanislav and Ganguli, Deep and Henighan, Tom and Joseph, Nicholas and Kadavath, Saurav and Kernion, Jackson and Conerly, Tom and El-Showk, Sheer and Elhage, Nelson and Hatfield-Dodds, Zac and Hernandez, Danny and Hume, Tristan and Johnston, Scott and Kravec, Shauna and Lovitt, Liane and Nanda, Neel and Olsson, Catherine and Amodei, Dario and Brown, Tom and Clark, Jack and McCandlish, Sam and Olah, Chris and Mann, Ben and Kaplan, Jared},\n\tmonth = apr,\n\tyear = {2022},\n\tnote = {arXiv:2204.05862 [cs]},\n\tkeywords = {Computer Science - Computation and Language, Computer Science - Machine Learning},\n}\n\n\n\n\n\n\n\n","author_short":["Bai, Y.","Jones, A.","Ndousse, K.","Askell, A.","Chen, A.","DasSarma, N.","Drain, D.","Fort, S.","Ganguli, D.","Henighan, T.","Joseph, N.","Kadavath, S.","Kernion, J.","Conerly, T.","El-Showk, S.","Elhage, N.","Hatfield-Dodds, Z.","Hernandez, D.","Hume, T.","Johnston, S.","Kravec, S.","Lovitt, L.","Nanda, N.","Olsson, C.","Amodei, D.","Brown, T.","Clark, J.","McCandlish, S.","Olah, C.","Mann, B.","Kaplan, J."],"key":"baiTrainingHelpfulHarmless2022a","id":"baiTrainingHelpfulHarmless2022a","bibbaseid":"bai-jones-ndousse-askell-chen-dassarma-drain-fort-etal-trainingahelpfulandharmlessassistantwithreinforcementlearningfromhumanfeedback-2022","role":"author","urls":{"Paper":"http://arxiv.org/abs/2204.05862"},"keyword":["Computer Science - Computation and Language","Computer Science - Machine Learning"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/saurabhr","dataSources":["nZHrFJKyxKKDaWYM8","nxjWwW7fWbb5tfpKz"],"keywords":["computer science - computation and language","computer science - machine learning"],"search_terms":["training","helpful","harmless","assistant","reinforcement","learning","human","feedback","bai","jones","ndousse","askell","chen","dassarma","drain","fort","ganguli","henighan","joseph","kadavath","kernion","conerly","el-showk","elhage","hatfield-dodds","hernandez","hume","johnston","kravec","lovitt","nanda","olsson","amodei","brown","clark","mccandlish","olah","mann","kaplan"],"title":"Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback","year":2022}