Where should the KL term go in GRPO, and do you need it

HardConcept20 minRERSMLEPro outline

The question

Should the KL penalty be added to the reward or to the loss? Which estimator would you use? When would you drop it entirely?

What the interviewer is looking for

  • Explains the difference between KL shaped rewards and a KL loss term
  • Knows common sample estimators and their bias and variance
  • Explains why a reference model matters less for verifiable reward tasks
  • Mentions the memory and compute cost of a reference model
  • Grounds the answer in what was seen in an actual run

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Moonshot AI (Kimi) question type: GRPO design choices: group size, advantage normalisation, what to do when every sample in a group is correct, where the KL term goes.

Reported in: jishuzhan.net, mj.mianlingai.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Moonshot AI (Kimi) question.