Multiple Choice

A key step in an alignment algorithm involves re-expressing the preference probability of a chosen response (ya\mathbf{y}_a) over a rejected response (yb\mathbf{y}_b) for a given input (x\mathbf{x}). The derivation is as follows:

Pr(yaybx)=Sigmoid(β(logπθ(yax)πθref(yax)+logZ(x))β(logπθ(ybx)πθref(ybx)+logZ(x)))=Sigmoid(βlogπθ(yax)πθref(yax)βlogπθ(ybx)πθref(ybx))\begin{align*} \text{Pr}(\mathbf{y}_a \succ \mathbf{y}_b|\mathbf{x}) &= \text{Sigmoid}\left(\beta\left(\log \frac{\pi_{\theta}(\mathbf{y}_a|\mathbf{x})}{\pi_{\theta_{\text{ref}}}(\mathbf{y}_a|\mathbf{x})} + \log Z(\mathbf{x})\right) - \beta\left(\log \frac{\pi_{\theta}(\mathbf{y}_b|\mathbf{x})}{\pi_{\theta_{\text{ref}}}(\mathbf{y}_b|\mathbf{x})} + \log Z(\mathbf{x})\right)\right) \\ &= \text{Sigmoid}\left(\beta \log \frac{\pi_{\theta}(\mathbf{y}_a|\mathbf{x})}{\pi_{\theta_{\text{ref}}}(\mathbf{y}_a|\mathbf{x})} - \beta \log \frac{\pi_{\theta}(\mathbf{y}_b|\mathbf{x})}{\pi_{\theta_{\text{ref}}}(\mathbf{y}_b|\mathbf{x})}\right) \end{align*}

Based on this mathematical simplification, what is the most significant practical consequence for the model training process?

0

1

Updated 2025-10-02

Contributors are:

Who are from:

Tags

Ch.4 Alignment - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science

Related