179 questions
No questions match those filters.
← All questions
Training & Fine-tuningHard· Reinforcement Learning· Policy Gradient· Mathematics
Why does vanilla policy gradient have high variance, an...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansThe gradient of the objective function is derived via the log-derivative trick as ∇θJ = E[R∇θ log πθ]. Subtracting a baseline B(s) that depends only on the state is bias-free because the expectation of the gradient of the log-probability over actions is zero. This technique effectively centers the rewards, reducing variance in the gradient estimate.