WorksComputer Science
Aligning Large Language Models with Human Feedback: Mathematical Foundations and Algorithm Design
Abstract
This article provides an introduction to the mathematical foundations and algorithmic frameworks used to align Large Language Models (LLMs) with human intentions, preferences, and values. We discuss standard alignment techniques, such as fine-tuning (SFT), reinforcement learning with human feedback (RLHF), and direct preference optimization (DPO). We also explore the theoretical underpinnings of learning from human preferences, drawing connections to inverse reinforcement learning (IRL) and discrete choice models. We present state-of-the-art algorithms in a tutorial style, discuss their advantages and limitations, and offer insights into practical implementation. Our exposition is intended to serve as a comprehensive resource for researchers and practitioners, providing both a foundational understanding of alignment methodologies and a framework for developing more robust and scalable alignment techniques.
Introduction
Background. As large language models (LLMs) have taken the world by storm, it is clear that generative AI systems will soon become ubiquitous in our lives. LLMs have been applied beyond chatbots and personal assistants to tackle complex challenges, including video gaming [1] and autonomous control [2]. After the successful introduction and demonstrated efficacy of alignment training in LLMs [3, 4], the concept of alignment has been playing an increasingly important role in the design and training of AI systems. Loosely speaking, alignment refers to the performance guarantee that the AI system will generate outcomes that are intended or preferred by the human user without undesirable side effects or behaviors such as deception or manipulation.
More technically, the LLM alignment problem involves fine-tuning or adjusting a base model that was originally trained on extensive, diverse datasets. While such a base model is trained to learn core behaviors and general knowledge, it often falls short when applied to specific tasks or to meeting the nuanced preferences of a human user. To better align the model, additional feedback is gathered from human experts who evaluate and/or rank the model’s performance within a specific task context. As demonstrated in [4, 5], reinforcement learning (RL) holds significant promise for LLM alignment by leveraging additional feedback to enhance their performance. This feedback embodies expert judgments regarding both the accuracy of the model’s responses and any particular preferences they may have. The goal is to refine the model to better meet these specific requirements, ultimately enhancing its task relevance and user satisfaction. Generally, it is observed that after the alignment process, LLMs can follow human instructions well, and can avoid providing toxic and non-preferable responses. Please refer to Figure 1 as an illustration of the alignment process.
Figure 1. An illustration of the alignment process.
Contributions of This Work. Despite extensive study of the alignment problem in recent literature, this research area remains young, and it is still evolving rapidly with many unresolved theoretical challenges. A primary contribution of this article is to introduce the signal processing community to the fundamentals of alignment, highlight state-of-the-art algorithms and approaches, and clarify the intersection between alignment methodologies and various techniques relevant to signal processing (SP).
We believe that our article will foster interdisciplinary contributions and expand the role of SP in LLM alignment research. By understanding the alignment problem, SP researchers can leverage their expertise in mathematical modeling, noise handling, inverse problem-solving, and optimization to address a number of key challenges. For instance, similar to reconstructing signals from observed data in SP, many alignment approaches involve solving inverse problems, such as learning the human preference models from the data. Therefore, we expect that introducing the alignment to SP professionals can foster innovation in AI safety, inspire novel techniques, and accelerate the development of robust, generalizable alignment frameworks that can be applied across diverse applications.
Organization of this work. The article is organized as follows. In § 2, we provide the readers with an overview of the LLM training process. In § 3, we discuss some classical notion and techniques of learning from human preference, which serves as the foundation for many alignment approaches to be discussed subsequently. In § 4, we provide a detailed discussion of a number of state-of-the-art algorithms for different stages of LLM alignment. In § 5, we provide readers with a framework that unify a few alignment algorithms discussed in the previous section under a single formulation. In § 6, we provide some high-level discussion. In § 8, we conclude with final remarks and open questions.
Preliminaries
In this section, we provide a basic description of the LLM training process, while emphasizing the basic concepts relevant for alignment problems that we will describe in the sequel.
LLM Representation. Consider an LLM parameterized by parameters and denote the output probability by where is the sequence of input prompts and is the sequence of output continuation, where and are their sequence length, correspondingly. In practice, each one of and is a token, which is one element of a token vocabulary. A token is a discrete unit that represents certain semantic information. For example, a word “learning” itself could be one token in the vocabulary, however more commonly two elements “learn” and “-ing” are both tokens where “-ing” represents the semantic information of tense. A tokenizer is commonly utilized to transform an input natural language sentence into sequence of tokens and . Given sequences and , we use and to denote the length of the sequence and .
Typical LLM is an auto-regressive model, meaning that it predicts the output probability of the given all tokens in and ( is null). More precisely, the probability of producing a sequence can be defined as:
The state-of-the-art LLMs are built upon the attention mechanism [6] and represents all the trainable parameters, including the attention matrices and weights of the feed-forward layers.

