Formula

Approximated Policy Divergence Penalty Formula

In practice, the policy divergence penalty is approximated by summing the differences in log-probabilities for each action-state pair over a trajectory, rather than using the log-probability of the entire trajectory. This simplification ignores the environment's dynamics. The formula is: Penalty=t=1Tlogπθ(atst)t=1Tlogπθref(atst)\text{Penalty} = \sum_{t=1}^{T} \log \pi_{\theta}(a_t|s_t) - \sum_{t=1}^{T} \log \pi_{\theta_{\text{ref}}}(a_t|s_t)

Image 0

0

1

Updated 2025-10-08

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