The words you need to train a language model with rewards. Each entry says what the term means, where it shows up in a file this compiler writes, and links to a loop you can run.
Reinforcement learningAlso: RLTraining a model by letting it act, scoring what it did, and nudging it toward higher-scoring behavior.Reward modelAlso: RM · learned rewardA model trained to predict how good an output is, used as the reward when no exact checker exists.VerifierAlso: verifiable reward · RLVR · checkerCode that checks an output and returns a reward — tests pass, the proof compiles, the answer matches.Reward hackingAlso: specification gaming · reward gamingWhen a model raises its reward without doing the task — it exploits the scorer instead of solving the problem.Policy gradientThe family of RL updates that push up the probability of actions in proportion to how much better than expected they scored.GRPOAlso: group relative policy optimization · group baselineSample several answers to the same prompt and score each one against the group’s average instead of training a value model.Importance sampling lossA policy-gradient loss that corrects for the gap between the model that generated the samples and the model being updated.DPOAlso: direct preference optimization · preference pairsTrain directly on chosen-vs-rejected pairs, skipping the separate reward model and RL loop of classic RLHF.RLHFAlso: reinforcement learning from human feedbackCollect human preference rankings, train a reward model on them, then run RL against that reward model.LoRAAlso: low-rank adaptation · adapterTrain a small add-on matrix instead of the whole model, so fine-tuning is cheap and the result is a portable file.On-policy distillationAlso: SDFT · self-distillationThe model learns from teacher-corrected versions of its own samples, so it picks up new behavior without forgetting old skills.Looped transformerAlso: recurrent depth · weight-shared layersA transformer that runs some of its layers more than once per token, adding reasoning depth without adding parameters.Chain-of-thought monitorabilityAlso: CoT monitoringHow much you can learn about what a model is doing by reading the reasoning it writes out.