Figure 2. An illustration of Auto-regressive LLMs. Here <BOS> and <EOS> are two special tokens representing the start and the end of the sentence, respectively. The tokens at the bottom are the input token sequence, and those at the top are the output tokens. In this example, the token sequence “<BOS> All transformer models ” is given to the LLM and “are generative models <EOS>” is the prediction. Each of the previous tokens will be used to predict the next token, corresponding to (1).
Model Architecture. Before going to the details, we briefly discuss the standard architectural design adopted by modern large language models. Most LLMs are built upon the Transformer [6] architecture, which consists of a stack of self-attention and feed-forward (MLP) [7] layers interleaved with normalization [8] and residual connections [9]. Each input token is first embedded into a continuous representation and then processed through multiple attention heads, where self-attention [6] computes contextualized token representations by weighting all previous tokens according to their learned relevance. Formally, each attention head computes , where are linear projections of the hidden states. The output of each attention block is then passed through the MLP layers or normalization layers such as LayerNorm [10], forming one Transformer block. Stacking such blocks yields a deep auto-regressive model that predicts the next-token probability as defined in (1). These components together define the function class over which subsequent alignment and optimization problems are formulated.
Next, we provide an overview of the different stages of LLM training. Before delving into the alignment-specific stages, it is worth noting that fine-tuning is widely used in LLM training beyond alignment tasks. Depending on the supervision signal, fine-tuning can take the form of supervised fine-tuning (SFT) or RL-based optimization. These approaches have been extensively applied to a variety of downstream objectives, including domain adaptation, instruction following [11], reasoning enhancement [5, 12], controllable generation [13], and agent training [14, 15]. For completeness, we briefly review both stages below.
The LLM pre-training. The first stage of the training is called pre-training, where an LLM model is initialized randomly and trained over a vast corpus of documents, known as the pre-training dataset. As an example, Llama 3 model is pre-trained on more than 15T token of documents collected from all over the Internet, with the entire token vocabulary size (i.e., the total number of distinct tokens) of 128K [16]. The pre-training dataset is an unsupervised dataset, denoted as , where each sample is a sequence of tokens, and denotes the length of the sequence. is a dataset without labels usually collected from the internet, such as Wikipedia articles; the learning task at the pre-training stage is typically formulated as the so-called next-token prediction task, which predicts the next token given the current and all previous tokens shown to the LLM, and can be mathematically formulated as a negative log-likelihood minimization problem:
This task is commonly understood as encouraging the LLM to memorize all the given texts and enabling the LLM for more fine-grained tasks. (2) is further solved by first order optimizers such as SGD, RMSProp [17] and AdamW [18, 19]. In practice, AdamW is the default optimizer for pre-training, fine-tuning and aligning LLMs due to its efficiency and stability. We use AdamW to solve all the alignment protocols in this work unless otherwise mentioned. The LLM Alignment. Once the pre-training is done, the next step is called alignment or fine-tuning. The fine-tuning process is a supervised process that aims at improving the instruction following capabilities of LLMs to better align with human behaviors and values. It usually consists of two main steps: the supervised fine-tuning (SFT) step and the reinforcement learning with human feedback (RLHF) step.
The SFT step utilizes a demonstration dataset , where is the input prompt (such as, “Where is the capital of the US?”) and is the expert response (such as, “Washington, DC”). We assume that the demonstration continuations are collected from an expert (typically a human expert, but sometimes it can also be a very large and well-aligned model such as GPT4 which produces high quality responses), thus we also denote as as their population distributions, where is the distribution of the input prompts when collecting the data, and is the expert policy.
Meanwhile the RLHF step first utilizes a preference dataset to learn from human preference about the quality of the answers to a particular question . This dataset is denoted as , where is preferred (i.e., ‘wins’) over (i.e., ‘loses’) by a human labeler, and will be exclusively denoted as throughout the paper. We use the notation to denote the population distribution of the preference dataset, where is the preference distribution. The preference data is typically used to learn a parameterized reward function where is the reward parameters. The reward model provides a score for a given prompt-response pair . Once such a reward function is learned, the RLHF step leverages this reward function, together with a prompt dataset , to evaluate and further improve the quality of the generated responses, through reinforcement learning (RL) process. The whole process of RLHF is summarized and illustrated in Figure 3.
Figure 3. An illustration of the standard LLM Alignment process. The standard RLHF pipeline first trains a supervised model on demonstrations, then builds a reward model from preference data, and finally optimizes the policy with RL guided by the reward model.
Below we provide an example of the demonstration and the preference data.
Example 1: Data of LLM Alignment. Given a question prompt “How should I respond to an email from my professor asking for a delayed assignment?” The demonstration data includes a preferred answer “You can politely acknowledge the delay and provide a reasonable explanation. For example: ‘Dear Professor, I apologize for the delay in submitting my assignment. I encountered unexpected challenges but will submit it by [new deadline]. Thank you for your understanding.” Meanwhile, the preference dataset includes an additional non-preferred answer, e.g., “Just say you were busy and didn’t have time. Professors have to deal with it.” Clearly, the preferred response aligns with human values of politeness and professionalism.
We will provide a detailed account of popular methods to learn from these different kinds of datasets in the subsequent sections. In a high level, the SFT step can be used to directly teach LLM to imitate the expert behavior, while the RLHF step teaches LLM to distinguish the better behavior over the worse ones, in order to achieve a better generalization.
Based on the above discussion, we can now define the LLM alignment problem as follows:
LLM alignment problem: Given a diverse dataset representing human demonstrations and preferences, how can we effectively train an LLM to consistently generate outputs that align with human values, ethical principles, and intended use cases?
The LLM Evaluation. Before closing this introductory section, let us briefly discuss how the LLMs are evaluated after different stages of training. At the pre-training stage, the model learns to predict the next token probabilistically. The model is thus evaluated on how well it predicts the next token, and the common measure is the perplexity (PPL).
Mathematically, given a sequence , perplexity is defined as the exponential of the average negative log-likelihood of the tokens:
which assigns a single score to each sequence. A lower perplexity indicates that the model is more confident and accurate in predicting the next tokens.
In the fine-tuning stage, multiple metrics are typically used. After the SFT step, the metric is usually determined by the nature of the task. For classification tasks such as sentiment analysis (i.e., given a text of words, determine whether the sentiment of the text is positive or negative), traditional metrics, such as accuracy, precision and recall are used; For translation tasks, BLEU (BiLingual Evaluation Understudy) score is the most popular metric, which measures how similar a machine-translated text is to a human-written reference translation. After the RLHF step, the aligned model could be evaluated by win-rates from human raters or some judge models (typically takes the form of a specialized LLM), which calculate the favorability of the model response over other models/ground truth response.
In the next section, we will begin our technical discussion by delving into classical techniques on learning from human feedback data. This will serve as mathematical foundation for various alignment techniques to be discuss subsequently.
Theoretical Foundations of Learning from Human Feedback.
Given the background above, it is clear that the alignment problem is closely related to the problem of modeling human behaviors through the observed choices. Indeed, in the context of LLM, the response in the demonstration data as well as the labels that distinguish ’s with ’s can both be viewed as human choices. It turns out that there is a vast literature about developing models for discrete choices, and these models were first used to describe discrimination between perceptual stimuli [20] and choices for urban transportation modes [21]. In this section, we will provide a brief overview of this literature.
Classical models of discrete choice
The choice models are used to describe observed choices (or actions) made by a decision maker given a relevant state variable . A parallel to LLM alignment problem described in the previous section can be made by having the state correspond to the prompt and the action corresponds to the possible responses ’s to the prompt.
As in the previous section, we use the notation to indicate that in state action is preferred over . An assumed structure of preferences over action set is a relation , which is
Complete: or for all and .
Transitive: and implies , for all , .
A structure of preferences can be modeled by a reward (or utility) function , such that if and only if . This implies when in state , the decision maker will always prefer to . However in practice, one may observe a decision maker engages in mixing, i.e. implementing different actions when in the same state . In the context of LLM alignment, mixing corresponds to observing different responses to the same prompt.
There are several ways of modeling mixing in the literature of discrete choice:
Random Utility: In this model, the decision maker perceives a random reward (or utility) (where is a random variable) given the pair . A pair is preferred to if:
For a given state and a reward , the probability of such preference can be modeled as follows:
When the random variables are assumed i.i.d and standard Gumbel we obtain the following logit model [22, 23] (also known as the Bradley-Terry-Luce model (BTL)):
where . In [24], the authors summarize the various motivations and use-cases of the BT model. We will see later that the logit model expressed above has been heavily used in the RLHF step to learn a reward function from preference data.
Perturbed Utility: Stochastic choice can also arise as the solution to expected reward maximization subject to an additive perturbation [25] which may describe limited information processing capacity. [26] or aversion to ambiguity [27]. Assuming that the reward function is known, then the optimal stochastic choice can be modeled as the following utility maximization problem
where is the simplex; is a convex function; is a constant. For example, when is the (forward) Kullback-Leibler (KL) divergence with respect to a default policy defined as
then the optimal stochastic choice can be expressed as follows:
It should be noted that in order to precisely calculate the optimal policy, one has to assume that all available actions in are known. Nevertheless, the perturbed utility model described here is instrumental for establishing a number of LLM alignment approaches, assuming that a reward model is available.
The reward learning problem
Based upon the observed preferences by an agent and the model (3), the estimation problem consists of finding a reward function that rationalizes the data, so that observed preferences are consistent with a reward model. Specifically, the likelihood of can be written as
In general, there is no unique reward function that maximizes likelihood . However, assuming the reward for a reference action is known, it can be shown a unique reward function that maximizes likelihood function .
Alternatively, based upon the observed choices and assuming these choices are consistent with the model (6). Then the estimation problem consists of finding a reward function that maximizes the likelihood of defined as:
As pointed out before, a limitation of this model is the assumption of complete information on the menu of available choices . When the reward is linearly parametrized, i.e. where and is a vector of features, problem (8) is the Lagrangian dual of the maximum entropy estimation problem (see Theorem 2 in [28]):
State-of-the-art Algorithms for LLM Alignment
In this section, we provide an overview of the mathematical formulation of the alignment problem, and a number of state-of-the-art algorithms. To facilitate discussion, this section is organized according to the structure of the available data.
Learning from demonstrations data
We begin with the discussion on how to model and learn from demonstration data . Given the prompt , the response is viewed as a golden answer. A natural approach to learning from such a dataset is supervised learning, leading to the supervised fine-tuning (SFT) paradigm. To this end, we formulate the following optimization problem over the LLM parameters class :
where is the expert policy. It is easy to see the above problem shares the same optimal solutions as
where is the (forward) KL-divergence defined in (5). The latter shows that SFT aims at imitating the demonstration dataset via minimizing the KL divergence. Given a dataset of expert demonstrations, we show the SFT method in Protocol 1 where is a finite sample version of in (9).
It is worth noting that the SFT stage described here is closely related to behavioral cloning [29, 30], whose goal is to mimic the policy of an expert, we describe the details in the next paragraph.
Behavioral cloning approaches
Behavioural cloning (BC, see Protocol 1) it is an offline problem where the learner cannot collect new data using the current policy, but should learn relying exclusively on the expert dataset [29]. This can be done via a reduction to supervised learning where the actions are the labels to be predicted and the states are the features. Very recently, [31] show that exact minimization of the loss allows to output a policy which enjoys suboptimality guarantees compared to the expert. Their experiments and theoretical analysis also show that the guarantees and practical performance of the method do not deteriorate for long horizon problems. Unfortunately, exact minimization of the loss is not possible for non-convex policy classes, and to our knowledge, there are currently no studies investigating how those optimization errors affect performance. In [32], the authors proposed offline inverse reinforcement learning (IRL)-based imitation leraning methods in the SFT setting to effectively utilize the sequential structure underlying autoregressive generation. Compared with standard SFT method, the IRL methods can extract both reward and policy from the demonstration dataset. Moreover, the authors find that offline IRL-based imitation retains diversity while maximizing task performance. In this sense, IRL can also be regarded as a strong alternative on fixed SFT datasets even without online data generation. In § 5, we will discuss the details of IRL in LLM alignment. It is also important to notice that in the alignment of LLM, the environment is simpler than what generally assumed in analyzing and empirically testing BC. Indeed, in language tasks LLMs are tree shaped and deterministic.
Protocol 1 SFT (Supervised Fine Tuning) via Behavioral Cloning (BC)
The learner receives: (i) A dataset , (ii) A policy function parameters class .
The learner computes the loss: .
The learner outputs with .
Self generation approaches
An alternative approach, dubbed SPIN (Self-Play fIne-tuNing), presented in [33] casts the fine-tuning with demonstration problem as a two-player game. On the one hand, the first player tries to generate answers as similar as possible as the observed ones in . On the other hand, the second player’s aims at distinguish artificially generated answers from the answers in the demonstrations dataset . The algorithm employs alternating updates between the first and second player. In particular, at iteration , the first player observes the second players parameters and updates its weights via the following minimization over potentially time-varying parameters classes as
where is a monotonically decreasing, non negative, smooth and convex function. A common choice in practice satisfying the above properties is the logistic loss function . All these properties are imposed to make the optimization problem easier to solve via first order methods. At this point, the second player can update its weights exploiting knowledge of . This is done by solving the following problem: , which is an application of Equation (4) for . The analytical solution of the above problem is surprisingly easy to obtain (analogously to (6)): , if the class is expressive enough compared to the class . To ensure that this is the case, in [33] the class is chosen to be coupled with as follows, . Another benefit of this choice is that the two updates can now be expressed as single update over the weight class . Indeed, (11) is at this point equivalent to
The practical algorithm can be obtained via a stochastic estimator of this loss constructed with the dataset , as described in Protocol 2. We note that SPIN shares similarity with Direct Preference Optimization (DPO), to be described in Section 4.3, however there are also important differences that we will highlight in Section 5.
In SPIN, the adversarial imitation procedure leverages self-generated data to recover a demonstration-level policy (see Equation (11)).
Protocol 2 SFT (Supervised Fine Tuning) via SPIN (Self-Play fIne tuNing)
The learner receives: (i) A dataset , (ii) A policy function parameters class .
for do
The learner samples and computes the loss:
end for
The learner outputs
Protocol 3 GAIL (Generative Adversarial Imitation Learning) [34]
The learner receives: (i) A dataset , (ii) A policy function parameter class , (iii) A discriminator parameter class .
The learner optimizes the following problem:
The learner outputs
Notably, both adversarial imitation frameworks like TextGAIL [34] (see Protocol 3) and online IRL approaches [35] similarly incorporate self-generated rollouts into their training pipelines to enable effective learning from demonstrations. We discuss these details of IRL approaches and their connections with other baselines in § 5.
Information theoretic approaches
Recent works [36, 37] considered matching general information theoretic divergences between answers distribution.
As mentioned, minimizing the forward KL divergence between demonstrated and learner answer distribution is equivalent to the SFT objective in (10). As commonly noticed, the forward KL minimization outputs a mode covering distribution. That is, the learned distribution has support which contains the support of the demonstrations distribution.
However, a mode seeking behavior can be more desirable if one wants to perfectly imitate some aspects of the demonstrations while discarding others. We refer the reader to Figure 4 for a visual illustration. To this end, [36] suggested to minimize the reversed KL divergence

