BRAIn: Bayesian Reward-conditioned Amortized Inference for natural language generation from feedback
<|reference_start|>BRAIn: Bayesian Reward-conditioned Amortized Inference for natural language generation from feedback: Distribution matching methods for language model alignment such as Generation with Distributional Control (GDC) and Distributional Policy Gradient (DPG) have not received the same level of attention in reinforcement learning from human feedback (RLHF) as contrastive methods such as Sequence Likelihood Calibration (SLiC), Direct Preference Optimization (DPO) and its variants. We identify high variance of the gradient estimate as the primary reason for the lack of success of these methods and propose a self-normalized baseline to reduce the variance. We further generalize the target distribution in DPG, GDC and DPO by using Bayes' rule to define the reward-conditioned posterior. The resulting approach, referred to as BRAIn - Bayesian Reward-conditioned Amortized Inference acts as a bridge between distribution matching methods and DPO and significantly outperforms prior art in summarization and Antropic HH tasks.<|reference_end|>
@article{pandey2024brain:,
    title={BRAIn: Bayesian Reward-conditioned Amortized Inference for natural
  language generation from feedback},
    author={Gaurav Pandey, Yatin Nandwani, Tahira Naseem, Mayank Mishra, Guangxuan
  Xu, Dinesh Raghu, Sachindra Joshi, Asim Munawar, Ram'on Fernandez Astudillo},
    journal={arXiv preprint arXiv:2402.02479},
    year={2024},
    archivePrefix={arXiv},
    eprint={2402.02479},
    primaryClass={cs.LG cs.AI cs.CL cs.HC}
}