Contrastive Preference Learning: Learning from Human Feedback without RL. Hejna, J., Rafailov, R., Sikchi, H., Finn, C., Niekum, S., Knox, W. B., & Sadigh, D. April, 2024. arXiv:2310.13639 [cs]
Paper doi abstract bibtex Reinforcement Learning from Human Feedback (RLHF) has emerged as a popular paradigm for aligning models with human intent. Typically RLHF algorithms operate in two phases: first, use human preferences to learn a reward function and second, align the model by optimizing the learned reward via reinforcement learning (RL). This paradigm assumes that human preferences are distributed according to reward, but recent work suggests that they instead follow the regret under the user's optimal policy. Thus, learning a reward function from feedback is not only based on a flawed assumption of human preference, but also leads to unwieldy optimization challenges that stem from policy gradients or bootstrapping in the RL phase. Because of these optimization challenges, contemporary RLHF methods restrict themselves to contextual bandit settings (e.g., as in large language models) or limit observation dimensionality (e.g., state-based robotics). We overcome these limitations by introducing a new family of algorithms for optimizing behavior from human feedback using the regret-based model of human preferences. Using the principle of maximum entropy, we derive Contrastive Preference Learning (CPL), an algorithm for learning optimal policies from preferences without learning reward functions, circumventing the need for RL. CPL is fully off-policy, uses only a simple contrastive objective, and can be applied to arbitrary MDPs. This enables CPL to elegantly scale to high-dimensional and sequential RLHF problems while being simpler than prior methods.
@misc{hejnaContrastivePreferenceLearning2024a,
title = {Contrastive {Preference} {Learning}: {Learning} from {Human} {Feedback} without {RL}},
shorttitle = {Contrastive {Preference} {Learning}},
url = {http://arxiv.org/abs/2310.13639},
doi = {10.48550/arXiv.2310.13639},
abstract = {Reinforcement Learning from Human Feedback (RLHF) has emerged as a popular paradigm for aligning models with human intent. Typically RLHF algorithms operate in two phases: first, use human preferences to learn a reward function and second, align the model by optimizing the learned reward via reinforcement learning (RL). This paradigm assumes that human preferences are distributed according to reward, but recent work suggests that they instead follow the regret under the user's optimal policy. Thus, learning a reward function from feedback is not only based on a flawed assumption of human preference, but also leads to unwieldy optimization challenges that stem from policy gradients or bootstrapping in the RL phase. Because of these optimization challenges, contemporary RLHF methods restrict themselves to contextual bandit settings (e.g., as in large language models) or limit observation dimensionality (e.g., state-based robotics). We overcome these limitations by introducing a new family of algorithms for optimizing behavior from human feedback using the regret-based model of human preferences. Using the principle of maximum entropy, we derive Contrastive Preference Learning (CPL), an algorithm for learning optimal policies from preferences without learning reward functions, circumventing the need for RL. CPL is fully off-policy, uses only a simple contrastive objective, and can be applied to arbitrary MDPs. This enables CPL to elegantly scale to high-dimensional and sequential RLHF problems while being simpler than prior methods.},
urldate = {2025-01-13},
publisher = {arXiv},
author = {Hejna, Joey and Rafailov, Rafael and Sikchi, Harshit and Finn, Chelsea and Niekum, Scott and Knox, W. Bradley and Sadigh, Dorsa},
month = apr,
year = {2024},
note = {arXiv:2310.13639 [cs]},
keywords = {Computer Science - Artificial Intelligence, Computer Science - Machine Learning},
}
Downloads: 0
{"_id":"ZRdnWtBx5Hkwuqupk","bibbaseid":"hejna-rafailov-sikchi-finn-niekum-knox-sadigh-contrastivepreferencelearninglearningfromhumanfeedbackwithoutrl-2024","author_short":["Hejna, J.","Rafailov, R.","Sikchi, H.","Finn, C.","Niekum, S.","Knox, W. B.","Sadigh, D."],"bibdata":{"bibtype":"misc","type":"misc","title":"Contrastive Preference Learning: Learning from Human Feedback without RL","shorttitle":"Contrastive Preference Learning","url":"http://arxiv.org/abs/2310.13639","doi":"10.48550/arXiv.2310.13639","abstract":"Reinforcement Learning from Human Feedback (RLHF) has emerged as a popular paradigm for aligning models with human intent. Typically RLHF algorithms operate in two phases: first, use human preferences to learn a reward function and second, align the model by optimizing the learned reward via reinforcement learning (RL). This paradigm assumes that human preferences are distributed according to reward, but recent work suggests that they instead follow the regret under the user's optimal policy. Thus, learning a reward function from feedback is not only based on a flawed assumption of human preference, but also leads to unwieldy optimization challenges that stem from policy gradients or bootstrapping in the RL phase. Because of these optimization challenges, contemporary RLHF methods restrict themselves to contextual bandit settings (e.g., as in large language models) or limit observation dimensionality (e.g., state-based robotics). We overcome these limitations by introducing a new family of algorithms for optimizing behavior from human feedback using the regret-based model of human preferences. Using the principle of maximum entropy, we derive Contrastive Preference Learning (CPL), an algorithm for learning optimal policies from preferences without learning reward functions, circumventing the need for RL. CPL is fully off-policy, uses only a simple contrastive objective, and can be applied to arbitrary MDPs. This enables CPL to elegantly scale to high-dimensional and sequential RLHF problems while being simpler than prior methods.","urldate":"2025-01-13","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Hejna"],"firstnames":["Joey"],"suffixes":[]},{"propositions":[],"lastnames":["Rafailov"],"firstnames":["Rafael"],"suffixes":[]},{"propositions":[],"lastnames":["Sikchi"],"firstnames":["Harshit"],"suffixes":[]},{"propositions":[],"lastnames":["Finn"],"firstnames":["Chelsea"],"suffixes":[]},{"propositions":[],"lastnames":["Niekum"],"firstnames":["Scott"],"suffixes":[]},{"propositions":[],"lastnames":["Knox"],"firstnames":["W.","Bradley"],"suffixes":[]},{"propositions":[],"lastnames":["Sadigh"],"firstnames":["Dorsa"],"suffixes":[]}],"month":"April","year":"2024","note":"arXiv:2310.13639 [cs]","keywords":"Computer Science - Artificial Intelligence, Computer Science - Machine Learning","bibtex":"@misc{hejnaContrastivePreferenceLearning2024a,\n\ttitle = {Contrastive {Preference} {Learning}: {Learning} from {Human} {Feedback} without {RL}},\n\tshorttitle = {Contrastive {Preference} {Learning}},\n\turl = {http://arxiv.org/abs/2310.13639},\n\tdoi = {10.48550/arXiv.2310.13639},\n\tabstract = {Reinforcement Learning from Human Feedback (RLHF) has emerged as a popular paradigm for aligning models with human intent. Typically RLHF algorithms operate in two phases: first, use human preferences to learn a reward function and second, align the model by optimizing the learned reward via reinforcement learning (RL). This paradigm assumes that human preferences are distributed according to reward, but recent work suggests that they instead follow the regret under the user's optimal policy. Thus, learning a reward function from feedback is not only based on a flawed assumption of human preference, but also leads to unwieldy optimization challenges that stem from policy gradients or bootstrapping in the RL phase. Because of these optimization challenges, contemporary RLHF methods restrict themselves to contextual bandit settings (e.g., as in large language models) or limit observation dimensionality (e.g., state-based robotics). We overcome these limitations by introducing a new family of algorithms for optimizing behavior from human feedback using the regret-based model of human preferences. Using the principle of maximum entropy, we derive Contrastive Preference Learning (CPL), an algorithm for learning optimal policies from preferences without learning reward functions, circumventing the need for RL. CPL is fully off-policy, uses only a simple contrastive objective, and can be applied to arbitrary MDPs. This enables CPL to elegantly scale to high-dimensional and sequential RLHF problems while being simpler than prior methods.},\n\turldate = {2025-01-13},\n\tpublisher = {arXiv},\n\tauthor = {Hejna, Joey and Rafailov, Rafael and Sikchi, Harshit and Finn, Chelsea and Niekum, Scott and Knox, W. Bradley and Sadigh, Dorsa},\n\tmonth = apr,\n\tyear = {2024},\n\tnote = {arXiv:2310.13639 [cs]},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Machine Learning},\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Hejna, J.","Rafailov, R.","Sikchi, H.","Finn, C.","Niekum, S.","Knox, W. B.","Sadigh, D."],"key":"hejnaContrastivePreferenceLearning2024a","id":"hejnaContrastivePreferenceLearning2024a","bibbaseid":"hejna-rafailov-sikchi-finn-niekum-knox-sadigh-contrastivepreferencelearninglearningfromhumanfeedbackwithoutrl-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2310.13639"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Machine Learning"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/saurabhr","dataSources":["nxjWwW7fWbb5tfpKz"],"keywords":["computer science - artificial intelligence","computer science - machine learning"],"search_terms":["contrastive","preference","learning","learning","human","feedback","without","hejna","rafailov","sikchi","finn","niekum","knox","sadigh"],"title":"Contrastive Preference Learning: Learning from Human Feedback without RL","year":2024}