179 questions
No questions match those filters.
← All questions
Training & Fine-tuningHard· GRPO· Gradient Calculation
What goes wrong if you accidentally differentiate throu...
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 plansWhen πold is not detached and shares the same parameter tensor as πθ, the ratio πθ/πold effectively becomes 1. By the chain rule, the gradient of this ratio with respect to θ is zero, rendering the clipping mechanism useless. While the KL divergence term may still produce gradients that allow training to appear functional, the fundamental trust region guarantee of the algorithm is destroyed.