Learn Before
Effect of Temperature Parameter on Reward-Weighted Distributions
In a reward-weighted probability distribution, the positive temperature parameter controls the trade-off between maximizing the reward and staying close to the reference distribution. Decreasing (moving closer to 0) amplifies the scaled reward signal, causing the distribution to heavily favor high-reward outputs. Conversely, increasing diminishes the reward's exponential impact, causing the resulting distribution to more closely mirror the original reference distribution.
0
1
Tags
Ch.4 Alignment - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
In the formula for a reward-weighted probability distribution, the parameter
βacts as a temperature or inverse scaling factor. How does decreasing the value ofβ(i.e., moving it closer to 0, but remaining positive) affect the final distributionπ*?Applying a Reward Function to a Language Model's Output
Target Policy as a Reward-Weighted Distribution
In the context of a reward-weighted probability distribution, defined as , consider a scenario where a specific output, , receives a very high reward, . However, the reference distribution assigns a probability to this output that is extremely close to zero, i.e., . What will be the approximate probability of in the final distribution, ?
Effect of Temperature Parameter on Reward-Weighted Distributions