Aligning Language Models with Human Preferences via a Bayesian Approach

Jiashuo Wang, Haozhao Wang, Shichao Sun, Wenjie Li
2/12/2026

No official code found. Best implementation: wangjs9/Aligned-dPM (32 stars, last commit 2023-11-06).

Abstract

In the quest to advance human-centric natural language generation (NLG) systems, ensuring alignment between NLG models and human preferences is crucial. For this alignment, current popular methods leverage a reinforcement learning (RL) approach with a reward model trained on feedback from humans. However, inherent disagreements due to the subjective nature of human preferences pose a significant challenge for training the reward model, resulting in a deterioration of the NLG performance. To tackle this issue, previous approaches typically rely on majority voting or averaging to consolidate multiple inconsistent preferences into a merged one. Although straightforward to understand and execute, such methods suffer from an inability to capture the nuanced degrees of disaggregation among humans and may only represent a specialized subset of individuals, thereby lacking the ability to quantitatively disclose the universality of human preferences. To address this challenge, this paper proposes a novel approach, which employs a Bayesian framework to account for the distribution of disagreements among human preferences as training a preference model, and names it as d-PM. Besides, considering the RL strategy's inefficient and complex training process over the training efficiency, we further propose utilizing the contrastive learning strategy to train the NLG model with the preference scores derived from the d-PM model. Extensive experiments on two human-centric NLG tasks, i.e., emotional support conversation and integrity"Rule-of-Thumb"generation, show that our method consistently exceeds previous SOTA models in both automatic and human evaluations.

View on arXivView PDF

Code Implementations(1)

wangjs9/Aligned-dPMCommunity100%

PyTorch implementation of experiments in the paper Aligning Language Models with Human Preferences via a Bayesian Approach

320Shell, PythonSep 25, 20232 years ago

Similar Papers

Cite this paper

@article{wang2026aligning,
  title  = {Aligning Language Models with Human Preferences via a Bayesian Approach},
  author = {Jiashuo Wang and Haozhao Wang and Shichao Sun and Wenjie Li},
  year   = {2026},
  eprint = {2310.05782},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.05782},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.05782.svg)](https://codeofpaper.com/paper/2310.05782)

Discussion