Reinforcement LearningThe Practice Arcade · episodes
The modelFollow one episode from a start state to a nudged policy, in a practice arcade with a scoring room and a press room behind it.
- Place the agent
- Play the turns
- Weigh the reward
- Subtract the baseline
- Nudge the policy
ExplainsReinforcement learning trains a model by trial and reward. The model acts, a score comes back, and behaviour that scored well is made more likely next time. It can teach skills that nobody wrote examples for, and the model learns exactly what the score rewards, intended or not.
AnalogyTeaching a dog a trick with treats. Nobody shows the dog what to do; it tries things, and whatever earned a biscuit happens more often. If biscuits come for sitting near the mat instead of on it, near the mat is what the dog learns.
Play it →RL with Verifiable RewardsThe Training Gym · tasks
The modelFollow one task from a trace pulled from the logs to a stronger model's exam, in a GPU cluster hall with a drill floor and a coach's booth.
- Plant the answer
- Write the reward
- Deal the attempts
- Start the attempt
- Check the end state
- Stamp the reward
ExplainsRL with verifiable rewards trains a model on tasks a program can check. Each task is tried many times in a sandbox, a checker scores every attempt, and the weights move toward what beat the group. Tasks are kept at the edge of what the model can do, and the result is tested on tasks it never saw.
AnalogyPractising free throws with a hoop instead of a coach's opinion. The ball goes in or it does not, the count is free and never kind, and a thousand shots a day slowly change the arm. A bent hoop would teach a bent shot just as faithfully.
Play it →RL EnvironmentsThe Practice-World Workshop · environments
The modelFollow one environment from a professional's real project to a hub shelf a training run can draw on, in a practice-world workshop with a proof room behind it.
- Outline the project
- Fill the data room
- Clone the apps
- Set the rubric
- Score ten rollouts
- Shelve on the hub
ExplainsAn RL environment is a practice task with a grader attached: a simulated app, a codebase or a game where a model can act and be scored. Models train by running through huge numbers of them. Their quality limits what the model learns, so building them has become a business of its own.
AnalogyA flight simulator with the instructor's scorecard built in. Trainee pilots crash a thousand times at no cost, and each landing is marked. If the simulator's runway is drawn in the wrong place, every graduate lands confidently in the wrong place.
Play it →Reasoning ModelsThe Reckoning Room · questions
The modelFollow one question from a hard question at the door to an answer and a sealed trace, in a reckoning room where one hard question is worked out on a tape.
- Set the effort
- Spool the thinking
- Check the working
- Seal the trace
- Hand out the answer
ExplainsA reasoning model is trained to work through a problem step by step before giving its answer. It writes out intermediate thinking, checks it and only then replies. This raises accuracy on hard problems, and costs more time and tokens for every answer.
AnalogyA student told to show their working. Instead of blurting the first number that comes to mind, they write each line of the sum, catch the slip on line three and correct it. The mark improves and the exam takes longer.
Play it →Test-Time ComputeThe Answer Bureau · token budgets
The modelFollow one token budget from a question with no price to the bill for a picked answer, in a metered answer bureau, with a draft room behind its counter.
- Set the budget
- Draw the drafts
- Score the drafts
- Tally the votes
- Settle the bill
ExplainsTest-time compute is the extra work a model does while answering: thinking longer, trying several answers, checking them. The same model gives better results when it is allowed to spend more. That makes quality something to buy per question, traded against cost and waiting time.
AnalogyA chess player with a clock. In a blitz game they play the first decent move; given an hour, they look ten moves deep and find a stronger one. Nothing about the player changed, only the minutes, and every minute goes on the bill.
Play it →RLHF & Preference OptimizationThe Rating Hall · reply pairs
The modelFollow one reply pair from two replies to one prompt to a policy tuned toward the winner, in a rating hall, with a reward room and a tuning press behind it.
- Draw two replies
- Pick the better reply
- Fit the scores
- Push toward the winner
- Ship on a clear win
ExplainsRLHF tunes a model toward the outputs that people prefer. Raters compare pairs of answers, a second model learns to predict which they would pick, and the first is trained to score well with it. This is how a raw model becomes a polite, helpful assistant, and also how it learns to please.
AnalogyA stand-up comic working new material in small clubs. Each night two versions of a joke go out, the louder laugh wins, and the act drifts toward whatever the room rewards. After a year it is polished, and shaped as much by what crowds clap for as by what is true.
Play it →DistillationThe Still House · lessons
The modelFollow one lesson from a question for the teacher to a student checked against its base, in a still house with the teacher vat and the student bench.
- Load the questions
- Draw the answer
- Press the trace
- Pour the student's try
- Mark each token
- Compare with the base
ExplainsDistillation teaches a small model from a large one's answers and reasoning. The student writes its own tries, the teacher marks them, and the student is compared with what it was before. Done well it keeps much of the quality at a fraction of the cost; too few lessons leave it worse than it started.
AnalogyA still house: the large vat is tapped for its best spirit, which is pressed whole into a small bottle. The bottle is tasted against the plain spirit it started as, and a thin pour tastes worse.
Play it →Fine-TuningThe Adapter Bay · labeled pairs
The modelFollow one labeled pair from a prompt with its answer beside it to a few changed weights by a frozen base, in a GPU training bay with a frozen-weights vault and a checkpoint library.
- Sort reflex from fact
- Set the rank
- Freeze the base
- Train the few weights
- Weigh the old answers
- Swap in the adapter
ExplainsFine-tuning continues the training of an existing model on a smaller set of examples for one task or style. The model keeps most of what it knows and shifts toward the new data. It buys behaviour that prompting cannot reach, at the cost of data, compute and one more model to maintain.
AnalogyA trained chef spending a month at one restaurant. They arrive able to cook; the month teaches this house's dishes and plating. It is far quicker than raising a chef from nothing, and they may leave a little rustier at everything else.
Play it →Synthetic DataThe Press House · examples
The modelFollow one example from a seed document to a slot in the training mix, in a synthetic data press house with a seed library beside it.
- Pull the best seed
- Draw the difficulty
- Rephrase the seed
- Blend into the mix
ExplainsSynthetic data is training data written by models instead of collected from people. A model generates examples, a filter or checker keeps the good ones, and they are used to train the next model. It fills gaps where real data is scarce, and unchecked it feeds a model its own mistakes.
AnalogyA language teacher who writes her own exercise sheets when the textbook runs out. She can produce a hundred pages overnight on exactly the grammar the class is weak at. If nobody proofreads them, her favourite error is on every sheet and soon in every pupil.
Play it →Self-Play & Self-ImprovementThe Sparring Hall · problems
The modelFollow one problem from an unsolved target to a reward for its setter, in a problem-setters' sparring hall with a sitting pit and a training yard.
- Draft the problem
- Score the draft
- Let the solver try
- Run the unit tests
- Train the solver
- Pay the setter
ExplainsSelf-improvement is a model getting better from practice it creates for itself. It plays against copies of itself or sets its own problems, and trains on the results. At the far end is recursive self-improvement, where AI does the research that makes the next AI better.
AnalogyTwo fencers of equal skill who only ever spar with each other. Each new trick one invents forces the other to find a counter, so both climb without a teacher. They get very good at beating each other, and nobody knows how good until a stranger walks into the hall.
Play it →Continual LearningThe Records Annex · failures
The modelFollow one failure from a bad session in production to an update a person reviews, in a support centre's records annex, with a replay range behind it.
- Pull the failed session
- Mark what went wrong
- Lift it into a replay
- Route it to a layer
- Train the update
- Ship it for review
ExplainsContinual learning means a model keeps learning after it is deployed instead of staying frozen at its training date. New experience updates what it knows without a full retraining. The hard part is adding the new without overwriting the old.
AnalogyAn almanac printed once a year beside a clerk's ledger that is written in every day. The almanac is out of date by spring; the ledger always has this morning's entry. But the ledger has a fixed number of pages, and the craft is making room for today without rubbing out March.
Play it →