General RL
×Stage · GLM-5
RL for correctness, emotional intelligence and task-specific quality, rewarded by rules, outcome reward models and generative reward models, with human-written responses as anchors.
GRPO, group relative policy optimization
For each prompt the model writes a group of answers; each is scored and compared with the group’s mean, and the model is moved toward the answers above it, by a step clipped near the policy that wrote them and with a penalty for leaving a reference model.
DeepSeek-R1 paper, eq. 1 to 3, and DeepSeek-V3 report, eq. 26 to 28; for one prompt, in the atlas’s letters w, w̄, D
What the letters mean
: answer ’s probability under the model being trained over its probability under the policy that wrote it; : its reward less the group’s mean, over the group’s standard deviation; : a KL penalty to the reference model; : the group size; , : hyper-parameters. Maximized.
§3.4 names no algorithm for General RL; the report’s RL backbone of §3.2, GRPO with IcePop and no KL term, is drawn, as a reading.
- Human anchors
- Expert human-written responses as stylistic and qualitative anchors
Undisclosed settings 2
Not disclosed Steps · Learning rate
Why
Optimizing on model-written responses alone converges to recognizably model-like text, verbose and formulaic; human-written responses pull the style back toward natural writing. GLM-5 report §3.4, p. 13
What the terms meanGenerative reward model
- Generative reward model
- A language model used as a judge: it writes an assessment of a response, here against rubrics, and gives a score or a verdict.
All settings5
- Objectives
- Foundational correctness, emotional intelligence and task-specific quality (writing, text processing, question answering, role-play, translation)
- Rewards
- Rule-based functions, outcome reward models and generative reward models, blended
- Human anchors
- Expert human-written responses as stylistic and qualitative anchors
- RL backbone
- The report’s RL algorithm, GRPO with IcePop (§3.2)derived§3.4 names no algorithm; §3.2’s backbone is drawn, as a reading.
- Indexer
- Frozen by default throughout the RL stages, its top-k by the deterministic torch.topk; non-deterministic top-k operators degraded RL drastically within a few steps
Sources3
- GLM5-2602.15763v2.pdf, p. 13Objectives, Rewards, Human anchors, RL backbone
- GLM5-2602.15763v2.pdf, p. 11RL backbone
- GLM5-2602.15763v2.pdf, p. 12Indexer