Reveal the Mystery of DPO: The Connection between DPO and RL Algorithms Xuerui Su, Yue Wang, Jinhua Zhu, Mingyang Yi, Feng Xu, Zhiming Ma, Yuting Liu Abstract With the rapid development of Large Language Models (LLMs), numerous Reinforcement Learning from Human Feedback (RLHF) algorithms have been introduced to improve model safety, and alignment with human preferences. These algorithms can be divided into two main frameworks based on whether they require an explicit reward (or value) function for training: actor-critic-based Proximal Policy Optimization (PPO) and alignment-based Direct Preference Optimization (DPO). The mismatch between DPO and PPO, such as DPO’s use of a classification loss driven by human-preferred data, has raised confusion about whether DPO should be classified as a Reinforcement Learning (RL) algorithm. To address these ambiguities, we focus on three key aspects related to DPO, RL, and other RLHF algorithms: (1) the construction of the loss function; (2) the target distribution at which the algorithm converges; (3) the impact of key components within the loss function. Specifically, we first establish a unified framework named UDRRA connecting these algorithms based on the construction of their loss functions. Next, we uncover their target policy distributions within this framework. Finally, we investigate the critical components of DPO to understand their impact on the convergence rate. Our work provides a deeper understanding of the relationship between DPO, RL, and other RLHF algorithms, offering new insights for improving existing algorithms. K eywords LLMs, RLHF, DPO, Soft Policy Iteration, Boltzmann Distribution, Offline Dataset Design 1 Introduction Large Language Models (LLMs) are considered one of the most promising advancements toward Artificial General Intelligence (AGI) [ 1 , 2 , 3 , 4 ] . In practice, post-training the LLM with Reinforcement Learning from Human Feedback (RLHF) has significantly improved its safety, compliance, and the alignment with human preferences [ 5 , 6 , 7 , 8 ] . While well-established RLHF approaches, such as the Proximal Policy Optimization (PPO-RLHF) [ 9 ] , have demonstrated significant success, Direct Preference Optimization (DPO) [ 10 ] has also emerged and garnered widespread attention. DPO differs from PPO in that it does not require explicit modeling of the reward function, making it simpler and more efficient in practice. Instead, DPO directly optimizes the language model to align with human preferences by minimizing a simple classification loss function, which is based solely on the log probability of outputs generated by the LLMs. Since its inception, DPO has gained considerable traction, leading to the development of several derivatives, such as IPO [ 11 ] and DRO [ 12 ] , among others. Despite its practical success, DPO differs significantly from typical Reinforcement Learning (RL) algorithms, particularly in its underlying algorithmic structure. While most RL algorithms, such as PPO-RL [ 13 ] , rely on an actor-critic framework and explicitly model value functions, DPO takes a distinct approach. Under a Bradly-Terry [ 14 ] framework to modeling human preference, DPO transferred training policy model into minimizing a human-preference labeled loss function, without requiring an explicit reward model or training value function with policy gradient. This fundamental difference leads to limited theoretical understanding of how DPO connects with standard RL algorithms, particularly in terms of its theoretical advantages. As a result, more research is needed to clarify the specific scenarios where DPO might offer distinct benefits over typical RL algorithms. However, addressing the relationship between DPO and RL algorithms is a non-trivial task. On one hand, DPO is rooted in the optimal solution analysis of the KL-constrained reward maximization problem, based on PPO-RLHF. On the other hand, the absence of a reward function in DPO complicates its classification within the typical RL framework. As a result, recent research has even suggested that DPO may not be a true RL algorithm [ 15 ] , further highlighting the need for a deeper theoretical investigation. In this paper, we aim to bridge this gap by investigating the connections between DPO, RL, and other RLHF algorithms. Specifically, we focus on three key aspects: • 1. What are the distinctions and connections of the construction of the loss function between DPO, RL and other representative RLHF algorithms? • 2. What is the target distribution of these loss function? • 3. How do the key components within these algorithms affect the algorithm performance? To do so, we fist construct a unified framework (Figure 1 ) that uniformly covers the standard RL algorithms (i.e., PPO and Soft Actor Critic (SAC) [ 16 ] ) and the DPO-based algorithms i.e., (IPO, DRO, DPO). Based on the construction of loss functions of these algorithms, we clearly reveal the connections between them in our framework. Besides, the target distribution under this framework is also clearly revealed. Notably, though some existing literature [ 17 , 18 , 19 ] have also explored the connection between DPO and PPO. However, they mainly focus on the technical details of training LLM and the comparison of experimental results between DPO and PPO. In contrast, our framework is more general, and is not restricted to any specific model scenario. Then we analyze the target distributions of the series of methods mentioned in our framework. Although these methods have different requirements for the reward function, the same versions (e.g. the posterior version) all share the same target distribution. Furthermore, by analyzing the relationship between DPO and the PRA-P method in our framework, we proved that the target distribution of DPO is not \bar{\pi}^{\tau} introduced in the original DPO’s paper. Finally, considering the importance of DPO in training RLHF models, we further investigate the convergence rate of the DPO algorithm. Building on our theoretical results, we analyze how the hyper-parameter \tau and the offline dataset of the algorithm influence its convergence performance. To the best of our knowledge, we are the first to establish such a unified framework that provides a cohesive perspective on DPO Algorithm and a variety of RLHF algorithms. Our explorations provide us deeper understanding and new insights in improving the existing algorithms for RLHF. The contributions in this paper can be summarized as follows: • We established a unified framework to bridge the theoretical gap between DPO and RL algorithms. • We analyzed the target distribution of the loss function for algorithm in our Framework. • We explored the impact of the hyper parameter \tau and the preference dataset on algorithm performance. 2 Preliminary 2.1 Problem Setup Consider a set of state or prompt \mathbb{X} . Denote the response space as \mathbb{Y} , and the reward function as r:\mathbb{X}\times\mathbb{Y}\rightarrow\mathbb{R} . The optimization problem that most RLHF algorithm aim to solve is defined as where \mathcal{D} is arbitrary distribution: {\min_{\pi_{\theta}}J\triangleq\min_{\pi_{\theta}}\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(y\mid x)}\left[-r(x,y)\right],} (1) and define the target distribution \pi^{\delta}=\arg\min_{\pi_{\theta}}J . Definition 2.1 . Boltzmann Distribution Approximation Problem (BDAP). Motivated by the idea of Soft Actor Critic algorithm [ 16 ] that they update the policy towards the exponential of the new Q-function, another important problem we consider is the Boltzmann Distribution Approximation Problem: \begin{gathered}\min_{\pi^{\prime}\in\Pi}\mathbb{E}_{x\sim\mathcal{D}}\left[\mathrm{D}_{\mathrm{KL}}\left(\pi^{\prime}\left(\cdot\mid x\right)\|\pi^{\tau}\left(\cdot\mid x\right)\right)\right],\quad\pi^{\tau}\left(\cdot\mid x\right)\triangleq\frac{\exp\left(\tau r\left(x,\cdot\right)\right)}{Z\left(x\right)}.\end{gathered} (2) Problem ( 2 ) describes the objective of optimizing \pi^{\prime} towards the Boltzmann distribution of reward function by the KL divergence, though in principle any distribution distance is suitable. The partition function Z\left(x\right)=\sum_{y\in\mathbb{Y}}\exp\left(\tau r\left(x,y\right)\right) normalizes the distribution. \tau is the temperature parameter. \Pi is the set of policies. \pi^{\tau} is essentially a soft approximation of the optimal solution \pi^{\delta} of Problem ( 1 ), while \pi^{\delta} is sharp. This approximation is referred to as the Boltzmann approximation in physics. Proposition 2.2 shows that \pi^{\tau} converges to \pi^{\delta} . Proposition 2.2 . Without loss of generality, assume that the reward function r(x,y) has a unique maximum for any given x . Recall \pi^{\delta}(y|x)=\begin{cases}1,&\text{if }y=\arg\max_{y^{\prime}}r(x,y^{\prime}),\\ 0,&\text{otherwise}.\end{cases} Then we have: \lim_{\tau\to\infty}\pi^{\tau}(y|x)=\pi^{\delta}(y|x). 2.2 Related Works PPO-RL: The Proximal Policy Optimization (PPO) algorithm [ 13 ] in RL is based on the Trust Region Policy Optimization (TRPO) algorithm [ 20 ] . The KL penalty version of PPO in RL is below: \displaystyle\mathcal{L}_{\text{PPO}}(\pi_{\theta})=\hat{\mathbb{E}}_{t}[ \displaystyle-\frac{\pi_{\theta}\left(a_{t}\mid s_{t}\right)}{\pi_{\theta_{\text{old }}}\left(a_{t}\mid s_{t}\right)}\hat{A}_{t}+\frac{1}{\tau}\mathrm{D}_{\mathrm{KL}}\left(\pi_{\theta_{\text{old }}}(\cdot|s_{t})\|\pi_{\theta}(\cdot|s_{t})\right)]. (3) where \theta_{\text{old}} is the vector of policy parameters before the update. \hat{A}_{t} is an estimator of the advantage function at timestep t . For one step policy optimization problem, \hat{A}_{t}=r(s_{0},a_{0}) where s_{0},a_{0} are taken as the prompt and response separately. Based on the theory of TRPO, PPO-RL will converge to the optimal solution \pi^{\delta} of Problem ( 1 ). PPO-RLHF: The PPO based RLHF [ 9 ] typically consists of two major stages: reward modeling and RL optimization. In the first stage, human annotators select the preferred answer y_{w} over the less preferred one y_{l} , forming the preference pair (y_{w},y_{l},x) based on a given input x . A reward model r_{\phi}(x,y) is optimized by: {\mathcal{L}_{R}\left(r_{\phi}\right)=-\mathbb{E}_{\left(x,y_{w},y_{l}\right)\sim\mathcal{D}_{R}}\left[\log\sigma\left(r_{\phi}\left(x,y_{w}\right)-r_{\phi}\left(x,y_{l}\right)\right)\right].} (4) where \sigma(\cdot) is the sigmoid function, \mathcal{D}_{R}\triangleq\{(x,y_{w},y_{l})|x\sim\mathcal{D},y_{w},y_{l}\sim\pi_{0}(\cdot|x),(y_{w}\succ y_{l})\sim p^{*}(1|y_{w},y_{l},x)\} , \pi_{0} is the offline data sampling distribution. \{z=1|y_{1},y_{2},x\}\triangleq\{r(x,y_{1})\geq r(x,y_{2})\} and p^{*} is modeled by the BT model. In the RL optimization stage, the trained reward model evaluates the outputs of the language model, guiding policy optimization with loss function of the classic PPO algorithm: {\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot\mid x)}\left[-r_{\phi}(x,y)+\frac{1}{\tau}\mathrm{D}_{\mathrm{KL}}\left(\pi_{\theta}(\cdot|x)\|\pi_{ref}(\cdot|x)\right)\right].} (5) Typically the reference policy \pi_{ref}(\cdot|x) is a pretrained or Supervised Fine-Tuned (SFT) model. DPO: The Direct Preference Optimization (DPO) [ 10 ] leverages the optimal policy form in Eq. 5 as theoretical support by representing the comparison probability (calculated under the assumption of BT model) of human preferences through the ratio between the policy \pi_{\theta} and the reference policy \pi_{ref} . This approach eliminates the need for explicitly modeling the reward function. Thus DPO directly optimizes the policy by maximizing the log-likelihood function based on human preference feedback. {\begin{gathered}\bar{h}_{\theta}\left(x,y_{w},y_{l}\right)=\frac{1}{\tau}\log\frac{\pi_{\theta}\left(y_{w}\mid x\right)}{\pi_{\text{ref }}\left(y_{w}\mid x\right)}-\frac{1}{\tau}\log\frac{\pi_{\theta}\left(y_{l}\mid x\right)}{\pi_{\text{ref }}\left(y_{l}\mid x\right)},\ \mathcal{L}_{\mathrm{DPO}}\left(\pi_{\theta};\pi_{\text{ref }}\right)=-\mathbb{E}_{\left(x,y_{w},y_{l}\right)\sim\mathcal{D}_{R}}\left[\log\sigma\left(\bar{h}_{\theta}\left(x,y_{w},y_{l}\right)\right)\right].\end{gathered}} (6) Figure 1: The unified UDRRA framework to connect DPO and other RLHF algorithms with typical RL methods. The algorithms in our framework can construct loss functions for four different scenarios (from right to left): (1) between \pi_{\theta}(y|x) and \pi^{\delta}(y|x) (or \pi^{\tau}(y|x) ); (2) between r_{\theta}(x,y) and r(x,y) ; (3) between \Delta r_{\theta}(x,y_{1},y_{2}) and \Delta r(x,y_{1},y_{2}) ; and (4) between p_{\theta}(z|y_{1},y_{2},x) and p^{*}(z|y_{1},y_{2},x) . From scenario (1) to scenario (4), the requirements of the reward function r(x,y) are progressively relaxed. The notations in the figure will be elaborated in Section 2 and Section 3 . Notably, we utilize Proposition 2.2 to illustrate the relationship between \pi^{\delta} and \pi^{\tau} . 3 The Framework to U nify D PO, R L and Other Representative R LHF A lgorithms In this section, we unify DPO, RL, and other representative RLHF algorithms within a unified framework (see Figure 1 ) based on the construction of loss functions. The distinctions of loss functions are mainly because how loss functions are defined across various reward function scenarios. Our framework clarifies these relationships, highlighting each method’s strengths and use cases while bridging RL principles with RLHF techniques to improve methods like DPO. 3.1 The UDRRA Framework Most RL algorithms aim to solve Problem ( 1 ): given a reward function, find the optimal policy \pi^{\delta} . To balance exploration and exploitation, the target distribution \pi^{\delta} is often approximated by a Boltzmann distribution \pi^{\tau} , turning the optimization into a distribution approximation problem. The critical challenge lies in designing a loss function that enables the parameterized policy \pi_{\theta} to effectively approximate the target distribution \pi^{\tau} through gradient-based methods. Our framework emphasizes the differences in loss function construction across various algorithms. Specifically, the construction of loss functions in current algorithms primarily addresses four types of scenarios involving policy distributions, reward functions, reward differences, and preferences, corresponding to scenarios (1)-(4) in Figure 1 . In scenario (1), the loss function aims to directly approximate \pi^{\delta} or \pi^{\tau} using \pi_{\theta} , as seen in algorithms like PPO-RL, SAC, and PPO-RLHF. In scenario (2), an implicit reward function r_{\theta}(x,y) is constructed from \pi_{\theta} (Eq. 9 ) to minimize its difference from the true reward function r(x,y) , guiding \pi_{\theta} towards \pi^{\tau} . However, this requires the partition function Z(x) , which is discussed later. Scenario (3) avoids calculating Z(x) by aligning reward differences \Delta r_{\theta}(x,y_{1},y_{2}) and \Delta r(x,y_{1},y_{2}) , focusing on differences rather than exact values. In many real-world applications, noise often makes it difficult to determine the exact reward difference, as is common in RLHF scenarios. Instead, accessible information is typically a related random variable z , reflecting the comparisons between reward values. In scenario (4), we model the conditional distribution of z based on the reward difference. Let p_{\theta}(z|y_{1},y_{2},x) approximate the true conditional preference distribution p^{*}(z|y_{1},y_{2},x) . The loss function minimizes the distance between these distributions, relying on preference data without requiring the true reward function r(x,y) . In summary, from scenario (1) to scenario (4), the requirements on the reward function r(x,y) are progressively relaxed. Our paper will illustrate the characteristics of loss function construction in different scenarios and prove the equivalence of different loss designs in the sense of target distribution. Furthermore, we will analyze the position of DPO within these scenarios and its relationship with our proposed method PRA-P for offering a new perspective for the theoretical investigation of DPO. 3.1.1 Scenario (1): Boltzmann Distribution Approximation Proposition 2.2 supports the Boltzmann approximation, allowing \pi^{\tau} to relax \pi^{\delta} . This relaxation is validated by RL algorithms like SAC. Therefore, in scenario (1) there is a natural relaxation method to approximate the solution to Problem ( 1 ) by solving \pi^{\tau} . Here, we summarize the method based on the Boltzmann Distribution Approximation Problem in Definition 2.1 using the KL divergence as the loss function. For the Forward-KL and Reverse-KL, we have Eq. 7 and Eq. 8 (See derivation in Appendix D.1 , D.2 ): \displaystyle\mathcal{L}_{\mathrm{Forward-BDA}}(\pi_{\theta})=\mathbb{E}_{x\sim\mathcal{D}}\left[\mathrm{D}_{\mathrm{KL}}\left(\pi_{\theta}\left(\cdot\mid x\right)\|\pi^{\tau}\left(\cdot\mid x\right)\right)\right]=-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[(\tau r(x,y)-\log(\pi_{\theta}(y|x)))\right], (7) \displaystyle\mathcal{L}_{\mathrm{Reverse-BDA}}(\pi_{\theta})=\mathbb{E}_{x\sim\mathcal{D}}\left[\mathrm{D}_{\mathrm{KL}}\left(\pi^{\tau}\left(\cdot\mid x\right)\|\pi_{\theta}\left(\cdot\mid x\right)\right)\right]=-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi^{\tau}\left(\cdot\mid x\right)}[\log\pi_{\theta}(y|x)]. (8) We name the method using Eq. 7 or Eq. 8 as the loss function as the Boltzmann Distribution Approximation (BDA) method. Eq. 7 is exactly the loss function of SAC. 3.1.2 Scenario (2): Reward Approximation Denote the implicit reward function r_{\theta}(x,y) : {r_{\theta}(x,y)\triangleq\frac{1}{\tau}\log(Z(x)\pi_{\theta}(y|x)).} (9) Scenario (2) focuses on the intuition of using r_{\theta}(x,y) to approximate the ground truth r(x,y) . Considering using r_{\theta}(x,y) to approximate r(x,y) is a typical regression problem, the Mean Square Error (MSE) is natural to be the loss function (See derivation in Appendix D.4 ): \displaystyle\mathcal{L}_{\mathrm{RA}}(\pi_{\theta})=\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\left(r_{\theta}(x,y)-r(x,y)\right)^{2}\right]=\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\frac{1}{\tau^{2}}\left(\log(\frac{\pi_{\theta}(y|x)}{\pi^{\tau}(y|x)})\right)^{2}\right]. (10) We name the method using Eq. 10 as the loss function as the Reward Approximation (RA) method. Due to the special design of r_{\theta}(x,y) , although the forms are different, Eq. 7 , Eq. 8 and Eq. 10 all effectively share the same target distribution. We will formally prove it later in Theorem 4.1 . In RLHF, the alignment task builds upon a reference model \pi_{ref}(\cdot|x) rather than an initialized language model policy. Thus we incorporate \pi_{ref}(y|x) via the posterior implicit reward function \bar{r}_{\theta}(x,y) . Treating \pi_{ref} as the prior, the posterior distribution becomes \bar{\pi}^{\tau} : {\bar{\pi}^{\tau}(y|x)\triangleq\frac{\pi_{ref}(y|x)\exp(\tau r(x,y))}{\sum_{y^{\prime}\in Y}\pi_{ref}(y^{\prime}|x)\exp({\tau r(x,y^{\prime})})}.} (11) The corresponding posterior implicit reward function is {\bar{r}_{\theta}(x,y)=\frac{1}{\tau}\log(Z^{\prime}(x)\frac{\pi_{\theta}(y|x)}{\pi_{ref}(y|x)}),} (12) where Z^{\prime}(x)=\sum_{y^{\prime}\in Y}\pi_{ref}(y^{\prime}|x)\exp({\tau r(x,y^{\prime})}) . Then Eq. 10 will be changed into: \displaystyle\mathcal{L}_{\mathrm{RA-P}}(\pi_{\theta})=\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\left(\bar{r}_{\theta}(x,y)-r(x,y)\right)^{2}\right]=\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\left(\frac{1}{\tau}\log(Z^{\prime}(x)\frac{\pi_{\theta}(y|x)}{\pi_{ref}(y|x)})-r(x,y)\right)^{2}\right]. (13) We call the method using Eq. 13 as loss function as the Reward Approximation-Posterior (RA-P) method. 3.1.3 Scenario (3): Reward Difference Approximation Define the general difference function \Delta f(x,y_{1},y_{2})\triangleq f(x,y_{1})-f(x,y_{2}) . In scenario (3), the loss function is constructed to align the reward difference function, \Delta r_{\theta}(x,y_{1},y_{2})=r_{\theta}(x,y_{1})-r_{\theta}(x,y_{2}) and \Delta r(x,y_{1},y_{2})=r(x,y_{1})-r(x,y_{2}) . Denote \mathcal{D}_{\text{pw}}\triangleq\{(x,y_{1},y_{2})\mid x\in\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)\} . Similar to the RA method, using MSE, we have the loss function: \displaystyle\mathcal{L}_{\mathrm{RDA}}(\pi_{\theta})=\mathbb{E}_{\mathcal{D}_{\text{pw}}}\left[\left(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}-\Delta r(x,y_{1},y_{2})\right)^{2}\right]. (14) The method using Eq. 14 as the loss function is named Reward Difference Approximation (RDA) . Its posterior version, RDA-P, replaces r_{\theta} with \bar{r}_{\theta} . All our methods have posterior versions, this paper only formulate RA-P and PRA-P as example. The RDA method simplifies computation by canceling the partition function Z(x) , which requires multiple reward function queries. Additionally, RDA only needs reward differences, not absolute values, while maintaining the same target distribution as BDA and RA. This is formally proven in Theorem 4.2 . 3.1.4 Scenario (4): Preference Reward Approximation In scenario (4), we consider using p^{*}(z\mid y_{1},y_{2},x)=\omega(r(x,y_{2-z}),r(x,y_{z+1})) , where z=1 if r(x,y_{1})>r(x,y_{2}) , and z=0 otherwise, to model the comparison probability between r(x,y_{1}) and r(x,y_{2}) . Only (x,y_{1},y_{2},z) sampled with p^{*}(z\mid y_{1},y_{2},x) is available, while r(x,y) is unobservable. The BDA, RA, and RDA methods are less effective in scenario (4). These methods rely on inverting \omega to estimate r(x,y) . Table 3 and Appendix B discuss various \omega formulations. In general, most \omega^{-1} are difficult to compute because p^{*} is not analytic. Thus developing methods that rely only on the forward evaluation of \omega instead of \omega^{-1} would greatly improve practicality in this scenario. Therefore we propose the Preference Reward Approximation (PRA) method, assuming \omega is known and data is sampled as (x,y_{w},y_{l}) where \{r(x,y_{w})>r(x,y_{l})\} is true with probability p^{*}(1\mid y_{w},y_{l},x) . Define the parameterized comparison distribution as p_{\theta}(z|y_{1},y_{2},x)=\omega(r_{\theta}(x,y_{2-z}),r_{\theta}(x,y_{z+1})) . Assuming \omega(x,y) is injective and satisfies the symmetric complementarity property \omega(x,y)=1-\omega(y,x) , the winning probability of x against y equals y ’s losing probability against x , then we have: \displaystyle\mathcal{L}_{\mathrm{PRA}}(\pi_{\theta})= \displaystyle\mathbb{E}_{\mathcal{D}_{\theta}}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||p_{\theta}(z|y_{1},y_{2},x))\right] (15) \displaystyle= \displaystyle-\mathbb{E}_{(x,y_{w},y_{l})\sim\mathcal{D}_{\theta}}\left[\log\left(p_{\theta}(1|y_{w},y_{l},x)\right)\right]+\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[M(x,y_{1},y_{2})\right]. Defer the proof in Appendix D.3 . \mathcal{D}_{\theta}\triangleq\{(x,y_{w},y_{l})|x\sim\mathcal{D},y_{w},y_{l}\sim\pi_{\theta}(\cdot|x),(y_{w}\succ y_{l})\sim p^{*}(1|y_{w},y_{l},x)\} and M(x,y_{1},y_{2})=\sum_{z=0,1}p^{*}(z|y_{1},y_{2},x)\log p^{*}(z|y_{1},y_{2},x) . PRA uses the KL divergence between p^{*} and p_{\theta} as the loss function, combining a cross-entropy term that avoids computing gradients of the reward function or p^{*} , and a regularization term involving integration over p^{*} and \pi_{\theta} . Similar to the RA-P method, we also propose a posterior version of PRA. Define \bar{p}_{\theta}(z|y_{1},y_{2},x)=\omega(\bar{r}_{\theta}(x,y_{2-z}),\bar{r}_{\theta}(x,y_{z+1})) . Based on Eq. 15 , we have: \displaystyle\mathcal{L}_{\mathrm{PRA-P}}(\pi_{\theta})= \displaystyle\mathbb{E}_{\mathcal{D}_{\theta}}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||\bar{p}_{\theta}(z|y_{1},y_{2},x))\right] (16) \displaystyle= \displaystyle-\mathbb{E}_{(x,y_{w},y_{l})\sim\mathcal{D}_{\theta}}\left[\log\bar{p}_{\theta}\left(1|y_{w},y_{l},x\right)\right]+\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[M(x,y_{1},y_{2})\right]. The method using Eq. 16 as the loss function is name Preference Reward Approximation-Posterior (PRA-P) method. Firstly, PRA and PRA-P avoid calculating \omega^{-1} while maintaining the same target distribution as previous methods. Theorem 4.3 shows that PRA shares its target distribution with methods like BDA, while Theorem 4.4 demonstrates that PRA-P and RA-P share the same target distribution. Secondly, the DPO algorithm aligns with scenario (4) and is closely related to PRA-P. In fact, the first term of Eq. 16 matches the DPO loss [ 10 ] if \mathcal{D}_{\theta} is replaced with an offline dataset, though this introduces a distribution shift issue, which is discussed in Theorem 4.5 . 3.2 Summary Our framework is both logically reasonable and empirically valid. After developing the solution method for Problem 2.1 based on different reward function scenarios, we found that previous studies have explored specific methodologies for the some scenarios and proposed efficient algorithms. For example, as shown in Section 3.1.1 , the loss function of SAC (Eq.10 in [ 16 ] ) aligns with the Forward-BDA method. To highlight these relationships, we summarize the correspondence between these algorithms and our methods in Table 1 . Due to space constraints we only include a few algorithms to demonstrate the practical significance of our framework. Method #Corresponding Algorithms Forward-BDA SAC [ 16 ] , DPG [ 21 ] Reverse-BDA RERPI [ 22 ] RA (RA-P) DRO [ 12 ] RDA (RDA-P) IPO [ 11 ] , SVPO [ 23 ] PRA (PRA-P) DPO [ 10 ] Table 1: Correspondence between the series of methods in our Framework and existing algorithms. For scenario (1), the Reverse-BDA method, using reverse-KL (Eq. 8 ) as a loss function for policy improvement, has been applied in finite state-action space control problems (see Eq.2 in RERPI [ 22 ] ). However, in continuous state-action spaces, the term Z(x) is hard to compute, limiting the method’s applicability. For scenario (2), the loss function of the Direct Reward Optimization (DRO) method matches the RA-P method’s loss function (Eq. 13 ), as shown the Eq.4 in [ 12 ] . For scenario (3), the Step-level Value Preference Optimization (SVPO) algorithm [ 23 ] uses \Delta r_{\pi}\left(\mathbf{s}_{t+1}^{w},\mathbf{s}_{t+1}^{l}\right) to learn towards \operatorname{sg}\left[\Delta r_{\phi}\left(\mathbf{s}_{t+1}^{w},\mathbf{s}_{t+1}^{l}\right)\right] (Eq.10 in [ 23 ] ), which corresponds to our RDA-P method. The RDA-P method is also a generalized version of Identity-PO (IPO) [ 11 ] , relaxing the data requirement from querying reward differences to only ranking queries (i.e., \mathbb{I}(r(x,y_{1})-r(x,y_{2})) , where \mathbb{I} is the indicator function). Though \mathbb{I}(r(x,y_{1})-r(x,y_{2})) is more like a preference, we classify IPO as a relaxed version of RDA due to its similar form as RDA-P. Finally, for scenario (4), we will show in Theorem 4.5 that DPO is simply an offline version of PRA-P. 4 Target Distribution Analysis In this section, we analyze the target distribution of the loss function mentioned in our framework. Although these methods have different requirements for the reward function, the same versions (e.g. the posterior version) all share the same target distribution. Additionally, as noted in Section 3.1 , we highlight how using an offline dataset in DPO introduces distribution shift issues, distinguishing it from online methods like SAC and PPO-RLHF. 4.1 The Target Distribution Equivalence of Our Framework Here we state the approximation equivalence among the BDA, RA, RDA and PRA methods. Theorem 4.1 . Define \pi^{*}_{\mathrm{RA}}=\arg\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{RA}}(\pi_{\theta}),\ \pi^{*}_{\mathrm{Forward-BDA}}=\arg\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{Forward-BDA}}(\pi_{\theta}),\ \pi^{*}_{\mathrm{Reverse-BDA}}=\arg\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{Reverse-BDA}}(\pi_{\theta}) . The following property holds: \pi^{*}_{\mathrm{Forward-BDA}}=\pi^{*}_{\mathrm{Reverse-BDA}}=\pi^{*}_{\mathrm{RA}}=\pi^{\tau}. (17) See proof on Appendix E.1 . Theorem 4.1 demonstrate that the “ \arg\min ” of Eq. 7 , 8 , 10 are equivalent and equal to \pi^{\tau} . Theorem 4.2 . Recall \mathcal{L}_{\mathrm{RDA}}(\pi_{\theta}) in Eq. 14 . Define \pi^{*}_{\mathrm{RDA}}=\arg\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{RDA}}(\pi_{\theta}). Then \pi^{*}_{\mathrm{RDA}}=\pi^{\tau} . Theorem 4.2 proves that the target distribution corresponding to the loss function of the RDA method is \pi^{\tau} , which is consistent with the target distribution of the BDA and RA methods. See proof in Appendix E.2 . Theorem 4.3 . Recall \mathcal{L}_{\mathrm{PRA}}(\pi_{\theta}) in Eq. 15 . Define \pi^{*}_{\mathrm{PRA}}=\arg\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{PRA}}(\pi_{\theta}) . Then \pi^{*}_{\mathrm{PRA}}=\pi^{\tau} . Theorem 4.3 shows that although the loss function of the PRA method is designed by minimizing the distance between the two distributions p^{*},p_{\theta} , its target distribution remains \pi^{\tau} . Defer proof in Appendix E.3 . Similarly, we use Theorem 4.4 to demonstrate the relationship between the target distributions of the posterior versions of the RA and PRA methods. See the proof in Appendix E.4 . Theorem 4.4 . Recall \mathcal{L}_{\mathrm{RA-P}}(\pi_{\theta}) in Eq. 13 and \mathcal{L}_{\mathrm{PRA-P}}(\pi_{\theta}) in Eq. 16 . Define \displaystyle\pi^{*}_{\mathrm{RA-P}}=\arg\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{RA-P}}(\pi_{\theta}),\ \pi^{*}_{\mathrm{PRA-P}}=\arg\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{PRA-P}}(\pi_{\theta}). (18) The following property holds: \pi^{*}_{\mathrm{RA-P}}=\pi^{*}_{\mathrm{PRA-P}}=\bar{\pi}^{\tau}. (19) In summary, while the BDA, RA, RDA, and PRA methods are designed for different scenarios, they all share the same target distribution and aim to solve the same problem (BDAP) under varying conditions of reward function access. Specifically, BDA and RA require exact reward values, RDA only needs reward differences across variables y , and PRA relies on ordinal relationships of the reward function. Based on our analyzing about the methods in our UDRRA framework, we can more accurately select the appropriate method for different scenarios. 4.2 The Relationship between DPO and PRA-P (The Target Distribution of DPO) This section analyzes the target distribution of DPO. DPO mentions that the DPO target distribution is \bar{\pi}^{\tau} which is also the the target distribution of the PRA-P method (Eq.4 in [ 10 ] ). However, we will show that there is a distribution shift between the the target distribution \bar{\pi}^{\tau} of the PRA-P method and the the target distribution of DPO. We use Theorem 4.5 to strictly analyze the differences and connections between DPO and PRA-P. Theorem 4.5 . When p^{*} is modeled by the BT model: \displaystyle p^{*}(1|y_{1},y_{2},x) \displaystyle=\omega(r(x,y_{2-z}),r(x,y_{z+1}))=\sigma(r(x,y_{1})-r(x,y_{2})), (20) then we have the following equality: {\mathcal{L}_{\mathrm{PRA-P}}\left(\pi_{\theta}\right)=\mathcal{L}_{\mathrm{DPO}}\left(\pi_{\theta}\right)+\eta_{1}(\pi_{\theta},\pi_{0})+\eta_{2}(\pi_{\theta}),} (21) where \eta_{1}(\pi_{\theta},\pi_{0}) equals to 0 if and only if \pi_{\theta}=\pi_{0} and \eta_{2}(\pi_{\theta})\triangleq\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[M(x,y_{1},y_{2})\right] . Theorem 4.5 tells us that since \mathcal{D}_{R} in DPO is an offline dataset, a shift term \eta_{1}(\pi_{\theta},\pi_{0}) is introduced between DPO and PRA-P. Because of the difference between \pi_{\theta} and \pi_{0} , the existence of the non-zero term \eta_{1}(\pi_{\theta},\pi_{0}) makes the target distribution of DPO deviate from the target distribution \bar{\pi}^{\tau} of the PRA-P method. We call this phenomenon as distribution shift. Defer the proofs to Appendix E.5 . Moreover, \eta_{2}(\pi_{\theta}) is a regularization term which serves to increase the information entropy ( -M(x,y_{1},y_{2}) ) of the comparison probability p^{*} under the current policy distribution \pi_{\theta} . The ignorance of this regularization term will make the DPO deviate further from the target distribution \bar{\pi}^{\tau} . Lastly, we emphasize that the \omega function in the PRA method only needs to satisfy the symmetric complementarity property and is not limited to the BT model, which is a special case. We list more \omega functions meeting this requirement in Table 3 . 5 Components Influence in Algorithms within UDRRA After analyzing the connections and distinctions between algorithms like DPO, the remaining question is how the common components in algorithms within UDRRA affect their performance. Here we focus on the impact of hyperparameters \tau and preference datasets on algorithm performance. 5.1 Q1: The Influence of \tau on Algorithm Performance For Q1, Increasing hyper-parameter \tau can speed up the convergence of DPO, which will formulate in Theorem 5.1 . As \tau increases, the optimal solution \bar{\pi}^{\tau} of DPO tends to \pi^{\delta} (See Proposition 2.2 ), while deviating from \pi_{\text{ref}} . Thus there exists a trade-off between the convergence rate and maintaining proximity to \pi_{\text{ref}} . Theorem 5.1 . Assume \pi_{\theta} is constructed by Definition C.1 . Consider the DPO loss function \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) . Given the learning rate \alpha_{t} satisfying finite squared summability, suppose the parameters \theta are updated by: \theta_{t+1}=\theta_{t}-\alpha_{t}g(x,y_{w},y_{l},\theta_{t}), (22) where g(x,y_{w},y_{l},\theta_{t}) is a stochastic gradient of \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{t}};\pi_{\text{ref }}) . Assume \|g(\cdot,\cdot,\cdot,\cdot)\|^{2}\leq G^{2} . Denote \mathcal{L}_{\mathrm{DPO}}^{*}=\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) , then: \displaystyle\min_{1\leq i\leq T} \displaystyle||\nabla_{\theta}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{i}};\pi_{\text{ref }})||^{2}_{2}\leq\frac{2G^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}}{\tau^{2}\sum_{t=1}^{T-1}\alpha_{t}}+\frac{\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{1}})-\mathcal{L}_{\mathrm{DPO}}^{*}}{\sum_{t=1}^{T-1}\alpha_{t}}. (23) See the proof in Appendix F.2 . We assume the policy is a softmax policy (Definition C.1 ) and show that the gradient norm of the DPO loss function has an upper bound under non-convexity, which is negatively correlated with the hyper-parameter \tau . Thus we have that \tau is inversely related to the convergence rate of DPO. This paper focuses on the impact of \tau , rather than the design of the LLMs. Thus, we simplify Theorem 5.1 to apply the convergence theorem for SGD in non-convex settings. Our argument is that, as long as the policy distribution is a softmax policy (Definition C.1 ), we show that the loss functions for all four methods in our framework, including DPO, are L -smooth with respect to the policy parameters \theta leading to a sub-linear convergence rate of O(\frac{1}{T}) . Method #Loss Functions #Smooth Coefficient ( L ) # p(x,y;\pi_{\theta}) Forward-BDA Eq. 7 6\epsilon_{1}+10 \pi_{\theta}(y|x),x\sim\mathcal{D} Reverse-BDA Eq. 8 2 \pi^{\tau}(y|x),x\sim\mathcal{D} RA Eq. 10 and Eq. 13 3\epsilon_{1}^{2}+\frac{18\epsilon_{1}}{\tau}+\frac{8}{\tau^{2}}+\max\left\{\epsilon_{1}^{2}+\frac{2}{\tau}\epsilon_{1},\frac{1}{\tau}\right\} \pi_{\theta}(y|x),x\sim\mathcal{D} RDA Eq. 14 20\epsilon_{2}^{2}+\frac{32\epsilon_{2}}{\tau}+\frac{8}{\tau^{2}} \pi_{\theta}(y|x),x\sim\mathcal{D} PRA Eq. 15 and Eq. 16 20\log(1+e^{\frac{d}{\tau}})+\frac{16\epsilon_{3}}{\tau}+\frac{4}{\tau^{2}}+16\log 2 \pi_{\theta}(y|x),x\sim\mathcal{D} DPO Eq. 6 \frac{4}{\tau^{2}} \pi_{0}(y|x),x\sim\mathcal{D} Table 2: Smooth Coefficients for different methods. \pi_{\theta} is the current policy to be optimized, and \pi_{0} is the sampling distribution for DPO’s offline dataset. Let |\log(\pi_{\theta}(y|x))-\log(\pi^{\tau}(y|x))|\leq\epsilon_{1} , where \epsilon_{1} represents the maximum likelihood difference between \pi_{\theta} and \pi^{\tau} . Let |(r_{\theta}(x,y_{1})-r_{\theta}(x,y_{2}))-(r(x,y_{1})-r(x,y_{2}))|\leq\epsilon_{2} , where \epsilon_{2} is the maximum deviation between r_{\theta} and r . Define d as the diameter of the smallest manifold sphere containing the domain of \theta (as per Definition C.1 ), i.e. |\theta(x_{1},y_{1})-\theta(x_{2},y_{2})|\leq d . Similarly, let |p^{*}(z|y_{1},y_{2},x)-p_{\theta}(z|y_{1},y_{2},x)|\leq\epsilon_{3} , where \epsilon_{3} bounds the difference between \bar{p}_{\theta}(z|y_{1},y_{2},x) and p^{*}(z|x,y_{1},y_{2}) . Thus we summarize the convergence properties of DPO and related methods (BDA, RA, RDA, PRA) in Table 2 , corresponding to Lemma F.8 - F.12 . Our goal is to compare these methods from a unified perspective, focusing on the smoothness coefficient L , which influences convergence. The variations in L arise from differences in how their loss functions are constructed. For Table 2 , we summarized several interesting conclusions below. First, the Forward-BDA method has a larger smooth coefficient ( 6\epsilon_{1}+10 ) than the Reverse-BDA method, indicating slower convergence but a more sampling-friendly policy \pi_{\theta} . Second, the RA method outperforms both BDA methods by setting \epsilon_{1} and \tau to reduce the smooth coefficient. For instance, when \epsilon_{1} and \tau satisfy 0\leq\epsilon_{1}\leq\frac{\sqrt{1+\tau}-1}{\tau}\leq\frac{\sqrt{6}-1}{5} , the smooth coefficient of the RA method is bounded by 2, ensuring faster convergence. Third, the smooth coefficients of the RDA and PRA methods can be reduced by adjusting \epsilon_{2},\epsilon_{3},\tau , and the parameter domain diameter d , to speed up their convergence. Lastly, the DPO method has a higher smooth coefficient than PRA, with additional terms like 20\log(1+e^{\frac{d}{\tau}})+\frac{16\epsilon_{3}}{\tau}+16\log 2 , indicating that DPO converges faster than PRA due to the distribution shift bias. 5.2 Q2: The Influence of Preference Dataset on Algorithm Performance Since DPO is a representative algorithm in RLHF, this paper uses it to answer Q2. Essentially, the design of preference dataset \mathcal{D}_{R} depends on the design of the sampling strategy \pi_{0} , in other words, the relationship between the sampling strategy \pi_{0} and the current strategy \pi_{\theta} . Thus for Q2, we use Theorem 5.3 to show that data (x,y_{1},y_{2}) should be selected where both the reward values and policy probabilities have a large and consistent margin between y_{1} and y_{2} . Larger margins accelerate convergence, while consistent margins reduce distribution shift. To prove Theorem 5.3 , we first consider a simplified question: should the sampling strategy \pi_{0} prioritize samples with large or small reward differences or margins when identifying winners and losers? The challenge is that \pi_{0} and \pi_{\theta} are interdependent, as we optimize \pi_{\theta} . To address this, Lemma 5.2 quantifies their relationship when \pi_{0} is a uniform distribution. Define event sets \Omega_{1}=\{(y_{1},y_{2},x)\mid|\log\frac{p^{*}(1\mid y_{1},y_{2},x)}{p^{*}(0\mid y_{1},y_{2},x)}|\geq\epsilon_{0}\} and \Omega_{2}=\{(y_{1},y_{2},x)\mid|\log\frac{\pi_{\theta}(y_{1}\mid x)\pi_{\text{ref}}(y_{2}\mid x)}{\pi_{\theta}(y_{2}\mid x)\pi_{\text{ref}}(y_{1}\mid x)}|\geq\epsilon_{0}\} . Let \gamma(x)=\frac{|\Omega_{1}\cap\Omega_{2}|}{K^{2}}\leq\gamma , where K=|\mathbb{Y}| . \epsilon_{0} represents the log-probability significance threshold of p^{*} . Intuitively, the parameter \gamma reflects the alignment between \pi_{0} and \pi_{\theta} for large-margin data pairs (x,y_{1},y_{2}) . Lemma 5.2 . Assume \|g_{t}\|^{2}\leq G^{2} . See \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) on Eq. 6 . Given the learning rate \alpha_{t} satisfying finite squared summability, for DPO, let \gamma(x)\leq\gamma , when \pi_{0} is a uniform distribution, then: \displaystyle\min_{1\leq i\leq T} \displaystyle||\nabla_{\theta}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{i}};\pi_{\text{ref }})||^{2}_{2}\leq\frac{\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{1}})-\mathcal{L}_{\mathrm{DPO}}^{*}}{\sum_{t=1}^{T-1}\alpha_{t}}+\frac{2(\gamma c_{0}+1)G^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}}{\tau^{2}\sum_{t=1}^{T-1}\alpha_{t}}. (24) where \mathcal{L}_{\mathrm{DPO}}^{*}=\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) and c_{0}=\sigma(\frac{\epsilon_{0}}{\tau})\sigma(-\frac{\epsilon_{0}}{\tau})-1\in(-1,0) . Assuming \pi_{0} is uniform, Lemma 5.2 prepares for analyzing how sampling certain types of data affects convergence. Since c_{0} is negative, a higher \gamma value indicates better alignment and faster convergence, as shown in the second term of Eq. 24 . Based on Lemma 5.2 , we further demonstrate with Theorem 5.3 that when the data pairs (x,y_{1},y_{2}) satisfy that (x,y_{1},y_{2})\in\Omega_{1}\cap\Omega_{2} and are sampled more, the convergence rate can be accelerated. In Theorem 5.3 , \mu represents a preference for selecting data pairs with large margins that are also consistent with \pi_{\theta} . Compared to the upper bound of inequality 24 , the upper bound of inequality 25 is smaller, indicating that the data selection distribution \pi_{1} plays a beneficial role in accelerating the DPO optimization process. Thus in practice, we can sample data according to \pi_{1} to achieve faster convergence for DPO. See proof for Theorem 5.3 in Appendix F.4 . Theorem 5.3 . Define joint conditional probability distribution \pi_{1}(y_{1},y_{2}|x)=\frac{\mu}{K^{2}}\ \text{if}\ (x,y_{1},y_{2})\in(\Omega_{1}\cap\Omega_{2});\frac{1-\mu\gamma}{(1-\gamma)K^{2}}\text{else} where \mu\in(0,1) . Assume \|g_{t}\|^{2}\leq G^{2} . Given the learning rate \alpha_{t} satisfying finite squared summability, for DPO, we have: \displaystyle\min_{1\leq i\leq T} \displaystyle||\nabla_{\theta}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{i}};\pi_{\text{ref }})||^{2}_{2}\leq\frac{\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{1}})-\mathcal{L}_{\mathrm{DPO}}^{*}}{\sum_{t=1}^{T-1}\alpha_{t}}+\frac{2(\mu\gamma c_{0}+1)G^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}}{\tau^{2}\sum_{t=1}^{T-1}\alpha_{t}}. (25) In summary, we conduct the answers for Q1 and Q2: • About Q1: A larger value of \tau leads to faster convergence of DPO. As \tau increases, the optimal solution \bar{\pi}^{\tau} of DPO converges to \pi^{\delta} , while deviating from \pi_{\text{ref}} . Hence, there is a trade-off between the convergence speed and the preservation of proximity to \pi_{\text{ref}} . • About Q2: Selecting data where both the current policy probability values ( \pi(y_{1}|x) and \pi(y_{2}|x) ) and the reward values ( r(x,y_{1}) and r(x,y_{1}) ) consistently exhibit a large distance (i.e. large margin) can accelerate the convergence of the DPO algorithm. And with the consistence, the distribution shift problem will reduce. 6 Conclusion In this paper, we investigated the connections of DPO, RL and other RLHF algorithms. We proposed UDRRA to link these algorithms through their different reward function scenarios. Then we analyzed the target distributions corresponding to the methods in UDRRA and pointed out that the distribution shift problem of DPO comparing PRA-P. Furthermore, we examined the impact of key components of the DPO loss on algorithm performance. Our findings offer a deeper understanding of DPO’s theoretical positioning and practical implications, providing a foundation for future developments in RLHF algorithms. Appendix Contents • Appendix A : Related Work. • Appendix B : Discussion about p^{*}(z\mid y_{1},y_{2},x)=\omega(r(x,y_{2-z}),r(x,y_{z+1})) . • Appendix C : Proof in Section 2 . • Appendix C.1 : Proof of Proposition 2.2 . • Appendix C.2 : The Softmax Transform of Policy \pi_{\theta} . • Appendix D : Proof in Section 3 . • Appendix D.1 : Derivation of Equation 7 . • Appendix D.2 : Derivation of Equation 8 . • Appendix D.3 : Derivation of Equation 15 . • Appendix D.4 : Derivation of Equation 10 . • Appendix D.5 : Derivation of Equation 6 . • Appendix E : Proof in Section 4 . • Appendix E.1 : The Target Distribution Equivalence of Eq. 7 , Eq. 8 and Eq. 10 . • Appendix E.2 : The Target Distribution Equivalence of Eq. 10 and Eq. 14 . • Appendix E.3 : The Target Distribution Equivalence of Eq. 14 and Eq. 15 . • Appendix E.4 : Proof of The Target Distribution Equivalence of Eq. 13 and Eq. 16 . • Appendix E.5 : Proof of Theorem 4.5 . • Appendix F : Proof in Section 5 . • Appendix F.1 : Proof of Proposition F.1 . • Appendix F.2 : Proof of Theorem 5.1 . • Appendix F.3 : Proof of Lemma 5.2 . • Appendix F.4 : Proof of Theorem 5.3 . • Appendix F.5 : Proposition F.2 . • Appendix F.6 : Sub Lemma for Lemma F.8 - F.12 . • Appendix F.7 : Proof of Lemma F.8 . • Appendix F.8 : Proof of Lemma F.9 . • Appendix F.9 : Proof of Lemma F.10 . • Appendix F.10 : Proof of Lemma F.11 . • Appendix F.11 : Proof of Lemma F.12 . Appendix A Related Work Reinforcement Learning from Human Feedback (RLHF). The Large Language Models (LLMs) [ 1 , 24 , 25 , 3 , 26 , 4 , 27 ] is one of the most promising evolutions towards Artificial General Intelligence (AGI). The success of this transformation lies a critical component: Reinforcement Learning from Human Feedback (RLHF) or Human Alignment (HA), which is the final and crucial step in LLMs’ training [ 5 , 2 , 6 , 7 , 8 ] . Motivated by the instability, complexity, and incurring significant computational costs of the RLHF process, [ 10 ] proposed an algorithmic framework for directly optimizing the language model to follow human preferences, namely the DPO algorithm, based on the analysis of the optimal solutions of classic RL algorithm PPO [ 28 , 29 ] . DPO has received widespread attention since its inception, and hundreds of algorithms for improving DPO have been derived within a year, e.g. IPO [ 11 ] , KTO [ 30 ] , SimPO [ 31 ] , ORPO [ 32 ] , etc. DPO \& PPO discussing. The success of DPO [ 10 ] benefits from the optimal solution analysis of the KL-constrained reward maximization objective (Eq.3 in [ 10 ] ) come from the classical Reinforcement Learning (RL) algorithm, PPO [ 13 ] . Therefore, the performance difference between the DPO algorithm and the PPO based RLHF method [ 9 ] has gradually attracted the attention of researchers in the RL community [ 18 ] . In general, while the DPO algorithm can fit the static training dataset comparably, it generalizes less effectively than PPO based RLHF [ 33 ] . While PPO based RLHF usually performs better in the state-of-the-art production-level LLMs [ 19 ] , its correct fine-tuning usually requires more sophisticated techniques [ 17 ] . There are many works that empirically discuss the relationship between the DPO algorithm and the PPO algorithm in RLHF. From the perspective of algorithm design, [ 17 , 18 , 19 ] pointed out that the PPO algorithm is generally better than the DPO algorithm in human preference alignment tasks, but the PPO algorithm requires various additional tricks, such as advantage normalization, large batch size, and exponential moving average update for the reference model. [ 34 ] combined the advantages of DPO and PPO to create a more effective algorithm named RTO at the token-level. From the perspective of data source, [ 35 ] classified algorithms such as DPO as offline algorithms, while the PPO based RLHF is an online algorithm. This demonstration is consistent with our paper. [ 36 , 33 ] showed that compared with the DPO algorithm that only relies on static data sets, the PPO algorithm can use sufficient non-preferred data for policy optimization to significantly improve performance by relying on the generalization ability of its Reward model. Appendix B Discussion about p^{*}(z\mid y_{1},y_{2},x)=\omega(r(x,y_{2-z}),r(x,y_{z+1})) As for modeling the comparison probability p^{*}(z\mid y_{1},y_{2},x) between r(x,y_{1}) and r(x,y_{2}) , i.e. the pair (x,y_{1},y_{2},z) is sampled with probability p^{*}(z\mid y_{1},y_{2},x)=\omega(r(x,y_{2-z}),r(x,y_{z+1})) where z\in\{0,1\} , in general, the difficulty of estimating the reward depends on the complexity of \omega^{-1} . Table 3 presents several special forms of the \omega function, including cases based on the BT model assumptions [ 14 ] , along with an analysis of their relevant properties. \omega(r(x,y_{2-z}),r(x,y_{z+1})) #Requirement about r(x,y) #Inverse Formula about r(x,y_{1})-r(x,y_{2}) #Corresponding Algorithm 1 \quad\frac{\exp(\eta r(x,y_{2-z}))}{\exp(\eta r(x,y_{2-z}))+\exp(\eta r(x,y_{z+1}))} [-\infty,\infty] \frac{1}{\eta}\log(\frac{p^{*}(1\mid y_{1},y_{2},x)}{1-p^{*}(1\mid y_{1},y_{2},x)}) DPO [ 10 ] \frac{(\eta r(x,y_{2-z}))}{(\eta r(x,y_{2-z}))+(\eta r(x,y_{z+1}))} [0,\infty] N/A TYPO [ 37 ] 2 \quad\frac{1}{2}+\frac{1}{2}\tanh(r(x,y_{2-z})-r(x,y_{z+1})) [-\infty,\infty] \frac{1}{2}\log(\frac{p^{*}(1\mid y_{1},y_{2},x)}{1-p^{*}(1\mid y_{1},y_{2},x)}) N/A \frac{1}{2}+\frac{1}{2}\sin(r(x,y_{2-z})-r(x,y_{z+1})) [-\frac{\pi}{2},\frac{\pi}{2}] \arcsin(2p^{*}(1\mid y_{1},y_{2},x)-1) N/A \mathbb{I}(r(x,y_{2-z})-r(x,y_{z+1})) [-\infty,\infty] 1 IPO [ 11 ] 4 \quad\max\{0,1-\eta(r(x,y_{2-z})-r(x,y_{z+1}))\} [-\infty,\infty] N/A SLiC [ 38 ] 3 4 \quad\frac{\exp(\eta r(x,y_{2-z}))}{\exp(\eta r(x,y_{2-z}))+\exp(\eta r(x,y_{\text{average}}))} [-\infty,\infty] \frac{1}{\eta}\log(\frac{p^{*}(1\mid y_{1},y_{2},x)(1-p^{*}(0\mid y_{1},y_{2},x))}{p^{*}(0\mid y_{1},y_{2},x)(1-p^{*}(1\mid y_{1},y_{2},x))}) KTO [ 30 ] 4 \quad\frac{1}{(1+\exp(\eta(r(x,y_{2-z})-r(x,y_{z+1}))))^{2}} [-\infty,\infty] \frac{1}{\eta}\log(\frac{\sqrt{p^{*}(1\mid y_{1},y_{2},x)}}{1-\sqrt{p^{*}(1\mid y_{1},y_{2},x)}}) N/A 4 \quad\exp(\eta(r(x,y_{2-z})-r(x,y_{z+1}))) [-\infty,\infty] \frac{1}{\eta}\log(p^{*}(1\mid y_{1},y_{2},x)) N/A 1 Here is the generalized BT model expression, like other work did, we simplified \eta=1 in Eq. 20 . 2 \frac{1}{2}+\frac{1}{2}\tanh(r(x,y_{1})-r(x,y_{2})) actually is a BT model expression when \eta=2 . 3 r(x,y_{\text{average}}) is the reference point z_{\text{ref}} in KTO [ 30 ] . 4 These forms of \omega may not strictly satisfy p^{*}(1\mid y_{1},y_{2},x)=(1-p^{*}(0\mid y_{1},y_{2},x)) . Table 3: Various expressions of function \omega(r(x,y_{2-z}),r(x,y_{z+1})) . Appendix C Proof in Section 2 C.1 Proof of Proposition 2.2 Proposition 2.2 : Without loss of generality, assume that the reward function r(x,y) has a unique maximum for any given x . Define \pi^{\delta}(y|x)=\begin{cases}1,&\text{if }y=\arg\max_{y^{\prime}}r(x,y^{\prime}),\\ 0,&\text{otherwise}.\end{cases} Then the following limit holds: \lim_{\tau\to\infty}\pi^{\tau}(y|x)=\pi^{\delta}(y|x). Proof: Given x and defining y^{*}=\arg\max\ r(x,y) , we consider the limit of \pi^{\tau}(y|x) at the point (x,y^{*}) as \tau approaches infinity: \displaystyle\lim_{\tau\to\infty}\pi^{\tau}(y^{*}|x)=\lim_{\tau\to\infty}\frac{\exp(\tau r(x,y^{*}))}{\sum_{y\in Y}\exp(\tau r(x,y))}=\frac{1}{\lim_{\tau\to\infty}\sum_{y\in Y}\exp(\tau(r(x,y)-r(x,y^{*})))} (26) \displaystyle=\frac{1}{\sum_{y\in Y}\lim_{\tau\to\infty}\exp(\tau(r(x,y)-r(x,y^{*})))}=\frac{1}{1+0+\cdots+0}=1. Next, for y\neq y^{*} , we consider the limit of \pi^{\tau}(y|x) at the point (x,y) : \displaystyle\lim_{\tau\to\infty}\pi^{\tau}(y|x)=\lim_{\tau\to\infty}\frac{\exp(\tau r(x,y))}{\sum_{y^{\prime}\in Y}\exp(\tau r(x,y^{\prime}))}=\frac{1}{\lim_{\tau\to\infty}\sum_{y^{\prime}\in Y}\exp(\tau(r(x,y^{\prime})-r(x,y)))} (27) \displaystyle=\frac{1}{\sum_{y^{\prime}\in Y}\lim_{\tau\to\infty}\exp(\tau(r(x,y^{\prime})-r(x,y)))} \displaystyle=\frac{1}{\sum_{y^{\prime}\in Y,\ r(x,y^{\prime})>r(x,y)}\lim_{\tau\to\infty}\exp(\tau(r(x,y^{\prime})-r(x,y)))+\sum_{y^{\prime}\in Y,\ r(x,y^{\prime})\leq r(x,y)}\lim_{\tau\to\infty}\exp(\tau(r(x,y^{\prime})-r(x,y)))} \displaystyle=\frac{1}{\sum_{y^{\prime}\in Y,\ r(x,y^{\prime})>r(x,y)}\lim_{\tau\to\infty}\exp(\tau(r(x,y^{\prime})-r(x,y)))}=0. Thus, we conclude that \lim_{\tau\to\infty}\pi^{\tau}(y|x)=\pi^{\delta}(y|x) . Proof finished. C.2 The Softmax Transform of Policy \pi_{\theta} Given a policy \pi:\mathbb{X}\rightarrow\Delta(\mathbb{Y}) , the softmax transform of a vector exponentiates the components of the vector and normalizes it so that the result lies in the simplex. This can be used to transform vectors assigned to state-action pairs into policies: Definition C.1 . (Softmax transform.) Given the function \theta:\mathbb{X}\times\mathbb{Y}\rightarrow \mathbb{R} , the softmax transform of \theta is defined as \pi_{\theta}(\cdot\mid x)\triangleq\operatorname{softmax}(\theta(x,\cdot)) , where for all y\in\mathbb{Y} , \pi_{\theta}(y\mid x)\triangleq\frac{\exp\{\theta(x,y)\}}{\sum_{y^{\prime}}\exp\left\{\theta\left(x,y^{\prime}\right)\right\}}. (28) We call the values \theta(x,y) the logit values and the function \theta itself a logit function due to its origin in logistic regression. This paper assume the set is parameterized by a softmax function, i.e., \Pi=\{\pi_{\theta}\mid\pi_{\theta}(\cdot\mid x)\triangleq\operatorname{softmax}(\theta(x,\cdot)),\,\theta:\mathbb{X}\times\mathbb{Y}\to\mathbb{R}\} , which is commonly used in the proof of the policy gradient theorem [ 39 ] . Appendix D Proof in Section 3 D.1 Derivation of Equation 7 \displaystyle\mathbb{E}_{x\sim\mathcal{D}}\left[\mathrm{D}_{\mathrm{KL}}\left(\pi_{\theta}\left(\cdot\mid x\right)\|\pi^{\tau}\left(\cdot\mid x\right)\right)\right]=\mathbb{E}_{x\sim\mathcal{D}}[\mathrm{D}_{\mathrm{KL}}(\pi_{\theta}(y|x)||\frac{\exp(\tau r(x,y))}{Z(x)})] (29) \displaystyle= \displaystyle\mathbb{E}_{x\sim\mathcal{D}}\left[\sum_{y\in Y}\pi_{\theta}(y|x)\log\left(\frac{\pi_{\theta}(y|x)}{\frac{\exp(\tau r(x,y))}{Z(x)}}\right)\right]=\mathbb{E}_{x\sim\mathcal{D}}\left[\sum_{y\in Y}\pi_{\theta}(y|x)\log\left(\frac{Z(x)\pi_{\theta}(y|x)}{\exp(\tau r(x,y))}\right)\right] \displaystyle= \displaystyle\mathbb{E}_{x\sim\mathcal{D}}\left[\sum_{y\in Y}-\pi_{\theta}(y|x)(\tau r(x,y)-\log(\pi_{\theta}(y|x)))+\log(Z(x))\right] \displaystyle= \displaystyle\mathbb{E}_{x\sim\mathcal{D}}\left[\sum_{y\in Y}-\pi_{\theta}(y|x)(\tau r(x,y)-\log(\pi_{\theta}(y|x)))\right]+\mathbb{E}_{x\sim\mathcal{D}}[\log(Z(x))] \displaystyle\equiv \displaystyle\mathbb{E}_{x\sim\mathcal{D}}\left[\sum_{y\in Y}-\pi_{\theta}(y|x)(\tau r(x,y)-\log(\pi_{\theta}(y|x)))\right] \displaystyle= \displaystyle\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(y|x)}\left[-(\tau r(x,y)-\log(\pi_{\theta}(y|x)))\right]. The “ \equiv " means that the left and right ends differ by a term that is unrelated to \theta . D.2 Derivation of Equation 8 \displaystyle\mathbb{E}_{x\sim\mathcal{D}}\left[\mathrm{D}_{\mathrm{KL}}\left(\pi^{\tau}\left(\cdot\mid x\right)\|\pi_{\theta}\left(\cdot\mid x\right)\right)\right]\equiv\mathbb{E}_{x\sim\mathcal{D}}[\sum_{y\in Y}\frac{\exp(\tau r(x,y))}{Z(x)}(-\log\pi_{\theta}(y|x))] (30) \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi^{\tau}\left(\cdot\mid x\right)}[\log\pi_{\theta}(y|x)]=\mathbb{E}_{x\sim\mathcal{D}}[\sum_{y\in Y}\pi_{\theta}(y|x)\frac{1}{\pi_{\theta}(y|x)}\frac{\exp(\tau r(x,y))}{Z(x)}(-\log\pi_{\theta}(y|x))] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}[\frac{\exp(\tau r(x,y))}{Z(x)\pi_{\theta}(y|x)}\log\pi_{\theta}(y|x)]. D.3 Derivation of Equation 15 \displaystyle\mathcal{L}_{\mathrm{PRA}}(\pi_{\theta})=\mathbb{E}_{\mathcal{D}_{\theta}}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||p_{\theta}(z|y_{1},y_{2},x))\right] (31) \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[p^{*}(1|y_{1},y_{2},x)\log p_{\theta}\left(1|y_{1},y_{2},x\right)+p^{*}(0|y_{1},y_{2},x)\log p_{\theta}\left(0|y_{1},y_{2},x\right)\right] \displaystyle+\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[p^{*}(1|y_{1},y_{2},x)\log p^{*}(1|y_{1},y_{2},x)+p^{*}(0|y_{1},y_{2},x)\log p^{*}(0|y_{1},y_{2},x)\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[p^{*}(1|y_{1},y_{2},x)\log p_{\theta}\left(1|y_{1},y_{2},x\right)+p^{*}(0|y_{1},y_{2},x)\log p_{\theta}\left(0|y_{1},y_{2},x\right)\right] \displaystyle+\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[M(x,y_{1},y_{2})\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[p^{*}(1|y_{1},y_{2},x)\log p_{\theta}\left(1|y_{1},y_{2},x\right)+p^{*}(1|y_{2},y_{1},x)\log p_{\theta}\left(1|y_{2},y_{1},x\right)\right] \displaystyle+\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[M(x,y_{1},y_{2})\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[p^{*}(1|y_{w},y_{l},x)\log p_{\theta}\left(1|y_{w},y_{l},x\right)+p^{*}(1|y_{l},y_{w},x)\log p_{\theta}\left(1|y_{l},y_{w},x\right)\right] \displaystyle+\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[M(x,y_{1},y_{2})\right] \displaystyle= \displaystyle-\mathbb{E}_{(x,y_{w},y_{l})\sim\mathcal{D}_{\theta}}\left[\log p_{\theta}\left(1|y_{w},y_{l},x\right)\right]+\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[M(x,y_{1},y_{2})\right]. where \sigma(x)=\frac{1}{1+e^{-x}} is the sigmoid function, M(x,y_{1},y_{2})=\sum_{z=0,1}p^{*}(z|y_{1},y_{2},x)\log p^{*}(z|y_{1},y_{2},x) and (x,y_{1},y_{2})\sim\mathcal{D}_{\theta}\triangleq y_{1}\succ y_{2}\sim p^{*}(z=1|y_{1},y_{2},x),y_{1},y_{2}\sim\pi_{\theta}(y|x),x\sim\mathcal{D} . The third equality is because the symmetric complementarity property of \omega(\cdot,\cdot) : p^{*}(1|y_{2},y_{1},x)=\omega(r(x,y_{2}),r(x,y_{1}))=1-\omega(r(x,y_{1}),r(x,y_{2}))=1-p^{*}(1|y_{1},y_{2},x)=p^{*}(0|y_{1},y_{2},x). (32) D.4 Derivation of Equation 10 \displaystyle\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\left(r_{\theta}(x,y)-r(x,y)\right)^{2}\right]=\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(y|x)}\left(\frac{1}{\tau}\log(\pi_{\theta}(y|x))+\frac{1}{\tau}\log(Z(x))-r(x,y)\right)^{2} (33) \displaystyle= \displaystyle\frac{1}{\tau^{2}}\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\left(\log(\pi_{\theta}(y|x))-\log(\frac{\exp(\tau r(x,y))}{Z(x)})\right)^{2}\right]=\frac{1}{\tau^{2}}\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\left(\log(\frac{\pi_{\theta}(y|x)}{\pi^{\tau}(y|x)})\right)^{2}\right]. D.5 Derivation of Equation 6 \displaystyle\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\mathbb{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||\bar{p}_{\theta}(z|y_{1},y_{2},x))\right] (34) \displaystyle\equiv \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[p^{*}(1|y_{1},y_{2},x)\log\sigma\left(\bar{h}_{\theta}(x,y_{1},y_{2})\right)+p^{*}(0|y_{1},y_{2},x)\log\sigma\left(\bar{h}_{\theta}(x,y_{2},y_{1})\right)\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[p^{*}(1|y_{1},y_{2},x)\log\sigma\left(\bar{h}_{\theta}(x,y_{1},y_{2})\right)+p^{*}(1|y_{2},y_{1},x)\log\sigma\left(\bar{h}_{\theta}(x,y_{2},y_{1})\right)\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[p^{*}(1|y_{w},y_{l},x)\log\sigma\left(\bar{h}_{\theta}(x,y_{w},y_{l})\right)+p^{*}(1|y_{l},y_{w},x)\log\sigma\left(\bar{h}_{\theta}(x,y_{l},y_{w})\right)\right] \displaystyle= \displaystyle-\mathbb{E}_{(x,y_{w},y_{l})\sim\mathcal{D}_{R}}\left[\log\sigma\left(\bar{h}_{\theta}(x,y_{w},y_{l})\right)\right] \displaystyle= \displaystyle-\mathbb{E}_{(x,y_{w},y_{l})\sim\mathcal{D}_{R}}\left[\log\sigma\left(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{w}|x)}{\pi_{ref}(y_{w}|x)}-\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{l}|x)}{\pi_{ref}(y_{l}|x)}\right)\right]. where z\in\{0,1\} , \bar{p}_{\theta}(0|y_{1},y_{2},x)=\sigma\left(\bar{h}_{\theta}(x,y_{2},y_{1})\right) and \bar{p}_{\theta}(1|y_{1},y_{2},x)=\sigma\left(\bar{h}_{\theta}(x,y_{1},y_{2})\right) . Appendix E Proof in Section 4 E.1 The Target Distribution Equivalence of Eq. 7 , Eq. 8 and Eq. 10 Denote: \displaystyle\pi^{*}_{\mathrm{Forward-KL}} \displaystyle=\arg\min_{\pi_{\theta}}-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[(\tau r(x,y)-\log(\pi_{\theta}(y|x)))\right], (35) \displaystyle\pi^{*}_{\mathrm{Reverse-KL}} \displaystyle=\arg\min_{\pi_{\theta}}-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi^{\tau}\left(\cdot\mid x\right)}[\log\pi_{\theta}(y|x)], \displaystyle\pi^{*}_{\mathrm{RA}} \displaystyle=\arg\min_{\pi_{\theta}}\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\frac{1}{\tau^{2}}\left(\log(\frac{\pi_{\theta}(y|x)}{\pi^{\tau}(y|x)})\right)^{2}\right], then \pi^{*}_{\mathrm{Forward-KL}}=\pi^{*}_{\mathrm{Reverse-KL}}=\pi^{*}_{\mathrm{RA}}=\pi^{\tau} . Proof: First, we prove \pi^{*}_{\mathrm{Forward-KL}}=\pi^{\tau} : \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\tau r(x,y)-\log(\pi_{\theta}(y|x))\right]-(-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi^{\tau}(\cdot|x)}\left[\tau r(x,y)-\log(\pi^{\tau}(y|x))\right]) (36) \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\tau r(x,y)-\log(\pi_{\theta}(y|x))\right]+\mathbb{E}_{x\sim\mathcal{D},y\sim\pi^{\tau}(\cdot|x)}\left[\tau r(x,y)-\log(\frac{\exp\left(\tau r\left(x,y\right)\right)}{Z(x)})\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\tau r(x,y)-\log(\pi_{\theta}(y|x))\right]+\mathbb{E}_{x\sim\mathcal{D},y\sim\pi^{\tau}(\cdot|x)}\left[\log({Z(x)})\right] \displaystyle= \displaystyle\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[-\tau r(x,y)+\log(\pi_{\theta}(y|x))+\frac{\pi^{\tau}(y|x)}{\pi_{\theta}(y|x)}\log({Z(x)})\right] \displaystyle= \displaystyle\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[-(\log\exp(\tau r(x,y))-\log({Z(x)})+\log({Z(x)}))+\log(\pi_{\theta}(y|x))+\frac{\pi^{\tau}(y|x)}{\pi_{\theta}(y|x)}\log({Z(x)})\right] \displaystyle= \displaystyle\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[-\log(\pi^{\tau}(y|x))-\log({Z(x)})+\log(\pi_{\theta}(y|x))+\frac{\pi^{\tau}(y|x)}{\pi_{\theta}(y|x)}\log({Z(x)})\right] \displaystyle= \displaystyle\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\log(\frac{\pi_{\theta}(y|x)}{\pi^{\tau}(y|x)})+\frac{\pi^{\tau}(y|x)-\pi_{\theta}(y|x)}{\pi_{\theta}(y|x)}\log({Z(x)})\right] \displaystyle= \displaystyle\mathbb{E}_{x\sim\mathcal{D}}\left[\mathrm{D}_{\mathrm{KL}}\left(\pi_{\theta}\left(\cdot\mid x\right)\|\pi^{\tau}\left(\cdot\mid x\right)\right)\right]\geq 0. From the above equation, we can see that when \pi_{\theta} is equal to \pi^{\tau} , -\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\tau r(x,y)-\log(\pi_{\theta}(y|x))\right] reaches the minimum value -\mathbb{E}_{x\sim\mathcal{D},y\sim\pi^{\tau}(\cdot|x)}\left[\tau r(x,y)-\log(\pi^{\tau}(y|x))\right] . Therefore \pi^{*}_{\mathrm{Forward-KL}}=\pi^{\tau} . Second, similarly we can prove \pi^{*}_{\mathrm{Reverse-KL}}=\pi^{\tau} : \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi^{\tau}\left(\cdot\mid x\right)}[\log\pi_{\theta}(y|x)]-(-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi^{\tau}\left(\cdot\mid x\right)}[\log\pi^{\tau}(y|x)])=\mathbb{E}_{x\sim\mathcal{D}}\left[\mathrm{D}_{\mathrm{KL}}\left(\pi^{\tau}\left(\cdot\mid x\right)\|\pi_{\theta}\left(\cdot\mid x\right)\right)\right]\geq 0. (37) At last, we prove \pi^{*}_{\mathrm{RA}}=\pi^{\tau} like above: \displaystyle\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\frac{1}{\tau^{2}}\left(\log(\frac{\pi_{\theta}(y|x)}{\pi^{\tau}(y|x)})\right)^{2}\right]-\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\frac{1}{\tau^{2}}\left(\log(\frac{\pi^{\tau}(y|x)}{\pi^{\tau}(y|x)})\right)^{2}\right]=\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\frac{1}{\tau^{2}}\left(\log(\frac{\pi_{\theta}(y|x)}{\pi^{\tau}(y|x)})\right)^{2}\right]\geq 0. (38) Proof finished. E.2 The Target Distribution Equivalence of Eq. 10 and Eq. 14 Here we prove the target distribution equivalence of Eq. 10 and Eq. 14 . Denote \displaystyle\pi^{*}_{\mathrm{RDA}} \displaystyle=\arg\min_{\pi_{\theta}}\mathbb{E}_{\mathcal{D}_{\text{pw}}}\left[\left(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}-(r(x,y_{1})-r(x,y_{2}))\right)^{2}\right], (39) then \pi^{*}_{\mathrm{RDA}}=\pi^{*}_{\mathrm{RA}}=\pi^{\tau} . Proof: \displaystyle\mathbb{E}_{\mathcal{D}_{\text{pw}}}\left[\left(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}-(r(x,y_{1})-r(x,y_{2}))\right)^{2}\right]-\mathbb{E}_{\mathcal{D}_{\text{pw}}}\left[\left(\frac{1}{\tau}\log\frac{\pi^{\tau}(y_{1}|x)}{\pi^{\tau}(y_{2}|x)}-(r(x,y_{1})-r(x,y_{2}))\right)^{2}\right] (40) \displaystyle= \displaystyle\mathbb{E}_{\mathcal{D}_{\text{pw}}}\left[\left(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}-(r(x,y_{1})-r(x,y_{2}))\right)^{2}\right]\geq 0. When \pi_{\theta} is equal to \pi^{\tau} , \mathbb{E}_{\mathcal{D}_{\text{pw}}}\left[\left(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}-(r(x,y_{1})-r(x,y_{2}))\right)^{2}\right] reaches the minimum value 0. Therefore \pi^{*}_{\mathrm{RDA}}=\pi^{*}_{\mathrm{RA}}=\pi^{\tau} . Proof finished. E.3 The Target Distribution Equivalence of Eq. 14 and Eq. 15 Denote \displaystyle\pi^{*}_{\mathrm{PRA}} \displaystyle=\arg\min_{\pi_{\theta}}\mathbb{E}_{\mathcal{D}_{\theta}}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||p_{\theta}(z|y_{1},y_{2},x))\right], (41) then \pi^{*}_{\mathrm{PRA}}=\pi^{*}_{\mathrm{RDA}}=\pi^{\tau} . Proof: Because r_{\theta}(x,y)=\frac{1}{\tau}\log(Z(x)\pi_{\theta}(y|x)) , p^{*}(z\mid y_{1},y_{2},x)=\omega(r(x,y_{2-z}),r(x,y_{z+1})) and p_{\theta}(z|y_{1},y_{2},x)=\omega(r_{\theta}(x,y_{2-z}),r_{\theta}(x,y_{z+1})) , when \pi_{\theta} is equal to \pi^{\tau} , r_{\theta}(x,y)=\frac{1}{\tau}\log(Z(x)\pi_{\theta}(y|x))=r(x,y) . Then p_{\theta}(z|y_{1},y_{2},x)=p^{*}(z|y_{1},y_{2},x) and \mathbb{E}_{\mathcal{D}_{\theta}}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||p_{\theta}(z|y_{1},y_{2},x))\right]=0 , then \pi^{*}_{\mathrm{PRA}}=\pi^{\tau}=\pi^{*}_{\mathrm{RDA}} . Proof finished. E.4 Proof of The Target Distribution Equivalence of Eq. 13 and Eq. 16 Proof: See the definition of \bar{\pi}^{\tau} in Eq. 11 . Denote \displaystyle\pi^{*}_{\mathrm{RA-P}} \displaystyle=\arg\min_{\pi_{\theta}}\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\left(\frac{1}{\tau}\log(Z^{\prime}(x)\frac{\pi_{\theta}(y|x)}{\pi_{ref}(y|x)})-r(x,y)\right)^{2}\right] (42) \displaystyle\pi^{*}_{\mathrm{PRA-P}} \displaystyle=\arg\min_{\pi_{\theta}}\mathbb{E}_{\mathcal{D}_{\theta}}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||\bar{p}_{\theta}(z|y_{1},y_{2},x))\right]. First, when \pi_{\theta} is equal to \bar{\pi}^{\tau} , then \displaystyle\mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\left(\frac{1}{\tau}\log(Z^{\prime}(x)\frac{\pi_{\theta}(y|x)}{\pi_{ref}(y|x)})-r(x,y)\right)^{2}\right] (43) \displaystyle= \displaystyle\mathbb{E}_{x\sim\mathcal{D},y\sim\bar{\pi}^{\tau}(\cdot|x)}\left[\left(\frac{1}{\tau}\log(Z^{\prime}(x)\frac{\bar{\pi}^{\tau}(y|x)}{\pi_{ref}(y|x)})-r(x,y)\right)^{2}\right] \displaystyle= \displaystyle\mathbb{E}_{x\sim\mathcal{D},y\sim\bar{\pi}^{\tau}(\cdot|x)}\left[\left(\frac{1}{\tau}\log(\exp(\tau r(x,y))-r(x,y)\right)^{2}\right]=0. Because \mathbb{E}_{x\sim\mathcal{D},y\sim\pi_{\theta}(\cdot|x)}\left[\left(\frac{1}{\tau}\log(Z^{\prime}(x)\frac{\pi_{\theta}(y|x)}{\pi_{ref}(y|x)})-r(x,y)\right)^{2}\right]\geq 0 , then \pi^{*}_{\mathrm{RA-P}}=\bar{\pi}^{\tau} . Second, when \pi_{\theta} is equal to \bar{\pi}^{\tau} , r_{\theta}(x,y)=\frac{1}{\tau}\log(Z^{\prime}(x)\frac{\pi_{\theta}(y|x)}{\pi_{ref}(y|x)}))=\frac{1}{\tau}\log(Z^{\prime}(x)\frac{\bar{\pi}^{\tau}(y|x)}{\pi_{ref}(y|x)}))=r(x,y) . Then \bar{p}_{\theta}(z|y_{1},y_{2},x)=p^{*}(z|y_{1},y_{2},x) and \mathbb{E}_{\mathcal{D}_{\theta}}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||\bar{p}_{\theta}(z|y_{1},y_{2},x))\right]=0 , then \pi^{*}_{\mathrm{PRA-P}}=\bar{\pi}^{\tau} . Then \pi^{*}_{\mathrm{RA-P}}=\pi^{*}_{\mathrm{PRA-P}}=\bar{\pi}^{\tau} . Proof finished. E.5 Proof of Theorem 4.5 Theorem 4.5 : Denote \displaystyle\mathcal{L}_{\mathrm{DPO}}\left(\pi_{\theta}\right)=\mathbb{E}_{\mathcal{D}_{R}}\left[-\log\sigma\left(\bar{h}_{\theta}\left(x,y_{w},y_{l}\right)\right)\right], \displaystyle\mathcal{L}_{\mathrm{PRA-P}}\left(\pi_{\theta}\right)=\mathbb{E}_{\mathcal{D}_{\theta}}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||\bar{p}_{\theta}(z|y_{1},y_{2},x))\right]. where \mathcal{D}_{R}\triangleq\{(x,y_{w},y_{l})|x\sim\mathcal{D},y_{w},y_{l}\sim\pi_{0}(\cdot|x),(y_{w}\succ y_{l})\sim p^{*}(1|y_{w},y_{l},x)\} and \mathcal{D}_{\theta}\triangleq\{(x,y_{1},y_{2})|x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(\cdot|x),(y_{1}\succ y_{2})\sim p^{*}(1|y_{1},y_{2},x)\} . When p^{*} is modeled by the BT model with Eq. 20 : \displaystyle p^{*}(1|y_{1},y_{2},x) \displaystyle=\omega(r(x,y_{2-z}),r(x,y_{z+1}))=\sigma(r(x,y_{1})-r(x,y_{2})), (44) then we have the following equality: {\mathcal{L}_{\mathrm{PRA-P}}\left(\pi_{\theta}\right)=\mathcal{L}_{\mathrm{DPO}}\left(\pi_{\theta}\right)+\eta_{1}(\pi_{\theta},\pi_{0})+\eta_{2}(\pi_{\theta}).} (45) where \eta_{1}(\pi_{\theta},\pi_{0}) equals to 0 if and only if \pi_{\theta}=\pi_{0} and \eta_{2}(\pi_{\theta})\triangleq\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[M(x,y_{1},y_{2})\right] . Proof: \displaystyle\mathcal{L}_{\mathrm{PRA-P}}\left(\pi_{\theta}\right)=\mathbb{E}_{\mathcal{D}_{\theta}}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||\bar{p}_{\theta}\left(x,y_{1},y_{2}\right))\right] (46) \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[p^{*}(z=1|y_{1},y_{2},x)\log\bar{p}_{\theta}\left(x,y_{1},y_{2}\right)+p^{*}(z=0|y_{1},y_{2},x)\log\bar{p}_{\theta}\left(x,y_{2},y_{1}\right)\right] \displaystyle+\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[p^{*}(z=1|y_{1},y_{2},x)\log p^{*}(z=1|y_{1},y_{2},x)+p^{*}(z=0|y_{1},y_{2},x)\log p^{*}(z=0|y_{1},y_{2},x)\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[p^{*}(z=1|y_{1},y_{2},x)\log\bar{p}_{\theta}\left(x,y_{1},y_{2}\right)+p^{*}(z=0|y_{1},y_{2},x)\log\bar{p}_{\theta}\left(x,y_{2},y_{1}\right)\right] \displaystyle+\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[M(x,y_{1},y_{2})\right]. where \sigma(x)=\frac{1}{1+e^{-x}} is the sigmoid function, M(x,y_{1},y_{2})=\sum_{z=0,1}p^{*}(z|y_{1},y_{2},x)\log p^{*}(z|y_{1},y_{2},x) and (x,y_{1},y_{2})\sim\mathcal{D}_{\theta}\triangleq y_{1}\succ y_{2}\sim p^{*}(z=1|y_{1},y_{2},x),y_{1},y_{2}\sim\pi_{\theta}(y|x),x\sim\mathcal{D} . Denote \eta_{2}(\pi_{\theta})=\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[M(x,y_{1},y_{2})\right] , \zeta(\bar{p}_{\theta};x,y_{1},y_{2})=p^{*}(z=1|y_{1},y_{2},x)\log\bar{p}_{\theta}\left(x,y_{1},y_{2}\right)+p^{*}(z=0|y_{1},y_{2},x)\log\bar{p}_{\theta}\left(x,y_{2},y_{1}\right) . Then we have: \displaystyle\mathcal{L}_{\mathrm{PRA-P}}\left(\pi_{\theta}\right)=-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[\zeta(\bar{p}_{\theta};x,y_{1},y_{2})\right]+\eta_{2}(\pi_{\theta}) (47) \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\zeta(\bar{p}_{\theta};x,y_{1},y_{2})\right]+\left(\sum_{x\in\mathbb{X},y_{1},y_{2}\in\mathbb{Y}}(\pi_{0}(y|x)-\pi_{\theta}(y|x))\cdot\zeta(\bar{p}_{\theta};x,y_{1},y_{2})\right)+\eta_{2}(\pi_{\theta}). Denote \sum_{x\in\mathbb{X},y_{1},y_{2}\in\mathbb{Y}}(\pi_{0}(y|x)-\pi_{\theta}(y|x))\cdot\zeta(\bar{p}_{\theta};x,y_{1},y_{2}) as \eta_{1}(\pi_{\theta},\pi_{0}) . Based on Eq. D.5 and p^{*}(1|y_{1},y_{2},x)=\omega(r(x,y_{2-z}),r(x,y_{z+1}))=\sigma(r(x,y_{1})-r(x,y_{2})) because of the BT model, then we have the final conclusion: \mathcal{L}_{\mathrm{PRA-P}}\left(\pi_{\theta}\right)=\mathcal{L}_{\mathrm{DPO}}\left(\pi_{\theta}\right)+\eta_{1}(\pi_{\theta},\pi_{0})+\eta_{2}(\pi_{\theta}). (48) Proof finished. Appendix F Proof in Section 5 Proposition F.1 . If F(\theta) is L -smooth for \theta and \|g_{t}\|^{2}\leq G^{2} . Suppose the parameters \theta are updated by: \theta_{t+1}=\theta_{t}-\alpha_{t}g(x,y,\theta_{t}), (49) Then the following inequality holds: \displaystyle\min_{1\leq t\leq T-1}||\nabla F(\theta_{t})||^{2}_{2}\leq\frac{LG^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}+2(F(\theta_{1})-F^{*})}{2\sum_{t=1}^{T-1}\alpha_{t}}. (50) where F^{*}=\arg\min_{\theta}F(\theta) . Proof of Sketch: Before proof, firstly we need to introduce a formal setting. Assume that the parameterized policy \pi_{\theta} is given by Definition C.1 and the parameters \theta is optimized by the Stochastic Gradient Descent (SGD) method. Denote F(\theta)=\mathbb{E}_{x,y\sim p(x,y;\pi_{\theta})}[f(x,y,\theta)] where p(x,y;\pi_{\theta}) is a distribution and f(x,y,\theta) is the loss function on data (x,y) for policy parameters \theta . Let g(x,y,\theta_{k}) be the stochastic gradient of \nabla F(\theta_{k}) , i.e. E_{x,y\sim p(x,y;\pi_{\theta})}[g(x,y,\theta)]=\nabla_{\theta}F(\theta) . Usually g(x,y,\theta_{t}) is simplified to g_{t} when it does not cause ambiguity. With learning rate \alpha_{t} , the SGD update rule is Eq. 50 . For Theorem F.1 , since the L -smooth property cannot guarantee convex, thus for a non-convex optimization problem, the commonly used measure is the gradient norm. Therefore, with the properties of L -smooth and SGD, Proposition F.1 holds. See details in Appendix F.1 . Observing Eq. 50 , ||\nabla F(\theta_{t})||^{2}_{2} will converge to 0 when T\rightarrow\infty if \sum_{t=1}^{\infty}\alpha_{t}^{2}\leq\infty . The smaller the variance G of stochastic gradient g_{t} is, the faster the convergence rate of ||\nabla F(\theta_{t})||^{2}_{2} is. For the methods in Figure 1 , we prove that the loss functions of these methods all satisfy the L -smooth assumption with different coefficients under the softmax parametrization of policy \pi_{\theta} (See Table 2 , corresponding to Lemma F.8 - F.12 ). F.1 Proof of Proposition F.1 Proof: Because F(\theta) is L -smooth for \theta , we have: \left|F(\theta_{t+1})-F(\theta_{t})-\nabla_{\theta}F(\theta_{t})(\theta_{t+1}-\theta_{t})\right|\leq\frac{L}{2}\|\theta_{t+1}-\theta_{t}\|_{2}^{2}. (51) where \theta_{t+1}=\theta_{t}-\alpha_{t}g_{t} . Substituting into \theta_{t+1}=\theta_{t}-\alpha_{t}g_{t} , we get: \displaystyle(F(\theta_{t+1})-F(\theta_{t})+\alpha_{t}\nabla_{\theta}F(\theta_{t})g_{t}) (52) \displaystyle\leq \displaystyle\left|F(\theta_{t+1})-F(\theta_{t})+\alpha_{t}\nabla_{\theta}F(\theta_{t})g_{t}\right| \displaystyle= \displaystyle\left|F(\theta_{t+1})-F(\theta_{t})-\nabla_{\theta}F(\theta_{t})(\theta_{t+1}-\theta_{t})\right| \displaystyle\leq \displaystyle\frac{L}{2}\|\theta_{t+1}-\theta_{t}\|_{2}^{2}=\frac{L}{2}\|\alpha_{t}g_{t}\|_{2}^{2}\leq\frac{L}{2}\alpha_{t}^{2}G^{2}. Base on Eq. 52 , we get: \alpha_{t}\nabla_{\theta}F(\theta_{t})g_{t}\leq\frac{L}{2}\alpha_{t}^{2}G^{2}+F(\theta_{t})-F(\theta_{t+1}). (53) Summing both sides with respect to t yields: \displaystyle\sum_{t=1}^{T-1}\alpha_{t}\nabla_{\theta}F(\theta_{t})g_{t}\leq\frac{L}{2}G^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}+F(\theta_{1})-F(\theta_{T})\leq\frac{L}{2}G^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}+F(\theta_{1})-F^{*}. (54) where F^{*}=\arg\min_{\theta}F(\theta) . Expect the stochastic gradient g_{t} to get: \displaystyle\min_{1\leq t\leq T-1}||\nabla_{\theta}F(\theta_{t})||_{2}^{2}\sum_{t=1}^{T-1}\alpha_{t}\leq\sum_{t=1}^{T-1}\alpha_{t}||\nabla_{\theta}F(\theta_{t})||_{2}^{2}\leq\frac{L}{2}G^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}+F(\theta_{1})-F^{*}. (55) Finally we have: \displaystyle\min_{1\leq t\leq T-1}||\nabla F(\theta_{t})||^{2}_{2}\leq\frac{LG^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}+2(F(\theta_{1})-F^{*})}{2\sum_{t=1}^{T-1}\alpha_{t}}. (56) Proof finished. F.2 Proof of Theorem 5.1 Theorem 5.1 : Assume \|g_{t}\|^{2}\leq G^{2} . Given the Definition C.1 for policy \pi_{\theta} and the learning rate \alpha_{t} , for DPO algorithm, the following properties hold: (0). \forall r,\tau , then \theta\rightarrow\mathcal{L}_{\mathrm{DPO}}\left(\pi_{\theta};\pi_{\text{ref }}\right) is \frac{4}{\tau^{2}} -smooth. (1). If there is \pi_{\theta}^{*} such that \mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}[(p^{*}(1|y_{1},y_{2},x)-\sigma(\bar{h}_{\theta}(x,y_{1},y_{2})))]=0 , then \pi_{\theta}^{*}=\arg\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }},\pi_{0}) . And \bar{\pi}^{\tau}(y|x)=\frac{\pi_{ref}(y|x)\exp(\tau r(x,y))}{Z^{\prime}(x)} is an example \pi_{\theta}^{*} with the Bradley-Terry (BT) model. (2). Denote \mathcal{L}_{\mathrm{DPO}}^{*}=\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }},\pi_{0}) . \min_{1\leq i\leq T}||\nabla_{\theta}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{i}};\pi_{\text{ref }})||^{2}_{2}\leq\frac{2G^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}}{\tau^{2}\sum_{t=1}^{T-1}\alpha_{t}}+\frac{\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{T}})-\mathcal{L}_{\mathrm{DPO}}^{*}}{\sum_{t=1}^{T-1}\alpha_{t}} . See \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) on Eq. 6 . \mathcal{D}_{R}\triangleq\{(x,y_{w},y_{l})|x\sim\mathcal{D},y_{w},y_{l}\sim\pi_{0}(\cdot|x),(y_{w}\succ y_{l})\sim p^{*}(1|y_{w},y_{l},x)\} which \pi_{0} is an unanalytical distribution, \mathcal{D} is an arbitrary distribution and \{z=1|y_{1},y_{2},x\}\triangleq\{r(x,y_{1})\geq r(x,y_{2})\} . \begin{gathered}\bar{h}_{\theta}\left(x,y_{w},y_{l}\right)=\frac{1}{\tau}\log\frac{\pi_{\theta}\left(y_{w}\mid x\right)}{\pi_{\text{ref }}\left(y_{w}\mid x\right)}-\frac{1}{\tau}\log\frac{\pi_{\theta}\left(y_{l}\mid x\right)}{\pi_{\text{ref }}\left(y_{l}\mid x\right)},\\ \mathcal{L}_{\mathrm{DPO}}\left(\pi_{\theta};\pi_{\text{ref }}\right)=-\mathbb{E}_{\left(x,y_{w},y_{l}\right)\sim\mathcal{D}_{R}}\left[\log\sigma\left(\bar{h}_{\theta}\left(x,y_{w},y_{l}\right)\right)\right].\end{gathered} (57) Proof: (0). \forall r,\tau , then \theta\rightarrow\mathcal{L}_{\mathrm{DPO}}\left(\pi_{\theta};\pi_{\text{ref }}\right) is \frac{8}{\tau^{2}} -smooth. Proof: By Lemma F.4 , it suffices to show that the spectral radius of the hessian matrix of the second derivative of \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) , i.e. \displaystyle\left|\sum_{x,x^{\prime}\in\mathbb{X}}\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }})}{\partial\theta(x,y_{i})\partial\theta(x^{\prime},y_{j})}z(x^{\prime},y_{j})\right|\leq\left(\frac{4}{\tau^{2}}\right)||z(\cdot,\cdot)||_{2}^{2}. (58) Denote h(\pi_{\theta},x,y_{1},y_{2})=-p^{*}(1|y_{1},y_{2},x)\log\sigma\left(\bar{h}_{\theta}(x,y_{1},y_{2})\right)-p^{*}(0|y_{1},y_{2},x)\log\sigma\left(\bar{h}_{\theta}(x,y_{2},y_{1})\right) , we have: \displaystyle\left|\sum_{x,x^{\prime}\in\mathbb{X}}\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\mathcal{L}_{\mathrm{DPO}}\left(\pi_{\theta};\pi_{\text{ref }}\right)}{\partial\theta(x,y_{i})\partial\theta(x^{\prime},y_{j})}z(x^{\prime},y_{j})\right| (59) \displaystyle= \displaystyle\left|\sum_{x\in\mathbb{X}}\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{0}(y_{1}|x)\pi_{0}(y_{2}|x)h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| \displaystyle= \displaystyle\left|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{DPO}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| \displaystyle\triangleq \displaystyle|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\psi(x)|\leq\|\mathcal{D}(\cdot)\|_{1}\|\psi(\cdot)\|_{\infty}=1\cdot\|\psi(\cdot)\|_{\infty}. where f_{\text{DPO}}(x,\theta)=\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{0}(y_{1}|x)\pi_{0}(y_{2}|x)h(\pi_{\theta},x,y_{1},y_{2}) and \psi(x)=\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{DPO}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j}) . The second derivative of f_{\text{DPO}}(x,\theta) is: \displaystyle\frac{\partial^{2}f_{\text{DPO}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}=\sum_{y_{1},y_{2}\in\mathbb{Y}} \displaystyle\pi_{0}(y_{1}|x)\pi_{0}(y_{2}|x)\frac{\partial^{2}h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}. (60) Consider the first derivative of h(\pi_{\theta},x,y_{1},y_{2}) , denote p^{*}=p^{*}(1|y_{1},y_{2},x) : \displaystyle\frac{\partial h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})} (61) \displaystyle= \displaystyle-p^{*}\frac{\partial}{\partial\theta(x,y_{i})}(\log\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)}))-(1-p^{*})\frac{\partial}{\partial\theta(x,y_{i})}(\log\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)})) \displaystyle= \displaystyle-\left(p^{*}(1-\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)}))-(1-p^{*})\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)})\right)\frac{1}{\tau}\frac{\partial}{\partial\theta(x,y_{i})}(\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}) \displaystyle= \displaystyle-\left(p^{*}-\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)})\right)\frac{1}{\tau}(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}}). Consider the second derivative of h(\pi_{\theta},x,y_{1},y_{2}) : \displaystyle\frac{\partial^{2}h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})} (62) \displaystyle= \displaystyle-\frac{\partial}{\partial\theta(x,y_{j})}(\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)}{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)})\frac{1}{\tau}(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}})) \displaystyle= \displaystyle\frac{1}{\tau^{2}}(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}})(\delta_{y_{1}y_{j}}-\delta_{y_{2}y_{j}})\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)})\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)}{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}). Then: \displaystyle|\psi(x)|=|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{DPO}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})| (63) \displaystyle= \displaystyle|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{0}(y_{1}|x)\pi_{0}(y_{2}|x)\frac{\partial^{2}h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})| \displaystyle\leq \displaystyle|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{0}(y_{1}|x)\pi_{0}(y_{2}|x)\frac{1}{\tau^{2}}(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}})(\delta_{y_{1}y_{j}}-\delta_{y_{2}y_{j}})z(x,y_{j})| \displaystyle= \displaystyle|\sum_{y_{i}\in\mathbb{Y}}z(x,y_{i})\pi_{0}(y_{i}|x)\frac{1}{\tau^{2}}z(x,y_{i})-\sum_{y_{i}\in\mathbb{Y}}z(x,y_{i})\pi_{0}(y_{i}|x)\sum_{y_{j}\in\mathbb{Y}}\pi_{0}(y_{j}|x)\frac{1}{\tau^{2}}z(x,y_{j}) \displaystyle-\sum_{y_{i}\in\mathbb{Y}}z(x,y_{i})\pi_{0}(y_{i}|x)\sum_{y_{j}\in\mathbb{Y}}\pi_{0}(y_{j}|x)\frac{1}{\tau^{2}}z(x,y_{j})+\sum_{y_{i}\in\mathbb{Y}}z(x,y_{i})\pi_{0}(y_{i}|x)\frac{1}{\tau^{2}}z(x,y_{i})| \displaystyle\leq \displaystyle\frac{2}{\tau^{2}}|\sum_{y_{i}\in\mathbb{Y}}z(x,y_{i})\pi_{0}(y_{i}|x)z(x,y_{i})|+|\sum_{y_{i}\in\mathbb{Y}}z(x,y_{i})\pi_{0}(y_{i}|x)\sum_{y_{j}\in\mathbb{Y}}\pi_{0}(y_{j}|x)z(x,y_{j})| \displaystyle= \displaystyle\frac{2}{\tau^{2}}(\pi^{T}_{0}(\cdot|x)z^{2}(x,\cdot)+(\pi^{T}_{0}(\cdot|x)z(x,\cdot))^{2})\leq\frac{2}{\tau^{2}}(\|\pi_{0}(\cdot|x)\|_{1}\|z^{2}(x,\cdot)\|_{\infty}+(\|\pi_{0}(\cdot|x)\|_{1}\|z(x,\cdot)\|_{\infty})^{2}) \displaystyle\leq \displaystyle\frac{4}{\tau^{2}}\|z(x,\cdot)\|_{2}^{2}. The first inequality is because \sigma(\cdot)\leq 1 . Therefore, \displaystyle\|\psi(\cdot)\|_{\infty} \displaystyle=\max_{x\in\mathbb{X}}|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{DPO}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})|\leq\max_{x\in\mathbb{X}}\frac{4}{\tau^{2}}\|z(x,\cdot)\|_{2}^{2}\leq\frac{4}{\tau^{2}}\|z(\cdot,\cdot)\|_{2}^{2}. (64) Then Eq. 58 is proved. Proof finished. (1). If \pi_{\theta} such that \mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}[(p^{*}(1|y_{1},y_{2},x)-\sigma(\bar{h}_{\theta}(x,y_{1},y_{2})))]=0 , then the DPO’s loss function get a local optimal solution (zero gradient point) where \pi_{0} is another unknown distribution. And \bar{\pi}^{\tau}(y|x)=\frac{\pi_{ref}(y|x)\exp(\tau r(x,y))}{Z^{\prime}(x)} is an example with the Bradley-Terry (BT) model. Proof: From the above theorem, it is evident that the optimal solution for \pi_{\theta} is influenced by the comparison distribution p^{*}(z|y_{1},y_{2},x) . Here, we provide an existence proof. We first propose a candidate solution \bar{\pi}^{\tau}(y|x)=\frac{\pi_{ref}(y|x)\exp(\tau r(x,y))}{Z^{\prime}(x)} where Z^{\prime}(x)=\sum_{y^{\prime}\in Y}\pi_{ref}(y^{\prime}|x)\exp({\tau r(x,y^{\prime})}) , and subsequently demonstrate that if p^{*}(z|y_{1},y_{2},x) is modeled by the Bradley-Terry (BT) model [ 14 ] , solution \bar{\pi}^{\tau}(y|x)=\frac{\pi_{ref}(y|x)\exp(\tau r(x,y))}{Z^{\prime}(x)} satisfies condition \mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}[(p^{*}(1|y_{1},y_{2},x)-\sigma(\bar{h}_{\theta}(x,y_{1},y_{2})))]=0 as a locally optimal solution. But it is not necessarily a global optimum, as we can only verify that \bar{\pi}^{\tau}(y|x)=\frac{\pi_{ref}(y|x)\exp(\tau r(x,y))}{Z^{\prime}(x)} is a point where the gradient of the loss function \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) equals zero. To compute the gradient of the loss function \mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||\bar{p}_{\theta}(z|y_{1},y_{2},x))\right] with respect to \theta , we proceed as follows: \displaystyle\nabla_{\theta}\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||\bar{p}_{\theta}(z|y_{1},y_{2},x))\right] (65) \displaystyle= \displaystyle-\nabla_{\theta}\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[p^{*}(1|y_{1},y_{2},x)\log\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))+p^{*}(0|y_{1},y_{2},x)\log\sigma(\bar{h}_{\theta}(x,y_{2},y_{1}))\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[p^{*}(1|y_{1},y_{2},x)\nabla_{\theta}\log\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))+p^{*}(0|y_{1},y_{2},x)\nabla_{\theta}\log\sigma(\bar{h}_{\theta}(x,y_{2},y_{1}))\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\frac{p^{*}(1|y_{1},y_{2},x)}{\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))}\nabla_{\theta}\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))+\frac{p^{*}(0|y_{1},y_{2},x)}{\sigma(\bar{h}_{\theta}(x,y_{2},y_{1}))}\nabla_{\theta}\sigma(\bar{h}_{\theta}(x,y_{2},y_{1}))\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\frac{p^{*}(1|y_{1},y_{2},x)}{\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))}\nabla_{\theta}\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))-\frac{1-p^{*}(1|y_{1},y_{2},x)}{1-\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))}\nabla_{\theta}\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\left(\frac{p^{*}(1|y_{1},y_{2},x)(1-\sigma(\bar{h}_{\theta}))-(1-p^{*}(1|y_{1},y_{2},x))\sigma(\bar{h}_{\theta})}{\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))(1-\sigma(\bar{h}_{\theta})(x,y_{1},y_{2}))}\right)\nabla_{\theta}\sigma(\bar{h}_{\theta})\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\left(\frac{p^{*}(1|y_{1},y_{2},x)-\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))}{\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))(1-\sigma(\bar{h}_{\theta}(x,y_{1},y_{2})))}\right)\nabla_{\theta}\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\left(p^{*}(1|y_{1},y_{2},x)-\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))\right)\nabla_{\theta}\bar{h}_{\theta}(x,y_{1},y_{2})\right]. where z\in\{0,1\} , \bar{p}_{\theta}(0|y_{1},y_{2},x)=\sigma\left(\bar{h}_{\theta}(x,y_{2},y_{1})\right) and \bar{p}_{\theta}(1|y_{1},y_{2},x)=\sigma\left(\bar{h}_{\theta}(x,y_{1},y_{2})\right) . Under the assumption of the Bradley-Terry (BT) model, which posits: p^{*}(1|y_{1},y_{2},x)=\frac{1}{1+e^{-(r(x,y_{1})-r(x,y_{2}))}}=\sigma(h(x,y_{1},y_{2})), (66) substituting this into the gradient of the target function, we obtain: \displaystyle\nabla_{\theta}\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||\bar{p}_{\theta}(z|y_{1},y_{2},x))\right] (67) \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\left(p^{*}(1|y_{1},y_{2},x)-\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))\right)\nabla_{\theta}\bar{h}_{\theta}(x,y_{1},y_{2})\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\left(\sigma(h(x,y_{1},y_{2}))-\sigma(\bar{h}_{\theta}(x,y_{1},y_{2}))\right)\nabla_{\theta}\bar{h}_{\theta}(x,y_{1},y_{2})\right]. where \bar{h}_{\theta}\left(x,y_{1},y_{2}\right)=\frac{1}{\tau}\log\frac{\pi_{\theta}\left(y_{1}\mid x\right)}{\pi_{\text{ref }}\left(y_{1}\mid x\right)}-\frac{1}{\tau}\log\frac{\pi_{\theta}\left(y_{2}\mid x\right)}{\pi_{\text{ref }}\left(y_{2}\mid x\right)} and {h}\left(x,y_{1},y_{2}\right)=r(x,y_{1})-r(x,y_{2}) . Given that \sigma(\cdot) is a strictly increasing function, it follows that when \pi_{\theta}(y|x)=\bar{\pi}^{\tau}(y|x)=\frac{\pi_{ref}(y|x)\exp(\tau r(x,y))}{Z^{\prime}(x)} , we have \bar{h}_{\theta}(x,y_{1},y_{2})=h(x,y_{1},y_{2}) and \nabla_{\theta}\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{0}(y|x)}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||\bar{p}_{\theta}(z|y_{1},y_{2},x))\right]=0 . Proof finished. (2). Denote \mathcal{L}_{\mathrm{DPO}}^{*}=\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }},\pi_{0}) . \min_{1\leq i\leq T}||\nabla_{\theta}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{i}};\pi_{\text{ref }})||^{2}_{2}\leq\frac{2G^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}}{\tau^{2}T}+\frac{\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{T}})-\mathcal{L}_{\mathrm{DPO}}^{*}}{T} . This theorem can be obtained from Theorem 5.1 .(1) and Theorem F.1 . F.3 Proof of Lemma 5.2 Lemma 5.2 : Assume \|g_{t}\|^{2}\leq G^{2} . Given the Definition C.1 for policy \pi_{\theta} and the learning rate \alpha_{t} , for DPO algorithm, let \gamma(x)\leq\gamma , when \pi_{0} is uniform distribution, then: \displaystyle\min_{1\leq i\leq T} \displaystyle||\nabla_{\theta}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{i}};\pi_{\text{ref }})||^{2}_{2}\leq\frac{\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{T}})-\mathcal{L}_{\mathrm{DPO}}^{*}}{\sum_{t=1}^{T-1}\alpha_{t}}+\frac{2(\gamma c_{0}+1)G^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}}{\tau^{2}\sum_{t=1}^{T-1}\alpha_{t}}. (68) where \mathcal{L}_{\mathrm{DPO}}^{*}=\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }},\pi_{0}) and c_{0}=\sigma(\frac{\epsilon_{0}}{\tau})\sigma(-\frac{\epsilon_{0}}{\tau})-1\in(-1,0) . See \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) on Eq. 6 . Proof: Based on Theorem F.1 , we only need to know \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) is \frac{4(\gamma c_{0}+1)}{\tau^{2}} -smooth. Denote h(\pi_{\theta},x,y_{1},y_{2})=-p^{*}(1|y_{1},y_{2},x)\log\sigma\left(\bar{h}_{\theta}(x,y_{1},y_{2})\right)-p^{*}(0|y_{1},y_{2},x)\log\sigma\left(\bar{h}_{\theta}(x,y_{2},y_{1})\right) , we have: \displaystyle\left|\sum_{x,x^{\prime}\in\mathbb{X}}\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\mathcal{L}_{\mathrm{DPO}}\left(\pi_{\theta};\pi_{\text{ref }}\right)}{\partial\theta(x,y_{i})\partial\theta(x^{\prime},y_{j})}z(x^{\prime},y_{j})\right| (69) \displaystyle= \displaystyle\left|\sum_{x\in\mathbb{X}}\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{0}(y_{1}|x)\pi_{0}(y_{2}|x)h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| \displaystyle= \displaystyle\left|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{DPO}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right|\triangleq|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\psi(x)|\leq\|\mathcal{D}(\cdot)\|_{1}\|\psi(\cdot)\|_{\infty}=1\cdot\|\psi(\cdot)\|_{\infty}. where f_{\text{DPO}}(x,\theta)=\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{0}(y_{1}|x)\pi_{0}(y_{2}|x)h(\pi_{\theta},x,y_{1},y_{2}) and \psi(x)=\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{DPO}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j}) . Because \pi_{0} is uniform distribution, the second derivative of f_{\text{DPO}}(x,\theta) is: \displaystyle\frac{\partial^{2}f_{\text{DPO}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}=\sum_{y_{1},y_{2}\in\mathbb{Y}} \displaystyle\frac{1}{K^{2}}\frac{\partial^{2}h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}. (70) Consider the second derivative of h(\pi_{\theta},x,y_{1},y_{2}) : \displaystyle\frac{\partial^{2}h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}=-\frac{\partial}{\partial\theta(x,y_{j})}(\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)}{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)})\frac{1}{\tau}(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}})) (71) \displaystyle= \displaystyle\frac{1}{\tau^{2}}(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}})(\delta_{y_{1}y_{j}}-\delta_{y_{2}y_{j}})\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)})\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)}{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}) \displaystyle= \displaystyle\frac{1}{\tau^{2}}(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}})(\delta_{y_{1}y_{j}}-\delta_{y_{2}y_{j}})\zeta(x,y_{1},y_{2}). where \zeta(x,y_{1},y_{2})=\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)})\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)}{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}) . Let m_{\theta}(x,y_{1},y_{2})=\frac{\pi_{\theta}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}{\pi_{\theta}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)} and . Because \Omega_{1}(y_{1},y_{2},x)=\{|\log\frac{p^{*}(1|y_{1},y_{2},x)}{p^{*}(0|y_{1},y_{2},x)}|\geq\epsilon_{0}\} , \Omega_{2}(y_{1},y_{2},x)=\{|\log m_{\theta}(x,y_{1},y_{2})|\geq\epsilon_{0}\} and \gamma(x)=\frac{\sum_{y_{1},y_{2}\in\mathbb{Y}}\mathbb{I}(\Omega_{1}\cap\Omega_{2})}{K^{2}} . \displaystyle|\psi(x)|=|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{DPO}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})| (72) \displaystyle= \displaystyle|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}\frac{1}{K^{2}}\frac{\partial^{2}h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})| \displaystyle= \displaystyle|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}\frac{1}{K^{2}}\frac{1}{\tau^{2}}(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}})(\delta_{y_{1}y_{j}}-\delta_{y_{2}y_{j}})\zeta(x,y_{1},y_{2})z(x,y_{j})| \displaystyle= \displaystyle|\sum_{y_{i},y_{2}\in\mathbb{Y}}z(x,y_{i})\frac{1}{K^{2}}\zeta(x,y_{i},y_{2})\frac{1}{\tau^{2}}z(x,y_{i})-\sum_{y_{j},y_{i}\in\mathbb{Y}}z(x,y_{i})\frac{1}{K^{2}}\zeta(x,y_{i},y_{j})\frac{1}{\tau^{2}}z(x,y_{j}) \displaystyle-\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{1}{K^{2}}\zeta(x,y_{i},y_{j})\frac{1}{\tau^{2}}z(x,y_{j})+\sum_{y_{1},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{1}{K^{2}}\zeta(x,y_{1},y_{j})\frac{1}{\tau^{2}}z(x,y_{i})| \displaystyle\leq \displaystyle\frac{2}{\tau^{2}}|\sum_{y_{i},y_{2}\in\mathbb{Y}}z(x,y_{i})\frac{1}{K^{2}}\zeta(x,y_{i},y_{2})z(x,y_{i})|+\frac{2}{\tau^{2}}|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{1}{K^{2}}\zeta(x,y_{i},y_{j})z(x,y_{j})| \displaystyle= \displaystyle\frac{2}{\tau^{2}}|\sum_{y_{i}\in\mathbb{Y}}z^{2}(x,y_{i})\sum_{y_{2}\in\mathbb{Y}}\frac{1}{K^{2}}\zeta(x,y_{i},y_{2})|+\frac{2}{\tau^{2}}|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{1}{K^{2}}\zeta(x,y_{i},y_{j})z(x,y_{j})|. For the first term \frac{2}{\tau^{2}}|\sum_{y_{i}\in\mathbb{Y}}z^{2}(x,y_{i})\sum_{y_{2}\in\mathbb{Y}}\frac{1}{K^{2}}\zeta(x,y_{i},y_{2})| , based on Hölder’s inequality we have: \displaystyle\frac{2}{\tau^{2}}|\sum_{y_{i}\in\mathbb{Y}}z^{2}(x,y_{i})\sum_{y_{2}\in\mathbb{Y}}\frac{1}{K^{2}}\zeta(x,y_{i},y_{2})|\leq\frac{2}{\tau^{2}}\sum_{y_{i},y_{2}\in\mathbb{Y}}|\frac{1}{K^{2}}\zeta(x,y_{i},y_{2})|\cdot\|z^{2}(x,\cdot)\|_{\infty} (73) \displaystyle\leq \displaystyle\frac{2}{\tau^{2}}(\gamma(x)\sigma(\frac{\epsilon_{0}}{\tau})\sigma(-\frac{\epsilon_{0}}{\tau})+1-\gamma(x))\|z^{2}(x,\cdot)\|_{\infty}=\frac{2}{\tau^{2}}(\gamma(x)c_{0}+1)\|z(x,\cdot)\|_{\infty}^{2}\leq\frac{2}{\tau^{2}}(\gamma(x)c_{0}+1)\|z(x,\cdot)\|_{2}^{2}. For the second term \frac{2}{\tau^{2}}|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{1}{K^{2}}\zeta(x,y_{i},y_{j})z(x,y_{j})| , let \mathbb{Y}_{1}(x)=\{(y_{1},y_{2})|\mathbb{I}(\Omega_{1}(x,y_{1},y_{2})\cap\Omega_{2}(x,y_{1},y_{2}))=1\} and \mathbb{Y}_{2}(x)=\{(y_{1},y_{2})|\mathbb{I}(\Omega_{1}(x,y_{1},y_{2})\cap\Omega_{2}(x,y_{1},y_{2}))=0\} , we have: \displaystyle\frac{2}{\tau^{2}}|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{1}{K^{2}}\zeta(x,y_{i},y_{j})z(x,y_{j})| (74) \displaystyle\leq \displaystyle\frac{2}{\tau^{2}}|\sum_{(y_{i},y_{j})\in\mathbb{Y}_{1}}z(x,y_{i})\frac{1}{K^{2}}\zeta(x,y_{i},y_{j})z(x,y_{j})|+\frac{2}{\tau^{2}}|\sum_{(y_{i},y_{j})\in\mathbb{Y}_{2}}z(x,y_{i})\frac{1}{K^{2}}\zeta(x,y_{i},y_{j})z(x,y_{j})| \displaystyle\leq \displaystyle\frac{2}{\tau^{2}}|\sum_{(y_{i},y_{j})\in\mathbb{Y}_{1}}z(x,y_{i})\frac{1}{K^{2}}\sigma(\frac{\epsilon_{0}}{\tau})\sigma(-\frac{\epsilon_{0}}{\tau})z(x,y_{j})|+\frac{2}{\tau^{2}}|\sum_{(y_{i},y_{j})\in\mathbb{Y}_{2}}z(x,y_{i})\frac{1}{K^{2}}z(x,y_{j})| \displaystyle\leq \displaystyle\frac{2}{\tau^{2}}\sigma(\frac{\epsilon_{0}}{\tau})\sigma(-\frac{\epsilon_{0}}{\tau})\sqrt{\sum_{(y_{i},y_{j})\in\mathbb{Y}_{1}}z^{2}(x,y_{i})\frac{1}{K^{2}}}\sqrt{\sum_{(y_{i},y_{j})\in\mathbb{Y}_{1}}\frac{1}{K^{2}}z^{2}(x,y_{j})}+\frac{2}{\tau^{2}}|\sum_{(y_{i},y_{j})\in\mathbb{Y}_{2}}z(x,y_{i})\frac{1}{K^{2}}z(x,y_{j})| \displaystyle\leq \displaystyle\frac{2}{\tau^{2}}\sigma(\frac{\epsilon_{0}}{\tau})\sigma(-\frac{\epsilon_{0}}{\tau})\gamma(x)\|z^{2}(x,\cdot)\|_{\infty}+\frac{2}{\tau^{2}}|\sum_{(y_{i},y_{j})\in\mathbb{Y}_{2}}z(x,y_{i})\frac{1}{K^{2}}z(x,y_{j})| \displaystyle\leq \displaystyle\frac{2}{\tau^{2}}\sigma(\frac{\epsilon_{0}}{\tau})\sigma(-\frac{\epsilon_{0}}{\tau})\gamma(x)\|z^{2}(x,\cdot)\|_{\infty}+\frac{2}{\tau^{2}}\sqrt{\sum_{(y_{i},y_{j})\in\mathbb{Y}_{2}}z^{2}(x,y_{i})\frac{1}{K^{2}}}\sqrt{\sum_{(y_{i},y_{j})\in\mathbb{Y}_{2}}\frac{1}{K^{2}}z^{2}(x,y_{j})} \displaystyle\leq \displaystyle\frac{2}{\tau^{2}}\sigma(\frac{\epsilon_{0}}{\tau})\sigma(-\frac{\epsilon_{0}}{\tau})\gamma(x)\|z^{2}(x,\cdot)\|_{\infty}+\frac{2}{\tau^{2}}(1-\gamma(x))\|z^{2}(x,\cdot)\|_{\infty}\leq\frac{2}{\tau^{2}}(\gamma(x)c_{0}+1)\|z(x,\cdot)\|_{2}^{2}. Because c_{0}=\sigma(\frac{\epsilon_{0}}{\tau})\sigma(-\frac{\epsilon_{0}}{\tau})-1\in(-1,0) . Therefore, \displaystyle\|\psi(\cdot)\|_{\infty}\leq\max_{x\in\mathbb{X}}\frac{4(\gamma(x)c_{0}+1)}{\tau^{2}}\|z(x,\cdot)\|_{2}^{2}\leq\frac{4(\gamma c_{0}+1)}{\tau^{2}}\|z(\cdot,\cdot)\|_{2}^{2}. (75) Then \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) is \frac{4(\gamma c_{0}+1)}{\tau^{2}} -smooth is proved. Proof finished. F.4 Proof of Theorem 5.3 Theorem 5.3 : Define joint conditional probability distribution \pi_{1}(y_{1},y_{2}|x)=\frac{\mu}{K^{2}}\ \text{if}\ \mathbb{I}(\Omega_{1}\cap\Omega_{2})=1;\frac{1-\mu\gamma}{(1-\gamma)K^{2}}\text{else} where \mu\in(0,1) . Assume \|g_{t}\|^{2}\leq G^{2} . Given the Definition C.1 for policy \pi_{\theta} and the learning rate \alpha_{t} , for DPO algorithm, let \gamma(x)\leq\gamma , then: \displaystyle\min_{1\leq i\leq T} \displaystyle||\nabla_{\theta}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{i}};\pi_{\text{ref }})||^{2}_{2}\leq\frac{\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta_{T}})-\mathcal{L}_{\mathrm{DPO}}^{*}}{\sum_{t=1}^{T-1}\alpha_{t}}+\frac{2(\mu\gamma c_{0}+1)G^{2}\sum_{t=1}^{T-1}\alpha_{t}^{2}}{\tau^{2}\sum_{t=1}^{T-1}\alpha_{t}}. (76) where \mathcal{L}_{\mathrm{DPO}}^{*}=\min_{\pi_{\theta}}\mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }},\pi_{0}) and c_{0}=\sigma(\frac{\epsilon_{0}}{\tau})\sigma(-\frac{\epsilon_{0}}{\tau})-1\in(-1,0) . See \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) on Eq. 6 . About \Omega_{1}(y_{1},y_{2},x) : As the optimization progresses, \pi_{\theta} gradually approaches \bar{\pi}^{\tau} , causing the proportion of the event \Omega_{1}\cap\Omega_{2} (denoted by \gamma ) to increase (See Proposition F.2 ), thereby reducing the upper bound in inequality 25 . This leads to an increasingly faster convergence rate for DPO. Conversely, if small-margin pairs are selected as event \Omega_{1} (i.e. \Omega_{1}(y_{1},y_{2},x)=\{|\log\frac{p^{*}(1|y_{1},y_{2},x)}{p^{*}(0|y_{1},y_{2},x)}|\leq\epsilon_{0}\} ), the convergence rate of DPO will slow down as the optimization advances and intensify the distribution shift problem cause \Omega_{1} and \Omega_{2} will more and more insistent as the optimization advances. Proof: Based on Theorem F.1 , we only need to know \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) is \frac{4(\mu\gamma c_{0}+1)}{\tau^{2}} -smooth. This corollary shares the same proof process as Lemma 5.2 . The only two differences are Eq. 73 and Eq. 74 . Their \gamma(x) will be changed into \mu\gamma(x) . Then we will get the smooth coefficient of \mathcal{L}_{\mathrm{DPO}}(\pi_{\theta};\pi_{\text{ref }}) is \frac{4(\mu\gamma c_{0}+1)}{\tau^{2}} . Proof finished. F.5 Proposition F.2 Proposition F.2 . \lim_{\epsilon_{0}\rightarrow 0}P(|\log\frac{p^{*}(z=1)}{p^{*}(z=0)}|\geq\epsilon_{0})-P(|\log\frac{\bar{\pi}^{\tau}(y_{1}|x)\pi_{\text{ref}}(y_{2}|x)}{\bar{\pi}^{\tau}(y_{2}|x)\pi_{\text{ref}}(y_{1}|x)}|\geq\epsilon_{0})=0. (77) Proof: comparison probability p^{*}(1\mid y_{1},y_{2},x)\propto r(x,y_{1})-r(x,y_{2}) , where it is identified that r(x,y_{1})>r(x,y_{2}) , denoted as y_{1}\succ y_{2} ; similarly, (x,y_{2},y_{1}) is sampled with probability p^{*}(0\mid y_{1},y_{2},x)\propto r(x,y_{2})-r(x,y_{1}) , and is identified as r(x,y_{1})r(x,y_{2});0\text{ otherwise}\} (see Eq. 15 ). See proof in Appendix F.11 . Proof: Based on Appendix D.3 , we have: \displaystyle\mathbb{E}_{\mathcal{D}_{\theta}}\left[\mathrm{D}_{\mathrm{KL}}(p^{*}(z|y_{1},y_{2},x)||\sigma\left(h_{\theta}(x,y_{1},y_{2})\right))\right] (156) \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[p^{*}(z=1|y_{1},y_{2},x)\log\sigma\left(h_{\theta}(x,y_{1},y_{2})\right)+p^{*}(z=0|y_{1},y_{2},x)\log\sigma\left(h_{\theta}(x,y_{2},y_{1})\right)\right] \displaystyle+\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[p^{*}(z=1|y_{1},y_{2},x)\log p^{*}(z=1|y_{1},y_{2},x)+p^{*}(z=0|y_{1},y_{2},x)\log p^{*}(z=0|y_{1},y_{2},x)\right] \displaystyle= \displaystyle-\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[p^{*}(z=1|y_{1},y_{2},x)\log\sigma\left(h_{\theta}(x,y_{1},y_{2})\right)+p^{*}(z=0|y_{1},y_{2},x)\log\sigma\left(h_{\theta}(x,y_{2},y_{1})\right)\right] \displaystyle+\mathbb{E}_{x\sim\mathcal{D},y_{1},y_{2}\sim\pi_{\theta}(y|x)}\left[M(x,y_{1},y_{2})\right] \displaystyle\triangleq \displaystyle\mathcal{L}_{\text{PRA}}(\pi_{\theta}). where \sigma(x)=\frac{1}{1+e^{-x}} is the sigmoid function, M(x,y_{1},y_{2})=\sum_{z=0,1}p^{*}(z|y_{1},y_{2},x)\log p^{*}(z|y_{1},y_{2},x) and (x,y_{1},y_{2})\sim\mathcal{D}_{\theta}\triangleq y_{1}\succ y_{2}\sim p^{*}(z=1|y_{1},y_{2},x),y_{1},y_{2}\sim\pi_{\theta}(y|x),x\sim\mathcal{D} . By Lemma F.4 , it suffices to show that the spectral radius of the hessian matrix of the second derivative of \mathcal{L}_{\text{PRA}}(\pi_{\theta}) , i.e. \displaystyle\left|\sum_{x,x^{\prime}\in\mathbb{X}}\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\mathcal{L}_{\text{PRA}}(\pi_{\theta})}{\partial\theta(x,y_{i})\partial\theta(x^{\prime},y_{j})}z(x^{\prime},y_{j})\right| (157) \displaystyle\leq \displaystyle\left(20\log(1+e^{\frac{d}{\tau}})+\frac{16\epsilon_{3}}{\tau}+\frac{4}{\tau^{2}}+16\log 2\right)||z(\cdot,\cdot)||_{2}^{2}. Denote h(\pi_{\theta},x,y_{1},y_{2})=-p^{*}(z=1|y_{1},y_{2},x)\log\sigma\left(h_{\theta}(x,y_{1},y_{2})\right)-p^{*}(z=0|y_{1},y_{2},x)\log\sigma\left(h_{\theta}(x,y_{2},y_{1})\right) , we have: \displaystyle\left|\sum_{x,x^{\prime}\in\mathbb{X}}\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\mathcal{L}_{\text{PRA}}(\pi_{\theta})}{\partial\theta(x,y_{i})\partial\theta(x^{\prime},y_{j})}z(x^{\prime},y_{j})\right| (158) \displaystyle= \displaystyle\left|\sum_{x\in\mathbb{X}}\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)(h(\pi_{\theta},x,y_{1},y_{2})+M(x,y_{1},y_{2}))}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| \displaystyle= \displaystyle\left|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{PRA}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| \displaystyle+\left|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)M(x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| \displaystyle\triangleq \displaystyle|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\psi(x)|+\left|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)M(x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| \displaystyle\leq \displaystyle\|\mathcal{D}(\cdot)\|_{1}\|\psi(\cdot)\|_{\infty}+\left|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)M(x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| \displaystyle= \displaystyle 1\cdot\|\psi(\cdot)\|_{\infty}+\left|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)M(x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right|. where f_{\text{PRA}}(x,\theta)=\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)h(\pi_{\theta},x,y_{1},y_{2}) and \psi(x)=\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{PRA}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j}) . Because |\theta(x_{1},y_{1})-\theta(x_{2},y_{2})|\leq d and the Definition C.1 for policy \pi_{\theta} , consider the upper bound of h(\pi_{\theta},x,y_{1},y_{2}) , we have: \displaystyle|\log\sigma\left(h_{\theta}(x,y_{1},y_{2})\right)|= \displaystyle|\log\sigma\left(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}\right)|=|\log\sigma\left(\frac{1}{\tau}\log\frac{\exp(\theta(y_{1},x))}{\exp(\theta(y_{2},x))}\right)| (159) \displaystyle= \displaystyle|\log\sigma\left(\frac{1}{\tau}(\theta(y_{1},x)-\theta(y_{2},x))\right)|\leq-\log\sigma\left(\frac{-d}{\tau}\right) \displaystyle= \displaystyle\log\sigma^{-1}\left(\frac{-d}{\tau}\right)=\log(1+e^{\frac{d}{\tau}}). Then \displaystyle|h(\pi_{\theta},x,y_{1},y_{2})| (160) \displaystyle= \displaystyle|p^{*}(z=1|y_{1},y_{2},x)\log\sigma\left(h_{\theta}(x,y_{1},y_{2})\right)+p^{*}(z=0|y_{1},y_{2},x)\log\sigma\left(h_{\theta}(x,y_{2},y_{1})\right)| \displaystyle\leq \displaystyle p^{*}(z=1|y_{1},y_{2},x)\log(1+e^{\frac{d}{\tau}})+p^{*}(z=0|y_{1},y_{2},x)\log(1+e^{\frac{d}{\tau}})=\log(1+e^{\frac{d}{\tau}}). Consider the first derivative of h(\pi_{\theta},x,y_{1},y_{2}) , denote p^{*}=p^{*}(1|y_{1},y_{2},x) : \displaystyle\frac{\partial h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})}= \displaystyle-p^{*}\frac{\partial}{\partial\theta(x,y_{i})}(\log\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}))-(1-p^{*})\frac{\partial}{\partial\theta(x,y_{i})}(\log\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{2}|x)}{\pi_{\theta}(y_{1}|x)})) (161) \displaystyle= \displaystyle-\left(p^{*}(1-\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}))-(1-p^{*})\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)})\right)\frac{1}{\tau}\frac{\partial}{\partial\theta(x,y_{i})}(\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}) \displaystyle= \displaystyle-\left(p^{*}-\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)})\right)\frac{1}{\tau}(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}}). Consider the second derivative of h(\pi_{\theta},x,y_{1},y_{2}) : \displaystyle\frac{\partial^{2}h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}= \displaystyle-\frac{\partial}{\partial\theta(x,y_{j})}(\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{2}|x)}{\pi_{\theta}(y_{1}|x)})\frac{1}{\tau}(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}})) (162) \displaystyle= \displaystyle\frac{1}{\tau^{2}}(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}})(\delta_{y_{1}y_{j}}-\delta_{y_{2}y_{j}})\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{2}|x)}{\pi_{\theta}(y_{1}|x)})\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}). Based on Lemma F.5 , the second derivative of f_{\text{PRA}}(x,\theta) is: \displaystyle\frac{\partial^{2}f_{\text{PRA}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}=\sum_{y_{1},y_{2}\in\mathbb{Y}} \displaystyle 2\frac{\partial^{2}\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}\pi_{\theta}(y_{2}|x)h(\pi_{\theta},x,y_{1},y_{2})+2\frac{\partial\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{i})}\frac{\partial\pi_{\theta}(y_{2}|x)}{\partial\theta(x,y_{j})}h(\pi_{\theta},x,y_{1},y_{2}) (163) \displaystyle+2\frac{\partial\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{i})}\pi_{\theta}(y_{2}|x)\frac{\partial h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{j})}+2\frac{\partial\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{j})}\pi_{\theta}(y_{2}|x)\frac{\partial h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})} \displaystyle+\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)\frac{\partial^{2}h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}. According to the absolute value inequality, |\psi(x)|=\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{PRA}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| can be decomposed into five parts based on Eq. 163 for further analysis. \displaystyle\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{PRA}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| (164) \displaystyle\leq \displaystyle\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}2\frac{\partial^{2}\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}\pi_{\theta}(y_{2}|x)h(\pi_{\theta},x,y_{1},y_{2})z(x,y_{j})\right| \displaystyle+\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}2\frac{\partial\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{i})}\frac{\partial\pi_{\theta}(y_{2}|x)}{\partial\theta(x,y_{j})}h(\pi_{\theta},x,y_{1},y_{2})z(x,y_{j})\right| \displaystyle+\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}4\frac{\partial\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{i})}\pi_{\theta}(y_{2}|x)\frac{\partial h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{j})}z(x,y_{j})\right| \displaystyle+\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)\frac{\partial^{2}h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right|. Similar to Eq. 146 and its following derivation, we have: \displaystyle\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}2\frac{\partial^{2}\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}\pi_{\theta}(y_{2}|x)h(\pi_{\theta},x,y_{1},y_{2})z(x,y_{j})\right| (165) \displaystyle+\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}2\frac{\partial\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{i})}\frac{\partial\pi_{\theta}(y_{2}|x)}{\partial\theta(x,y_{j})}h(\pi_{\theta},x,y_{1},y_{2})z(x,y_{j})\right| \displaystyle\leq \displaystyle\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}4\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)(\delta_{y_{1}y_{i}}-\pi_{\theta}(y_{i}|x))(\delta_{y_{2}y_{j}}-\pi_{\theta}(y_{j}|x))\log(1+e^{\frac{d}{\tau}})z(x,y_{j})\right| \displaystyle+\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}2\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)\pi_{\theta}(y_{i}|x)(\delta_{y_{i}y_{j}}-\pi_{\theta}(y_{j}|x))\log(1+e^{\frac{d}{\tau}})z(x,y_{j})\right| \displaystyle\leq \displaystyle 20\log(1+e^{\frac{d}{\tau}}). Similar to Eq. 151 , for the third term of Eq. 164 , we have: \displaystyle\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}4\frac{\partial\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{i})}\pi_{\theta}(y_{2}|x)\frac{\partial h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{j})}z(x,y_{j})\right| (166) \displaystyle= \displaystyle 4\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}\frac{\partial\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{i})}\pi_{\theta}(y_{2}|x)\left(p^{*}-\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)})\right)\frac{1}{\tau}(\delta_{y_{1}y_{j}}-\delta_{y_{2}y_{j}})z(x,y_{j})\right| \displaystyle\leq \displaystyle 4\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}\frac{\partial\pi_{\theta}(y_{1}|x)}{\partial\theta(x,y_{i})}\pi_{\theta}(y_{2}|x)\epsilon_{3}\frac{1}{\tau}(\delta_{y_{1}y_{j}}-\delta_{y_{2}y_{j}})z(x,y_{j})\right| \displaystyle= \displaystyle\frac{4\epsilon_{3}}{\tau}\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)(\delta_{y_{1}y_{i}}-\pi_{\theta}(y_{i}|x))\pi_{\theta}(y_{2}|x)\epsilon_{3}\frac{1}{\tau}(\delta_{y_{1}y_{j}}-\delta_{y_{2}y_{j}})z(x,y_{j})\right| \displaystyle\leq \displaystyle\frac{16\epsilon_{3}}{\tau}\|z(x,\cdot)\|_{2}^{2}. The first inequality is because |p^{*}-\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)})|\leq\epsilon_{3} where p^{*}=p^{*}(1|x,y_{1},y_{2}) . The last inequality is because we can expand the absolute value operation in the second-to-last line into four terms, and these four terms can be deduced to be less than \|z(x,\cdot)\|_{2}^{2} using some existing conclusions. The relevant conclusions are: \pi_{\theta}^{\top}z(x,\cdot)\leq\|\pi_{\theta}\|_{1}\|z(x,\cdot)\|_{\infty}=\|z(x,\cdot)\|_{\infty}\leq\|z(x,\cdot)\|_{2} , \pi_{\theta}^{\top}z^{2}(x,\cdot)\leq\|z(x,\cdot)\|_{2}^{2} , \|\pi_{\theta}\|_{\infty}\leq 1 , \|z^{2}(x,\cdot)\|_{1}=\|z(x,\cdot)\|_{2}^{2} and |(\pi_{\theta}^{\top}z(x,\cdot))^{2}|\leq\|z(x,\cdot)\|_{2}^{2} . Similar to Eq. 153 , for the fifth term of Eq. 164 , based on Eq. 162 and Eq. 63 , we have: \displaystyle\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)\frac{\partial^{2}h(\pi_{\theta},x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| (167) \displaystyle= \displaystyle\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}})(\delta_{y_{1}y_{j}}-\delta_{y_{2}y_{j}})(\frac{1}{\tau^{2}}\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{2}|x)}{\pi_{\theta}(y_{1}|x)})\sigma(\frac{1}{\tau}\log\frac{\pi_{\theta}(y_{1}|x)}{\pi_{\theta}(y_{2}|x)}))z(x,y_{j})\right| \displaystyle\leq \displaystyle\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)(\delta_{y_{1}y_{i}}-\delta_{y_{2}y_{i}})(\delta_{y_{1}y_{j}}-\delta_{y_{2}y_{j}})\frac{1}{\tau^{2}}z(x,y_{j})\right| \displaystyle\leq \displaystyle\frac{4}{\tau^{2}}\|z(x,\cdot)\|_{2}^{2}. In summary, we have the upper bound of Eq. 164 : \displaystyle\|\psi(x)\|_{\infty}= \displaystyle\max_{x\in\mathbb{X}}|\psi(x)|=\max_{x\in\mathbb{X}}\left|\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}f_{\text{PRA}}(x,\theta)}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| (168) \displaystyle\leq \displaystyle\left(20\log(1+e^{\frac{d}{\tau}})+\frac{16\epsilon_{3}}{\tau}+\frac{4}{\tau^{2}}\right)\|z(\cdot,\cdot)\|_{2}^{2} As for the second term \left|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)M(x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right| of Eq. 158 , we have: \displaystyle|\frac{\partial^{2}\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)M(x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}| (169) \displaystyle= \displaystyle|\frac{\partial}{\partial\theta(x,y_{j})}(\frac{\partial\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)M(x,y_{1},y_{2})}{\partial\theta(x,y_{i})})| \displaystyle= \displaystyle|\frac{\partial}{\partial\theta(x,y_{j})}\left(\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)(\delta_{y_{1}y_{i}}+\delta_{y_{2}y_{i}}-2\pi_{\theta}(y_{i}|x))M(x,y_{1},y_{2})\right)| \displaystyle= \displaystyle|\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)(\delta_{y_{1}y_{i}}+\delta_{y_{2}y_{i}}-2\pi_{\theta}(y_{i}|x))(\delta_{y_{1}y_{j}}+\delta_{y_{2}y_{j}}-2\pi_{\theta}(y_{j}|x))M(x,y_{1},y_{2}). Based on Lemma F.6 . We have: \displaystyle\left|\sum_{x\in\mathbb{X}}\mathcal{D}(x)\sum_{y_{i},y_{j}\in\mathbb{Y}}z(x,y_{i})\frac{\partial^{2}\sum_{y_{1},y_{2}\in\mathbb{Y}}\pi_{\theta}(y_{1}|x)\pi_{\theta}(y_{2}|x)M(x,y_{1},y_{2})}{\partial\theta(x,y_{i})\partial\theta(x,y_{j})}z(x,y_{j})\right|\leq 16\log 2\cdot\|z(\cdot,\cdot)\|_{2}^{2} (170) This inequality is because we can expand the absolute value operation in the second-to-last line into nine terms, and these nine terms can be deduced to be less than \|z(x,\cdot)\|_{2}^{2} or 2\|z(x,\cdot)\|_{2}^{2} using some existing conclusions. The relevant conclusions are: \pi_{\theta}^{\top}z(x,\cdot)\leq\|\pi_{\theta}\|_{1}\|z(x,\cdot)\|_{\infty}=\|z(x,\cdot)\|_{\infty}\leq\|z(x,\cdot)\|_{2} , \pi_{\theta}^{\top}z^{2}(x,\cdot)\leq\|z(x,\cdot)\|_{2}^{2} , \|\pi_{\theta}\|_{\infty}\leq 1 , \|z^{2}(x,\cdot)\|_{1}=\|z(x,\cdot)\|_{2}^{2} and |(\pi_{\theta}^{\top}z(x,\cdot))^{2}|\leq\|z(x,\cdot)\|_{2}^{2} . Then Eq. 157 is proved. Proof finished.