Formula

Bound Function for Policy Probability Ratio

The bound function is a clipping mechanism used in policy gradient methods like Proximal Policy Optimization (PPO). It constrains a value, typically the policy probability ratio, to lie within a specified interval. The function takes three arguments: the value to be clipped, a lower bound, and an upper bound. Its mathematical representation is: bound(πθ(atst)πθref(atst),1ϵ,1+ϵ)\text{bound}\left(\frac{\pi_{\theta}(a_t|s_t)}{\pi_{\theta_{\text{ref}}}(a_t|s_t)}, 1-\epsilon, 1+\epsilon\right) This operation ensures that the policy ratio does not deviate beyond the range [1ϵ,1+ϵ][1-\epsilon, 1+\epsilon], which helps in stabilizing the training process.

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