Reinforcement learning
Training a model by letting it act, scoring what it did, and nudging it toward higher-scoring behavior.
Also called: RL.
Supervised learning shows a model the right answer. Reinforcement learning only tells it how good its own answer was.
For language models, the model samples completions, a reward function scores them, and a policy-gradient update makes the high-reward completions more likely.
That is why the reward is the product: the model gets better at whatever the reward actually measures, not what you meant it to measure.
In the compiled loop
Every compiled file is one RL loop: sample → score → forward_backward → optim_step → save_state.
Build it: Verifiable outcome · Specialized Tool Agents · Inkling 2 Mini (free tier)