Figure 4. True distribution in blue and estimated distribution in green. When the estimated distribution has a smaller support than the true one, as in the left plot, we say that it has a mode seeking. Vice versa, the estimated distribution has a mode covering behavior if its support is larger, as in the right plot. Image from https://g/sander.ai/2020/03/24/audio-generation.html.
This method however requires additional prompts and answers generated by the learner policy. As a last example of divergence minimization, [38] considers divergence minimization.
Protocol 4 RLHF (Reinforcement Learning from Human Feedback)
The learner receives: (i) A preference dataset , (ii) A prompt dataset , (iii) A reward function parameter class , (iv) A policy function parameter class .
The learner estimates the reward as with
The learner finds , using RL trainer.
The learner outputs .
Protocol 5 PPO (Proximal Policy Optimization) [39]
Receive policy class parameters . Initialize .
for do
Sample and .
Update the value function
Compute advantages according to generalized advantage estimation at the token level
The learner computes
end for
The learner outputs .
Learning from preferences
Learning from preferences is usually performed in two steps: (i) reward learning using the preference dataset (ii) based on the reward model learned in the first step, further fine-tune the LLM by conducting reinforcement learning using a prompt dataset. Note that these two steps are closely related to the two types of stochastic choice models discussed in § 3.1.
Reward learning To find an appropriate reward model, RLHF (see e.g., [41]) leverages a set of preference dataset , where each data contains a pair of output . The output is preferred over by human labeler (denoted as ). Leveraging the the Bradley-Terry model (BT) discussed in (3) and the likelihood of the preference data (7), one could formulate the Protocol 6 REINFORCE [40]
Receive policy class parameters . Initialize , step size
for do
Sample outputs and .
The learner computes the gradient estimator
end for
The learner outputs .
following problem to find the reward model (parameterized by ):
where denotes sampling from the distribution of the preference dataset. Protocol 4 describes the procedure where is learned via minimization of the empirical loss . In the empirical loss , we replace by sampling from a finite preference dataset .
Policy Learning Once a reward model is learned, the LLM can be fine tuned on the top of SFT by leveraging the perturbed utility model (4), which results in the following problem:
where is a reference model such as the SFT-ed model, and is the regularization coefficient of the KL regularizer. Here, the optimal policy in (14) under the reward parameter has the following closed-form expression:
where we have . Note that both the expected reward and the KL in (14) are not computable given the large cardinality of and , so (14) is usually solved approximately by minimizing an empirical loss, using policy optimization techniques such as REINFORCE [40], RLOO [42], PPO [39] and GRPO [43]; see Protocol 4 - 8.
Pros and Cons: PPO or REINFORCE? PPO was proposed as an improvement over the REINFORCE algorithm in environment where the gradient estimates generated by REINFORCE suffer from high variance. As a result, PPO enforces conservative policy updates to counterbalance the high variance effect. However, as argued in [42], for the LLM fine-tuning task the gradient variance is not as high to justify the PPO conservative mechanism. Since both options are used across the community, we describe both algorithms in Protocols 5 and 6 respectively. As a remark, PPO requires a critic model to estimate the advantage function which can be used to compute the value function score at each token level and compute the token-level advantage estimation. Consequently, training the critic model for token-level advantage estimation will also
Figure 7.
Receive policy class parameters and reward model parameters . Initialize , step size
for do
Sample outputs and .
The learner computes rewards for each output .
The learner computes the estimated advantage function
The learner computes
end for
The learner outputs .
incur additional memory overhead. REINFORCE does not require training a critic, therefore it is more memory efficient than PPO. RLOO [42] is a modern REINFORCE modification that retains the advantage of not keeping a critic in memory and achieves a variance reduction effect subtracting the average of the other rewards (see Protocol 7). It can be shown that the RLOO estimator is an unbiased estimator of the advantage. Recently, a new policy optimization method (GRPO) which does not require an estimated reward model has been introduced and has been proven successful in reasoning applications (see Protocol 8 and § 4.5).
Pros and Cons: Learning from demonstrations vs learning from preferences. It is widely observed that the models learned only using SFT stage do not perform as well as those that are trained via episodically learning the policy (14) and learning the reward (13) on top of the SFT models [4]. This is partly because the reward model and the RL algorithms together guide the LLMs to explore high-quality responses that can go beyond those defined by the SFT data, thus improving their generalization capabilities [44]. Moreover, obtaining the SFT dataset is typically more expensive than obtaining preference data, therefore standard alignment process leverages both the SFT and the preference data.
Learning from preferences without online generations: Direct Preference Optimization
Direct Preference Optimization (DPO) [45] bypasses the need to perform the RL, by noticing that minimizing admits an analytical solution if we optimize over the whole Marvov stationary policy space denoted by . In fact, notice that from our discussion on stochastic choice model (6), for a fixed , the solution to the policy optimization problem is defined in (15). This implies that for all , it holds that . Such a quantity cannot be computed in closed form because computing is intractable. However, for two possible answers , to the same Protocol 8 GRPO (Group Relative Policy Optimization) [43]
Receive policy class parameters , and reward model parameters . Initialize .
for do
Sample outputs and .
The learner computes rewards for each output .
The learner computes the estimated advantage function
The learner computes
end for
The learner outputs .
question , it holds that . Therefore, the difference of reward functions for different answers can be computed efficiently as the normalization constant does not appear, i.e.
Protocol 9 DPO (Direct Preference Optimization)
The learner receives as input:
A preference dataset .
A policy function parameters class .
The learner computes the stochastic loss.
The learner outputs with .
It follows that we can plug in the above analytical solution into the loss (13) to obtain the following bi-level optimization problem that finds the optimal reward parameterization:
where is an optimal policy defined in (15) under a certain reward model parameterized by . If one faithfully follows the above approach, then one would first compute the optimal reward , then use it to identify the optimal policy using (15). To avoid training two separate models, [45] proposes to directly parameterize the policy and find the parameters that solve the following problem:
Notice that, as shown in Protocol 9, an empirical estimate of this loss can be computed without the need of the dataset and online generations. A first clear advantage of DPO over RLHF is that only the policy parameter is kept in memory. The reward network does not need to be stored, therefore, as shown in the Figure 5, DPO is more memory efficient than RLHF. Further, no self-generation such as line 3 of Protocol 5 and 6 is needed, so DPO is much easier to implement as compared to RL based algorithms.
Figure 5. Estimated memory consumption of running the Pythia-1B model on TL;DR dataset with batch-size 2 on a single device
However, dropping the analytical form of in the last step of the DPO derivation creates practical differences between the performance of DPO and RLHF. Therefore, DPO and RLHF are not equivalent, in particular, since we dropped a constraint, the solution set for DPO is a superset of the solution set for RLHF (Theorem 4.1 in [46]). Recent studies suggest that RL-based fine-tuning has greater potential to enhance the performance of LLMs compared to the DPO [46].
From the formulation of DPO in Eq. (19), we see that DPO only fits the given preference data and does not leverage online generations from its own model (see line 3 of Protocol 5 and 6). Due to the lack of the optimal policy constraint, the model trained by the DPO method can suffer from the limited generalization capability and can encounter the distribution shift issue when the coverage of the preference dataset is limited.
Furthermore, when there exists distribution shift between the model outputs and the preference dataset, the performance of DPO can be significantly affected. A possible way to circumvent this problem is to use DPO in an online fashion [47]. In contrast, in the RLHF training pipeline, the policy model is trained by RL and has leveraged online generations from the model itself, which can alleviate the distribution shift issue between model outputs and the preference dataset through leveraging the generalization power from the explicit estimated reward model. Similar empirical observations for the potential drawbacks of DPO compared with RLHF / PPO has also been observed in recent study [46]. Hence, to unlock the full potential of LLMs, it appears that RL is a necessary step in the post-training pipeline.
The toy example in [46] that we report in Table 1 shows that the solution set of DPO is a strict superset of the solution set of RLHF. In particular, there are minimizers of the DPO loss assign positive probability to answers for which no information is available ( in this example). This example shows that DPO should not be applied when the preference dataset has poor coverage of the answers set . For more practical problems, it is also observed that DPO can be less performant in terms of winrate against the model fine tuned via RLHF; see Table 2.
| Action | |||
| 0.5 | 0.5 | 0 | |
| 0.0 | |||
| 1 | 0 | 0 |
Table 1. The policy minimizes for any . Hence, for , it produces a policy with support which is not a subset of . The same can not happen for that minimizes .
| PPO Win | Tie | DPO Win | |
| PPO V.S. DPO | 42 | 28 | 30 |
Table 2. On HH-RLHF, GPT-4 is used to decide the winner between PPO and DPO models’ output. Taken from [46].
Learning from preference without the BT assumption.
Regardless of using RLHF and the DPO approach to perform alignment, one key step is to use the BT model (13) to model human preference. The BT assumption implies transitivity. This is restrictive because the preference dataset collected from different individuals might not be transitive even if each person follows a transitive model in generating the preference. As an example, let us consider 3 individuals and 3 possible answers . Let us denote the preference model of individuals . Suppose that they follow the following preference models:
Notice, that each of these models is transitive. However, the average model defined as satisfies . That is, the average model is not transitive and can not be modeled by the BT assumption. In the sense, the BT assumption is data wasteful. In this example, one should consider preferences only from a single individual in order to make the BT assumption valid. Not enforcing the BT assumption, allows to use more data, i.e. preferences from all the three individuals. Given this motivation, recent works [48] investigated learning from preferences directly. The training happens in two stages as in RLHF: the first step uses maximum likelihood to learn a preference model rather than a reward function, and a second step identifies a Nash equilibrium rather than an optimal policy.
Protocol 10 NLHF (Nash Learning from Human Feedback)
1: The learner receives as input: (i) A preference dataset , (ii) a prompt dataset , (iii) a preference model function parameters class and (iv) a policy function parameters class .
2: The learner estimates the preference model as with
3: The learner computes the stochastic objective
4: The learner outputs with .
Preference learning First, we learn via maximum likelihood, a preference model such that is the probability that certain oracle, which produced the preferences in the dataset , prefers answer over following the prompt . Mirroring the procedure in RLHF, let us consider a preference model class with parameters class , i.e. , consider the following minimization problem (where PM stands for preference modelling):
Protocol 10 shows how to do this practically, minimizing an empirical unbiased estimate for .
Nash equilibrium learning After learning the preference model, [48] proposes to find the unique Nash equilibrium of the objective in Protocol 10. Due to the min max structure of this problem, the optimization algorithm design is more delicate and require careful conservative updates to ensure last iterate convergence. However, this additional complexity on the optimization side comes at the benefit of dropping the BT assumption and therefore accommodating a larger number of preference data.
Experiments in [48 Table 1] shows that the NLHF method dubbed MD1 achieves win rate of 0.598 against the same model aligned via RLHF on a text summarization task. The drawback of this method is that it requires solving a minmax optimization problem rather than the simpler minimization problem required in RLHF.
Learning from data verifiers via Rule-Based Reinforcement Learning
Before closing this section, we would like to mention a recently developed alignment strategy, which is fundamental for training powerful reasoning models such as DeepSeek-R1 [5]. The general idea is simple: To teach the model to solve many challenging math, STEM or coding related problems, a reward model is no longer needed. Rather, one can simply use a solution verifier, which simply verifies whether the solution is correct or not. In [5], the authors proposed to use LeetCode tests case as verifier for programming questions, while creating a dataset of mathematical problems from OpenWebMath for math verifiers. In particular, in the reproduction of the Deepseek R1, [49] adopted the rule-based reward system that comprises two types of rewards: Format Reward and Answer Reward. Here, we show the detailed reward designed in [49] as below:
where is the format reward and is the answer reward.
However in [5], it is noted that the model which optimizes purely the rule based reward, i.e. DeepSeek-R1-Zero leads to poor language skills suffering for example from language mixing. To avoid this, [5] uses multi-stage training with learning with verifiable rewards at the initial stage and SFT/preference based learning used at the final stages to improve the language skills of the model. In the initial stage, the rule based reward is optimized via GRPO in Algorithm 8.
A Unified Perspective for LLM Alignment
So far we have discussed a number of state-of-the-art approaches for LLM alignment. Generally speaking, they can be divided into two categories: alignment using the demonstration data, and alignment using the preference data. One might wonder why algorithms belonging to these two categories are so different (e.g., supervised learning vs. reward learning + RL). After all, both families of algorithms are trying to learn from some forms of human preference. In this section, we provide a perspective derived from the stochastic choice model discussed in § 3, which serves to unify different approaches of alignment.
Recall that in § 3, we have introduced two estimation problems (7) and (8). Although they use different datasets (i.e., the former uses the preference dataset , while the latter uses the demonstration dataset ), they share a few common properties: (1) the reward function can be learned from both datasets and (2) both maximize some form of the likelihood function. These observations lead to the following questions:
(Q1) Given that the formulation of the demonstration-based problem also allows for reward learning, why do existing alignment algorithms only learn rewards from the preference dataset but not from the demonstration dataset?
(Q2) Since both problems maximize the likelihood functions, why do we need to separate the alignment process into different stages (i.e., SFT and RLHF)?
In the following, we will first address question (Q1) by formulating a new problem that learns both the reward and the policy from . We will show that this formulation is closely related to a class of RL problem called inverse RL (IRL), and we will derive efficient methods from the IRL literature. Somewhat unexpectedly, it turns out that a number of algorithms discussed in the previous section, such as SFT and SPIN, can be viewed as special cases of the IRL-based approach.
Furthermore, leveraging the development in (Q1), we address (Q2) by introducing a framework that unifies the two stages of alignment problem into a single stage. The new framework, named Alignment with Integrated Human Feedback (AIHF), jointly learns a reward and a policy by maximizing the likelihood of both and . We will discuss the connection of AIHF with various alignment algorithms introduced in the previous section.
Jointly learning policy and reward from the demonstrations data
To jointly learn a reward and a policy from the demonstration dataset , let us leverage the estimation problem (8) derived from the stochastic choice theory. Given the demonstration sampled from an expert policy , we can directly translate (8) with the optimal reward defined in (4), into the LLM alignment setting and obtain the following problem [50]:
Compared with the SFT formulation in (9), we see that (19) shares the same objective, but has an additional constraint which ensures that the policy has to be an optimal policy under a certain reward model.
The problem (19) falls under the class of inverse reinforcement learning (IRL) problems, where the objective is to jointly learn an optimal policy and the underlying reward model, assuming access to expert policy samples. Similarly, as noted in § 4.1.1, the conventional SFT formulation (9) is a form of BC that aims to replicate an expert’s policy. However, BC generally exhibits poorer generalization than IRL. Indeed, [51] shows that BC is a suboptimal approach to learning from demonstrations, leading to regret bounds that scale quadratically with the problem horizon. This arises due to distribution shift – the learned policy may encounter states not covered in the demonstration data, causing compounding errors that increasingly deviate from the expert trajectory over time.
In contrast, IRL mitigates distribution shift and achieves better generalization by explicitly modeling the expert’s reward function, rather than simply mimicking actions. By recovering an estimate of the reward structure that drives expert behavior, IRL enables the agent to make goal-directed decisions even in unseen states. This contrasts with BC, which lacks an underlying objective thus often struggles in novel situations. Additionally, optimizing policies with a learned reward function allows for adaptive behavior, where the agent can deviate from expert demonstrations in a way that still aligns with the inferred intent. As a result, IRL-based policies are generally more robust in complex environments where state distributions differ from training data [52]. Recognizing the limitations of standard SFT methods, particularly regarding distribution shift, researchers have proposed a range of IRL-based techniques [32, 34, 35, 53] to more effectively leverage demonstration data.
Unfortunately, the IRL problem (19) appears to be much more involved compared to the SFT problem (9), as it involves two levels of optimization problem stacked in hierarchy. It turns out that there is a way to simplify it. In [54, 55], the authors show that when a finite demonstration dataset is available, one can consider the following surrogate objective:
As a remark, one can plug the closed-form expression of the optimal policy into the maximum likelihood objective (20), then one can see that the surrogate objective (22) is a finite-sample version of the IRL problem (19). Further, as the number of demonstration data becomes large, problem (22) becomes asymptotically close to problem (19), in the sense that their optimal solutions become asymptotically close to each other (with provable bounds) [54]. The surrogate objective in (22) offers an alternative interpretation of the IRL problem formulated in (19) from the adversarial training perspective. Specifically, the reward estimator is optimized to distinguish between expert demonstrations and self-generated trajectories (the max problem), while the policy is optimized to generate trajectories which can best mimic the expert demonstrations and the self-generated trajectories (the min problem). Therefore, it is reasonable to develop practical algorithms based on (22), which is apparently much easier to optimize. As suggested in [55], one can use the following alternating algorithm to optimize the reward and the policy:
Note that if we directly apply the above gradient descent/ascent algorithm to (22), then in (23) should be a linear function . Considering that the use of a linear loss function results in an unbounded objective value, one can typically choose some easy-to-optimize loss functions such as log sigmoid function . Next, let us make some remarks about the algorithm (21).
Connection to the RLHF. We observe that (21) is an iterative update scheme which integrates the reward and policy updates. This closely resembles the RLHF pipeline, where both the reward and policy are updated. There are two major differences. First, in RLHF the reward and the policy are updated in two separate stages, while here they are updated iteratively. Second, since only demonstration data are available, when learning a reward model in (23), the demonstration is always treated as the preferred data, while the non-preferred data are the model-generated responses. This is reasonable, under the assumption that expert data are of high quality. In practice, RLHF-based and IRL-based methods are complementary to each other. It’s common to leverage both demonstration and preference datasets jointly in the training pipeline to achieve better performance [56, 57]. In [58, 59], the connections has been shown that both IRL and RLHF are imitating a target policy using different dataset (demonstrations and preferences). Leveraging this insight, the alignment pipeline can incorporate both demonstration and preference datasets, improving model performance by integrating RLHF with IRL techniques. In general, it can be shown that RLHF could be a special form of IRL. Here, we show that IRL models the preference of a single action over all possible actions in (20) when maximizing the likelihood of one demonstration action, whereas RLHF models the relative preference between pairs of actions.
Below we show that the reward modeling in RLHF can be derived from the optimal policy expression in (15). As we have defined in (15), given the reward parameter , the optimal policy of the regularized RL problem defined in (14) has the closed-form . With this expression, we can now obtain a model for the likelihood that sequence is preferred over . With a pair of actions , by the independence of irrelevant alternatives property [60] of the optimal choice , the likelihood that sequence is preferred over is given by
This motivates the choice model as the following likelihood function:
When equals to the uniform distribution, this model is equivalent to the BTL model in RLHF:
For the IRL formulation defined in (19), we see that it models the preference of a single action over the entire action space. When the action space consists of only two actions, we see that RLHF is a special case of IRL and the reward modeling between IRL and RLHF is equivalent.
Connection to SPIN. There is also an interesting connection between (22) and the SPIN introduced in Sec. 4.1.2. Note that in (16), we have shown that the reward difference can be expressed by using the definition of the optimal policy. By plugging (16) into (23), we obtain the following problem:
Similarly, as discussed in the DPO approach, one can make two simplifications (1) remove the constraints that the policy has to be optimal w.r.t. some reward; (2) directly parameterize the resulting policy using . Then the above problem will be reduced precisely to the SPIN formulation (12).
To further compare the SPIN and IRL, note that at each iteration, once the synthetic preference dataset has been constructed where the preferred data are the demonstration / SFT data and the nonpreferred data are the model-generated data, SPIN directly leverages the synthetic preference dataset and runs DPO to update the policy, while the IRL approach considers two separate steps to update both the reward model and the policy model. Similarly to the comparison of DPO and RLHF, here we expect that IRL enjoys better generalization and can alleviate the distribution shift issue through leveraging online generations in the RL training step, at the cost of a heavier memory burden and additional online generations.
In summary, the method discussed in this section addressed the question (Q1) we raised at the beginning of this section – instead of directly performing SFT on the demonstration data , it is also possible to learn a reward function from such a dataset, and we expect that the resulting model will generalize better. Later we will use numerical results to confirm such an advantage.
Jointly learning policy and reward from Integrated Human Feedback
Next, let us address question (Q2), by developing an approach that integrates different steps of the alignment process. Toward this end, we observe that by leveraging the IRL-based formulation (19), learning from the demonstration data becomes very similar to the standard RLHF approach discussed in Sec. 4.2, which learns preference data – both maximize the likelihood of observing the data, while explicitly learning a reward function. Therefore, using reward learning as a common component, it is straightforward to integrate these problems together. In [58] the authors considered the following problem, which extends the IRL problem (19) by adding the BT loss (13):
where and are two tuneable parameters. The authors refer to this approach as AIHF (Alignment with Integrated Human Feedback).
To design an algorithm to solve problem (23), one can combine the RLHF Protocol 4 and the IRL algorithm in (21), to obtain the following iterative algorithm (where denotes the iteration number):
In fact, compared to the IRL algorithm (21), the only difference is that the reward is learned from both preference dataset and the demonstration dataset. In [58], the authors observed that learning reward function from a diverse set of data can be more robust to situations, e.g. when there is an imbalance between the demonstration and preference data, resulting in a more robust policy model; see [58 Sec.3.4] for detailed discussion and a few examples showcasing such an advantage.
Finally, we note that AIHF has several notable special cases. First, if one chooses , then reward learning and policy learning become completely decoupled, reducing to the original two-step RLHF approach discussed in § 4.2. Second, similarly to DPO, one can plug in the optimal solution of the lower-level problem (as given in (16)) to the upper-level, remove the lower-level constraint (23b), and directly parameterize the policy. The resulting problem becomes:
This corresponds to the Regularized Preference Optimization (RPO) approach proposed in [61]. Moreover, if we drop (29) and apply the DPO trick to (24) to optimize:
Then it corresponds to the Self-Play with Adversarial Critic (SPAC) approach proposed in [62].
Finally, we conclude this section with a tabular comparison of different types of alignment algorithms.
Table 3 summarizes different alignment algorithms according to their data sources and optimization requirements. Demonstration-based methods (e.g., SFT, SPIN, IRL) rely solely on expert trajectories, whereas preference-based methods (e.g., DPO, PPO, RLOO) depend on pairwise comparisons or on demonstration data when initialized from an SFT model. Among these, PPO-style variants explicitly require a value function to compute advantages, while most direct preference-modeling approaches remove the need for critic estimation. Hybrid frameworks such as AIHF integrate both demonstration and preference data, effectively bridging supervised and reinforcement-based alignment paradigms.
| Algorithm | Needs Reward? | Dataset Type | Needs Value Fn.? |
| SFT | ✗ | Demonstration | ✗ |
| SPIN | ✗ | Demonstration + self-generated | ✗ |
| IRL | ✓ | Demonstration | ✗ |
| REINFORCE | ✓ | Demonstration + Preference | ✗ |
| RLOO | ✓ | Demonstration + Preference | ✗ |
| PPO | ✓ | Demonstration + Preference | ✓ |
| DPO | ✗ | Demonstration + Preference | ✗ |
| NLHF | ✗ (pref. model) | Preference | ✗ |
| GRPO | ✓ | Demonstration + Preference | ✗ |
| Rule-based RL | ✓ (rule/verifier) | Verifiable tasks | ✗ |
| AIHF | ✓ | Demonstration + Preference | flexible |
Table 3. Comparison of alignment algorithms by reward requirement, dataset type, and value-function (critic) dependence. Here since AIHF can use different kinds of RL algorithms such as PPO and DPO, we denote it as ‘flexible’ in the last column.
Dataset, Benchmarks, and Evaluation
In this section, we will introduce a few datasets and benchmarks that are often used to evaluate alignment algorithms. Further, we will present some evaluation results comparing a number of algorithms we have discussed so far.
Dataset
Typically, datasets used in LLM alignment can be categorized into two types: (1) datasets containing multiple responses for a given prompt, with human (or AI-generated) rankings indicating preference, and (2) datasets containing a single demonstration response per prompt.
Preference Dataet. Some of the most well-known preference datasets include: (1) HH-RLHF2 (Anthropic’s Helpful-Harmless RLHF), a dataset collected by Anthropic that includes human preference annotations over pairs of responses, focusing on helpfulness (how well the response answers the query) and harmlessness (avoiding toxic, biased, or dangerous content). (2) UltraFeedback3, which consists of 64K prompts, each accompanied by four model completions from a diverse set of open and proprietary models. Preference labels are provided by GPT-4 based on criteria such as helpfulness and honesty. This dataset has been used to train state-of-the-art chat models such as Zephyr-7B-β.
Demonstration Dataset. Some of the most well-known demonstration datasets include: (1) the TL;DR dataset4, a dataset collected from Reddit where users provide short summaries (TL;DRs) of their posts. (2) UltraChat5, an open-source, large-scale, multi-turn dialogue dataset generated using Turbo APIs. It contains 774K training samples and is designed to enhance instruction-following capabilities.
Self-Generated Dataset In addition to using public datasets, another line of research leverages self-generated data for policy optimization. For example, given a prompt, [63] samples one or more responses from a policy , evaluates each input-generation pair using a evaluation function (e.g., a reward model in RLHF), labels them as preferred or dispreferred, and then updates the policy using the EM algorithm based on these individual preferences. Similarly, [64] also employs self-generated data to iteratively improve the policy model. This approach can lead to more uniform coverage of the prompt-response space.
Benchmark datasets and benchmark models
AlpacaEval. AlpacaEval [65] is an LLM-based automated evaluation metric – it operates on a fixed set of 805 instructions chosen to be representative of user interactions on the Alpaca web demo. A GPT-4 turbo-based evaluator then compares the responses head-to-head and outputs the probability of preferring the evaluated model. The win rate is then computed as the expected probability that the auto-evaluator prefers the evaluated model’s output on the 805 instructions. This win rate serves as a performance measure of the evaluated LM chatbot.
Open LLM Leaderboard. The HuggingFace Open LLM Leaderboard framework [66] is widely adopted for evaluating LLMs. This comprehensive evaluation suite assesses LLM performance across six key tasks: commonsense reasoning, including ARC, HellaSwag, and Winogrande; multi-task language understanding, as measured by MMLU; truthfulness assessment, which evaluates a model’s tendency to mimic human falsehoods using TruthfulQA; and mathematical problem-solving, assessed via GSM8K.
MT-Bench. MT-Bench [67] is a benchmark consisting of 80 high-quality multi-turn questions, specifically designed to evaluate multi-turn conversation and instruction-following capabilities in LLMs. It focuses on common real-world use cases while incorporating challenging questions to effectively differentiate model performance. To ensure comprehensive coverage, the benchmark is structured around eight key categories of user prompts: writing, roleplay, extraction, reasoning, mathematics, coding, knowledge I (STEM), and knowledge II (humanities/social sciences).
HELM Holistic Evaluation of Language Models (HELM) [68] consists of two levels: (i) an abstract taxonomy of scenarios and metrics that defines the design space for language model evaluation, and (ii) a concrete set of implemented scenarios and metrics selected to prioritize coverage (e.g., different English varieties), value (e.g., user-facing applications), and feasibility (e.g., limited engineering resources). HELM currently includes a core set of 16 scenarios and 7 metrics. These scenarios cover six user-facing tasks (e.g., question answering, information retrieval, summarization, toxicity detection) and span multiple domains (e.g., news, books).
Artificial Analysis6 Artificial Analysis provides objective evaluations and insights to assist developers, researchers, businesses, and other AI users in selecting the most suitable AI technologies for their specific use cases. This benchmark compares and ranks the performance of over 30 LLMs across key metrics, including output quality, cost, performance, and speed, as well as context window size and other relevant factors.
Reasoning Benchmark. Several challenging benchmarks are also used to evaluate reasoning ability. For example, mathematical benchmarks such as AIME (American Invitational Mathematics Examination), AMC (American Mathematics Competitions), and OlympiadBench [69] assess problem-solving skills in competitive mathematics. Additionally, datasets like the Knights and Knaves (K&K) puzzles [70] and LeetCode are commonly used for evaluating logical reasoning and coding proficiency.
RewardBench. The RewardBench [71] offers a comprehensive set of evaluations for reward models, encompassing key aspects such as chat, instruction-following, coding, safety, and other critical metrics for fine-tuned language models. The RewardBench dataset includes a combination of pre-existing evaluation prompt-completion pairs as well as newly curated examples specifically for this project.
Numerical Results
In this subsection, we will present some evaluations results of different alignment approaches. First, we will compare IRL approach (21) with other learning-from-demonstration approaches like SFT (Protocol 1) and SPIN (Protocol 2) to illustrate their differences. Then we will compare a number of algorithms that leverage preference data to further improve the LLM alignment.
Demonstration-only setting
We conduct experiments on the UltraChat dataset [72]. Both the policy and reward models are initialized from the public checkpoint Mistral-7b-SFT-Beta7, which is an SFT model fine-tuned on the UltraChat dataset using the base model Mistral-7B-v0.18.
Since UltraChat contains only demonstration data, we construct a synthetic preference dataset to train the reward model for IRL approaches. In each IRL iteration, we treat the demonstration data from UltraChat as preferred responses and the outputs generated by the IRL policy model as rejected responses. This method enables the creation of preference pairs without explicit human annotations.
We assess the performance of reward models derived from several baselines using RewardBench [71], focusing on categories pertinent to language understanding and generation. Since SPIN lacks an explicit reward model, we evaluate its performance based on an implicit reward formulated as
motivated by (16). In our experiments, represents the SFT model. For the SFT model itself, we measure performance using the implicit reward .
The results, summarized in Table 4, indicate that the IRL-trained reward model outperforms both the base model (initialized from the SFT model) and the policy model trained with SPIN [33]. This demonstrates that integrating high-quality demonstration datasets with IRL methods, which generate synthetic preference pairs by combining demonstrations and model outputs, can significantly enhance reward model quality. Furthermore, Figure 7 illustrates the comparative evaluation of alignment methods when both demonstrations and preference dataset are available. The numerical results show that the IRL-based method is compatible with RLHF method to to enhance model alignment through integrating both demonstration and preference dataset.
| Tasks | First turn | Second turn | Average |
| mistral-7b-sft-beta | 5.66 | 5.09 | 5.37 |
| SPIN-Iter1 | 6.75 | 5.56 | 6.16 |
| SPIN-Iter2 | 3.18 | 3.41 | 3.29 |
| IRL-Iter1-Policy | 6.71 | 5.96 | 6.33 |
| IRL-Iter2-Policy | 7.01 | 6.19 | 6.60 |
Table 4. Evaluation of Policy Models in MT-Bench. The results show that the IRL method can effectively improve the quality of policy models on multi-turn questions.
Figure 7. Performance comparison of alignment methods. The AIHF-trained model demonstrates superior alignment across various downstream tasks.
We evaluate various LLM policy models using the Open LLM Leaderboard [73] and MT-Bench [67]. As shown in Figure 6 and Table 4, the IRL-based method consistently outperforms both the mistral-7b-sft-beta checkpoint and the SPIN method (regardless of whether self-generation is performed once or twice). These results demonstrate the effectiveness of leveraging high-quality demonstrations and synthetic preferences to improve language model performance in dialogue generation tasks.
(a) Policy Evaluations on Open LLM Leaderboard
(b) Reward Evaluations on Reward Bench
Figure 6. Left: Evaluation of policy models on the Open LLM Leaderboard. Right: Evaluation of reward models using RewardBench, where reward accuracy measures the proportion of preference pairs in which the reward model assigns a higher score to the preferred response. Results show that high-quality demonstration datasets can effectively enhance both reward and policy models via the IRL method.
Aligning with Both Demonstrations and Pairwise Comparisons
In this section, we evaluate several alignment algorithms, categorized as follows: (1) Preference-only: DPO [74], IPO [75], and SPAC [62], which optimize policies solely based on preference data; (2) Demonstration-only: SPIN [33]; (3) Preference and demonstration: RPO [61] and AIHF, which leverage both preference data and demonstrations. For this experiment, we use UltraFeedback. as the preference dataset and UltraChat200k9 as the demonstration dataset. The base model for our experiments is mistral-7b-sft-beta10 [76], which is also used to initialize the reward model.
Fig. 7 evaluates the quality of the aligned models trained on different methods. Furthermore, in Table 5, we also evaluate the reward models estimated using different methods (DPO, standard preference learning and AIHF) over the popular benchmark RewardBench [71]. The BTL reward model is trained in the RLHF pipeline using the loss function defined in (13). The DPO reward is obtained by training a DPO loss on preference data (UltraFeedback) and use the following implicit reward where is the SFT model. For AIHF, we use the demonstration data UltraChat and generate the non-preferred sample using the base model (mistral-7b-stf-full), then train a reward with UltraFeedback and UltraChat data combined. It can be seen that the reward model estimated by AIHF which incorporates both demonstrations and preference achieves better performance.
| Reward Model | Chat | Chat Hard | Safety | Reasoning | Average |
| DPO Reward Model | 37.43% | 55.92% | 64.14% | 47.33% | 51.21% |
| BTL Reward Model | 95.11% | 56.58% | 63.69% | 69.22% | 71.15% |
| AIHF Reward Model | 94.41% | 55.37% | 63.98% | 76.75% | 72.63% |
Table 5. Evaluation of reward models in Reward-Bench. It can be seen that the reward model estimated by AIHF which incorporates both demonstrations and preference achieves better performance.
Connection of Alignment to Signal Processing
Before we conclude this article, we would like to point out that the SP community has a wealth of expertise that can contribute significantly to alignment research. Given the complexity of aligning LLMs with human preferences, SP methodologies offer valuable tools and frameworks that can improve both the theoretical and practical aspects of alignment.
The connection between large-scale model alignment and SP can be made precise once we recognize that the core challenge of alignment is inference from indirect, noisy, and often incomplete measurements of human intent. Many mathematical tools originally developed in SP, such as inverse problems, denoising and robust estimation all provide rigorous frameworks for tackling precisely these challenges. Below, we elaborate on a few of these connections.
First, alignment can be viewed as a broad class of inverse problems, in which both the human intent and the model’s reasoning trajectory act as latent variables that must be inferred from indirect and noisy observations. In this view, human feedback (e.g., pairwise preferences or rankings) constitutes a noisy measurement of an underlying latent reward signal that reflects human values, while the model’s internal reasoning process represents a second latent structure that mediates how these preferences are expressed in behavior. This setting is analogous to classical SP problems such as image deblurring or tomography, where one seeks to recover a clean signal from degraded observations . Here, both the human reward signal and the model’s internal reasoning can be regarded as hidden components of , and the alignment algorithm attempts to reconstruct them from limited feedback data .
Recent work has begun to explicitly exploit this latent-variable perspective. For example, [77] formulates reasoning-based alignment as a joint inference problem: it treats an LLM’s internal rationales as hidden variables and alternates between (i) inferring plausible reasoning chains using reward-guided sampling, and (ii) updating model parameters to maximize the joint log-likelihood of the latent rationales and final outputs. This two-stage optimization is formally equivalent to an Expectation–Maximization (EM) procedure widely used in SP and statistics to solve inverse problems with hidden variables. In this context, the E-step corresponds to estimating latent model reasoning signals, while the M-step updates model parameters given these inferred signals. Such a formulation provides a principled link between SP-style latent-variable estimation and alignment objectives, and clarifies how human preferences or reasoning traces can be reconstructed and aligned through iterative inference.
Such latent variable perspectives also extend to the IRL problem discussed earlier, which can be viewed as solving inverse problems over high-dimensional function spaces. Classical SP regularization techniques such as Tikhonov penalties, total-variation priors, or sparsity constraints can provide principled ways to stabilize these ill-posed estimation problems, particularly when human feedback is sparse or inconsistent.
Moreover, as alignment research expands to multi-modal domains involving text, images, speech, and video, SP expertise in multi-modal signal fusion, feature extraction, and cross-modal learning becomes increasingly relevant. The SP community’s long-standing experience in designing architectures that integrate heterogeneous signal sources can directly inform the development of more effective and interpretable multi-modal alignment mechanisms.
Concluding Remarks
In this work, we provided a tutorial on aligning LLMs with human feedback, exploring both mathematical foundations and state-of-the-art algorithmic approaches. Despite significant progress in aligning LLMs with human values and preferences, several open challenges remain.
LLM alignment methods continue to face challenges related to scalability and effectiveness. Learning robust and high-quality policies from reward models is challenging and requires extensive human annotation and computation. Existing RL-based fine-tuning methods, such as PPO, demand careful hyperparameter tuning and require a huge amount of compute resources. Moreover, reward hacking remains a significant problem – where models find unintended shortcuts to maximize reward scores without genuinely improving response alignment. Instead of producing responses that align with human intent, models can generate outputs optimized purely for high reward function scores, potentially leading to unreliable behavior. Addressing these concerns requires the development of more efficient RL algorithms, robust and diverse reward functions (e.g., a combination of trained reward functions and the verifiable ones mentioned in § 4.5), and hybrid approaches that integrate supervised learning with RL to improve scalability and alignment fidelity.
Acknowledgments
Luca Viano was supported by the Swiss Data Science Center under fellowship number P22_03. This work was supported as part of the Swiss AI Initiative, through a grant from the ETH Domain and computational resources provided by the Swiss National Supercomputing Centre (CSCS) under the Alps infrastructure. Research was sponsored by the Army Research Office and was accomplished under Grant Number W911NF-24-1-0048. This work was funded by the Swiss National Science Foundation (SNSF) under grant number 2000-1-240094.
References
- [1]Christopher Berner, Greg Brockman, Brooke Chan, Vicki Cheung, Przemysław Dębiak, Christy Dennison, David Farhi, Quirin Fischer, Shariq Hashme, Chris Hesse, et al., “Dota 2 with large scale deep reinforcement learning,” arXiv preprint arXiv:1912.06680, 2019.arxiv.org/abs/1912.06680
- [2]Marc G Bellemare, Salvatore Candido, Pablo Samuel Castro, Jun Gong, Marlos C Machado, Subhodeep Moitra, Sameera S Ponda, and Ziyu Wang, “Autonomous navigation of stratospheric balloons using reinforcement learning,” Nature, vol. 588, no. 7836, pp. 77–82, 2020.DOI
- [3]Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, et al., “Training a helpful and harmless assistant with reinforcement learning from human feedback,” arXiv preprint arXiv:2204.05862, 2022.arxiv.org/abs/2204.05862
- [4]Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al., “Training language models to follow instructions with human feedback,” Advances in neural information processing systems, vol. 35, pp. 27730–27744, 2022.arxiv.org/abs/2203.02155
- [5]Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, et al., “Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning,” arXiv preprint arXiv:2501.12948, 2025.DOI
- [6]Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin, “Attention is all you need,” Advances in neural information processing systems, vol. 30, 2017.arxiv.org/abs/1706.03762
- [7]David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams, “Learning representations by back-propagating errors,” nature, vol. 323, no. 6088, pp. 533–536, 1986.
- [8]Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton, “Layer normalization,” arXiv preprint arXiv:1607.06450, 2016.arxiv.org/abs/1607.06450
- [9]Christian Szegedy, Sergey Ioffe, Vincent Vanhoucke, and Alexander Alemi, “Inception-v4, inception-resnet and the impact of residual connections on learning,” in Proceedings of the AAAI conference on artificial intelligence, 2017, vol. 31.arxiv.org/abs/1602.07261
- [10]Jingjing Xu, Xu Sun, Zhiyuan Zhang, Guangxiang Zhao, and Junyang Lin, “Understanding and improving layer normalization,” Advances in neural information processing systems, vol. 32, 2019.arxiv.org/abs/1911.07013
- [11]Jeffrey Zhou, Tianjian Lu, Swaroop Mishra, Siddhartha Brahma, Sujoy Basu, Yi Luan, Denny Zhou, and Le Hou, “Instruction-following evaluation for large language models,” arXiv preprint arXiv:2311.07911, 2023.arxiv.org/abs/2311.07911
- [12]Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny Zhou, et al., “Chain-of-thought prompting elicits reasoning in large language models,” Advances in neural information processing systems, vol. 35, pp. 24824–24837, 2022.arxiv.org/abs/2201.11903
- [13]Xinnan Zhang, Chenliang Li, Siliang Zeng, Jiaxiang Li, Zhongruo Wang, Kaixiang Lin, Songtao Lu, Alfredo Garcia, and Mingyi Hong, “Aligning frozen llms by reinforcement learning: An iterative reweight-then-optimize approach,” arXiv preprint arXiv:2506.17828, 2025.arxiv.org/abs/2506.17828
- [14]Zehan Qi, Xiao Liu, Iat Long Iong, Hanyu Lai, Xueqiao Sun, Wenyi Zhao, Yu Yang, Xinyue Yang, Jiadai Sun, Shuntian Yao, et al., “Webrl: Training llm web agents via self-evolving online curriculum reinforcement learning,” arXiv preprint arXiv:2411.02337, 2024.arxiv.org/abs/2411.02337
- [15]Kimi Team, Yifan Bai, Yiping Bao, Guanduo Chen, Jiahao Chen, Ningxin Chen, Ruijue Chen, Yanru Chen, Yuankun Chen, Yutian Chen, et al., “Kimi k2: Open agentic intelligence,” arXiv preprint arXiv:2507.20534, 2025.
- [16]Abhimanyu Dubey, Abhinav Jauhari, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Amy Yang, Angela Fan, et al., “The llama 3 herd of models,” arXiv preprint arXiv:2407.21783, 2024.arxiv.org/abs/2407.21783
- [17]Geoffrey Hinton, “rmsprop: Divide the gradient by a running average of its recent magnitude,” 2012.
- [18]Diederik P. Kingma and Jimmy Ba, “Adam: A method for stochastic optimization,” in International Conference on Learning Representations (ICLR), San Diego, CA, USA, 2015.arxiv.org/abs/1412.6980
- [19]Ilya Loshchilov and Frank Hutter, “Decoupled weight decay regularization,” in International Conference on Learning Representations (ICLR), 2019.
- [20]Louis L. Thurstone, “A law of comparative judgment,” Psychological Review, vol. 34, no. 4, pp. 273–286, 1927.
- [21]Daniel McFadden, “The measurement of urban travel demand,” Journal of Public Economics, vol. 3, no. 4, pp. 303–328, 1974.DOI
- [22]R. Duncan Luce, Individual Choice Behavior: A Theoretical analysis, Wiley, New York, NY, USA, 1959.
- [23]Ralph Allan Bradley and Milton E Terry, “Rank analysis of incomplete block designs: I. the method of paired comparisons,” Biometrika, vol. 39, no. 3/4, pp. 324–345, 1952.DOI
- [24]Ian Hamilton, Nick Tawn, and David Firth, “The many routes to the ubiquitous bradley-terry model,” arXiv preprint arXiv:2312.13619, 2023.arxiv.org/abs/2312.13619
- [25]Mark J. Machina, “Stochastic choice functions generated from deterministic preferences over lotteries,” The Economic Journal, vol. 95, no. 379, pp. 575–594, 1985.DOI
- [26]Naftali Tishby and Daniel Polani, “Information theory of decisions and actions,” in Perception-Action Cycle: Models, Architectures, and Hardware, Vassilis Cutsuridis, Amir Hussain, and John G. Taylor, Eds., pp. 601–636. Springer New York, New York, NY, 2011.DOI
- [27]Fabio Maccheroni, Massimo Marinacci, and Aldo Rustichini, “Ambiguity aversion, robustness, and the variational representation of preferences,” Econometrica, vol. 74, no. 6, pp. 1447–1498, 2006.DOI
- [28]Siliang Zeng, Mingyi Hong, and Alfredo Garcia, “Structural estimation of markov decision processes in high-dimensional state space with finite-time guarantees,” arXiv preprint arXiv:2210.01282, 2022.arxiv.org/abs/2210.01282
- [29]Dean A Pomerleau, “Alvinn: An autonomous land vehicle in a neural network,” Advances in neural information processing systems, vol. 1, 1988.
- [30]Stéphane Ross and Drew Bagnell, “Efficient reductions for imitation learning,” in Proceedings of the thirteenth international conference on artificial intelligence and statistics. JMLR Workshop and Conference Proceedings, 2010, pp. 661–668.
- [31]Dylan J Foster, Adam Block, and Dipendra Misra, “Is behavior cloning all you need? understanding horizon in imitation learning,” arXiv preprint arXiv:2407.15007, 2024.arxiv.org/abs/2407.15007
- [32]Markus Wulfmeier, Michael Bloesch, Nino Vieillard, Arun Ahuja, Jorg Bornschein, Sandy Huang, Artem Sokolov, Matt Barnes, Guillaume Desjardins, Alex Bewley, et al., “Imitating language via scalable inverse reinforcement learning,” Advances in Neural Information Processing Systems, vol. 37, pp. 90714–90735, 2024.arxiv.org/abs/2409.01369
- [33]Zixiang Chen, Yihe Deng, Huizhuo Yuan, Kaixuan Ji, and Quanquan Gu, “Self-play fine-tuning converts weak language models to strong language models,” arXiv preprint arXiv:2401.01335, 2024.arxiv.org/abs/2401.01335
- [34]Qingyang Wu, Lei Li, and Zhou Yu, “Textgail: Generative adversarial imitation learning for text generation,” in Proceedings of the AAAI Conference on Artificial Intelligence, 2021, vol. 35, pp. 14067–14075.arxiv.org/abs/2004.13796
- [35]Siliang Zeng, Yao Liu, Huzefa Rangwala, George Karypis, Mingyi Hong, and Rasool Fakoor, “From demonstrations to rewards: Alignment without explicit human preferences,” arXiv preprint arXiv:2503.13538, 2025.arxiv.org/abs/2503.13538
- [36]Hao Sun and Mihaela van der Schaar, “Inverse-rlignment: Inverse reinforcement learning from demonstrations for llm alignment,” arXiv preprint arXiv:2405.15624, 2024.
- [37]Chris Cundy and Stefano Ermon, “Sequencematch: Imitation learning for autoregressive sequence modelling with backtracking,” arXiv preprint arXiv:2306.05426, 2023.arxiv.org/abs/2306.05426
- [38]Markus Wulfmeier, Peter Ondruska, and Ingmar Posner, “Maximum entropy deep inverse reinforcement learning,” arXiv preprint arXiv:1507.04888, 2015.arxiv.org/abs/1507.04888
- [39]John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov, “Proximal policy optimization algorithms,” arXiv preprint arXiv:1707.06347, 2017.arxiv.org/abs/1707.06347
- [40]Ronald J Williams, “Simple statistical gradient-following algorithms for connectionist reinforcement learning,” Machine learning, vol. 8, pp. 229–256, 1992.
- [41]Paul F Christiano, Jan Leike, Tom Brown, Miljan Martic, Shane Legg, and Dario Amodei, “Deep reinforcement learning from human preferences,” Advances in neural information processing systems, vol. 30, 2017.arxiv.org/abs/1706.03741
- [42]Arash Ahmadian, Chris Cremer, Matthias Gallé, Marzieh Fadaee, Julia Kreutzer, Ahmet Üstün, and Sara Hooker, “Back to basics: Revisiting reinforce style optimization for learning from human feedback in llms,” arXiv preprint arXiv:2402.14740, 2024.arxiv.org/abs/2402.14740
- [43]Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Y Wu, et al., “Deepseekmath: Pushing the limits of mathematical reasoning in open language models,” arXiv preprint arXiv:2402.03300, 2024.arxiv.org/abs/2402.03300
- [44]Tian Xu, Ziniu Li, and Yang Yu, “Error bounds of imitating policies and environments,” Advances in Neural Information Processing Systems, vol. 33, pp. 15737–15749, 2020.arxiv.org/abs/2010.11876
- [45]Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D Manning, Stefano Ermon, and Chelsea Finn, “Direct preference optimization: Your language model is secretly a reward model,” Advances in Neural Information Processing Systems, vol. 36, 2024.arxiv.org/abs/2305.18290
- [46]Shusheng Xu, Wei Fu, Jiaxuan Gao, Wenjie Ye, Weilin Liu, Zhiyu Mei, Guangju Wang, Chao Yu, and Yi Wu, “Is dpo superior to ppo for llm alignment? a comprehensive study,” arXiv preprint arXiv:2404.10719, 2024.arxiv.org/abs/2404.10719
- [47]Biqing Qi, Pengfei Li, Fangyuan Li, Junqi Gao, Kaiyan Zhang, and Bowen Zhou, “Online dpo: Online direct preference optimization with fast-slow chasing,” arXiv preprint arXiv:2406.05534, 2024.arxiv.org/abs/2406.05534
- [48]Rémi Munos, Michal Valko, Daniele Calandriello, Mohammad Gheshlaghi Azar, Mark Rowland, Zhaohan Daniel Guo, Yunhao Tang, Matthieu Geist, Thomas Mesnard, Andrea Michi, et al., “Nash learning from human feedback,” arXiv preprint arXiv:2312.00886, 2023.arxiv.org/abs/2312.00886
- [49]Tian Xie, Zitian Gao, Qingnan Ren, Haoming Luo, Yuqian Hong, Bryan Dai, Joey Zhou, Kai Qiu, Zhirong Wu, and Chong Luo, “Logic-rl: Unleashing llm reasoning with rule-based reinforcement learning,” arXiv preprint arXiv:2502.14768, 2025.arxiv.org/abs/2502.14768
- [50]Siliang Zeng, Chenliang Li, Alfredo Garcia, and Mingyi Hong, “Maximum-likelihood inverse reinforcement learning with finite-time guarantees,” Advances in Neural Information Processing Systems, vol. 35, pp. 10122–10135, 2022.arxiv.org/abs/2210.01808
- [51]Stéphane Ross, Geoffrey Gordon, and Drew Bagnell, “A reduction of imitation learning and structured prediction to no-regret online learning,” in Proceedings of the fourteenth international conference on artificial intelligence and statistics. JMLR Workshop and Conference Proceedings, 2011, pp. 627–635.
- [52]Luca Viano, Yu-Ting Huang, Parameswaran Kamalaruban, Adrian Weller, and Volkan Cevher, “Robust inverse reinforcement learning under transition dynamics mismatch,” Advances in Neural Information Processing Systems, vol. 34, pp. 25917–25931, 2021.arxiv.org/abs/2007.01174
- [53]Jiaxiang Li, Siliang Zeng, Hoi-To Wai, Chenliang Li, Alfredo Garcia, and Mingyi Hong, “Getting more juice out of the sft data: Reward learning from human demonstration improves sft for llm alignment,” Advances in Neural Information Processing Systems, 2024.arxiv.org/abs/2405.17888
- [54]Siliang Zeng, Mingyi Hong, and Alfredo Garcia, “Structural estimation of markov decision processes in high-dimensional state space with finite-time guarantees,” Operations Research, 2024.arxiv.org/abs/2210.01282
- [55]Siliang Zeng, Yao Liu, Huzefa Rangwala, George Karypis, Mingyi Hong, and Rasool Fakoor, “From demonstrations to rewards: Alignment without explicit human preferences,” 2025.arxiv.org/abs/2503.13538
- [56]Borja Ibarz, Jan Leike, Tobias Pohlen, Geoffrey Irving, Shane Legg, and Dario Amodei, “Reward learning from human preferences and demonstrations in atari,” Advances in neural information processing systems, vol. 31, 2018.
- [57]Lewis Tunstall, Edward Beeching, Nathan Lambert, Nazneen Rajani, Kashif Rasul, Younes Belkada, Shengyi Huang, Leandro von Werra, Clémentine Fourrier, Nathan Habib, et al., “Zephyr: Direct distillation of llm alignment,” arXiv preprint arXiv:2310.16944, 2023.arxiv.org/abs/2310.16944
- [58]Chenliang Li, Siliang Zeng, Zeyi Liao, Jiaxiang Li, Dongyeop Kang, Alfredo Garcia, and Mingyi Hong, “Joint demonstration and preference learning improves policy alignment with human feedback,” arXiv preprint arXiv:2406.06874, 2024.
- [59]Teng Xiao, Yige Yuan, Mingxiao Li, Zhengyu Chen, and Vasant G Honavar, “On a connection between imitation learning and rlhf,” arXiv preprint arXiv:2503.05079, 2025.arxiv.org/abs/2503.05079
- [60]Drew Fudenberg, Ryota Iijima, and Tomasz Strzalecki, “Stochastic choice and revealed perturbed utility,” Econometrica, vol. 83, no. 6, pp. 2371–2409, 2015.DOI
- [61]Zhihan Liu, Miao Lu, Shenao Zhang, Boyi Liu, Hongyi Guo, Yingxiang Yang, Jose Blanchet, and Zhaoran Wang, “Provably mitigating overoptimization in RLHF: Your SFT loss is implicitly an adversarial regularizer,” in The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024.arxiv.org/abs/2405.16436
- [62]Xiang Ji, Sanjeev Kulkarni, Mengdi Wang, and Tengyang Xie, “Self-play with adversarial critic: Provable and scalable offline alignment for language models,” arXiv preprint arXiv:2406.04274, 2024.arxiv.org/abs/2406.04274
- [63]Abbas Abdolmaleki, Bilal Piot, Bobak Shahriari, Jost Tobias Springenberg, Tim Hertweck, Rishabh Joshi, Junhyuk Oh, Michael Bloesch, Thomas Lampe, Nicolas Heess, et al., “Preference optimization as probabilistic inference,” arXiv preprint arXiv:2410.04166, 2024.
- [64]Wei Xiong, Hanze Dong, Chenlu Ye, Ziqi Wang, Han Zhong, Heng Ji, Nan Jiang, and Tong Zhang, “Iterative preference learning from human feedback: Bridging theory and practice for rlhf under kl-constraint,” arXiv preprint arXiv:2312.11456, 2023.arxiv.org/abs/2312.11456
- [65]Yann Dubois, Balázs Galambosi, Percy Liang, and Tatsunori B Hashimoto, “Length-controlled alpacaeval: A simple way to debias automatic evaluators,” arXiv preprint arXiv:2404.04475, 2024.arxiv.org/abs/2404.04475
- [66]Edward Beeching, Clémentine Fourrier, Nathan Habib, Sheon Han, Nathan Lambert, Nazneen Rajani, Omar Sanseviero, Lewis Tunstall, and Thomas Wolf, “Open llm leaderboard,” https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard, 2023.
- [67]Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, et al., “Judging llm-as-a-judge with mt-bench and chatbot arena,” Advances in Neural Information Processing Systems, vol. 36, pp. 46595–46623, 2023.arxiv.org/abs/2306.05685
- [68]Percy Liang, Rishi Bommasani, Tony Lee, Dimitris Tsipras, Dilara Soylu, Michihiro Yasunaga, Yian Zhang, Deepak Narayanan, Yuhui Wu, Ananya Kumar, Benjamin Newman, Binhang Yuan, Bobby Yan, Ce Zhang, Christian Alexander Cosgrove, Christopher D Manning, Christopher Re, Diana Acosta-Navas, Drew Arad Hudson, Eric Zelikman, Esin Durmus, Faisal Ladakh, Frieda Rong, Hongyu Ren, Huaxiu Yao, Jue WANG, Keshav Santhanam, Laurel Orr, Lucia Zheng, Mert Yuksekgonul, Mirac Suzgun, Nathan Kim, Neel Guha, Niladri S. Chatterji, Omar Khattab, Peter Henderson, Qian Huang, Ryan Andrew Chi, Sang Michael Xie, Shibani Santurkar, Surya Ganguli, Tatsunori Hashimoto, Thomas Icard, Tianyi Zhang, Vishrav Chaudhary, William Wang, Xuechen Li, Yifan Mai, Yuhui Zhang, and Yuta Koreeda, “Holistic evaluation of language models,” Transactions on Machine Learning Research, 2023, Featured Certification, Expert Certification.
- [69]Chaoqun He, Renjie Luo, Yuzhuo Bai, Shengding Hu, Zhen Leng Thai, Junhao Shen, Jinyi Hu, Xu Han, Yujie Huang, Yuxiang Zhang, et al., “Olympiadbench: A challenging benchmark for promoting agi with olympiad-level bilingual multimodal scientific problems,” arXiv preprint arXiv:2402.14008, 2024.
- [70]Chulin Xie, Yangsibo Huang, Chiyuan Zhang, Da Yu, Xinyun Chen, Bill Yuchen Lin, Bo Li, Badih Ghazi, and Ravi Kumar, “On memorization of large language models in logical reasoning,” arXiv preprint arXiv:2410.23123, 2024.
- [71]Nathan Lambert, Valentina Pyatkin, Jacob Morrison, LJ Miranda, Bill Yuchen Lin, Khyathi Chandu, Nouha Dziri, Sachin Kumar, Tom Zick, Yejin Choi, et al., “Rewardbench: Evaluating reward models for language modeling,” arXiv preprint arXiv:2403.13787, 2024.
- [72]Ning Ding, Yulin Chen, Bokai Xu, Yujia Qin, Zhi Zheng, Shengding Hu, Zhiyuan Liu, Maosong Sun, and Bowen Zhou, “Enhancing chat language models by scaling high-quality instructional conversations,” arXiv preprint arXiv:2305.14233, 2023.
- [73]Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Alain Le Noach’s, Haonan Li, Kyle McDonell, Niklas Muennighoff, Chris Ociepa, Jason Phang, Laria Reynolds, Hailey Schoelkopf, Aviya Skowron, Lintang Sutawika, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou, “A framework for few-shot language model evaluation,” 12 2023.
- [74]Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D Manning, and Chelsea Finn, “Direct preference optimization: Your language model is secretly a reward model,” arXiv preprint arXiv:2305.18290, 2023.
- [75]Mohammad Gheshlaghi Azar, Zhaohan Daniel Guo, Bilal Piot, Remi Munos, Mark Rowland, Michal Valko, and Daniele Calandriello, “A general theoretical paradigm to understand learning from human preferences,” in International Conference on Artificial Intelligence and Statistics. PMLR, 2024, pp. 4447–4455.
- [76]Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, et al., “Mistral 7b,” arXiv preprint arXiv:2310.06825, 2023.arxiv.org/abs/2310.06825
- [77]Han Zhong, Yutong Yin, Shenao Zhang, Xiaojun Xu, Yuanxin Liu, Yifei Zuo, Zhihan Liu, Boyi Liu, Sirui Zheng, Hongyi Guo, et al., “Brite: Bootstrapping reinforced thinking process to enhance language model reasoning,” in Forty-second International Conference on Machine Learning.





